This document describes the COS access methods and the way to determine a private network access. It also provides the connectivity test sample to help you learn more about CVM access to COS.
If you have deployed a service in Tencent Cloud to access COS, different access modes apply to as follows:
To determine whether a CVM accesses COS via a private network, perform the following steps.
nslookup command on the CVM to resolve the COS domain name. If a private IP is returned, the access is over a private network; otherwise, it is over a public network.
nslookupcommand. Assume that
examplebucket-1250000000.cos.ap-guangzhou.myqcloud.comis the address of the destination bucket, run the following command.
In the command output, the
10.148.214.14 IPs indicate that the access to COS is over a private network.
Generally, a private IP takes the form of
100.*.*.*, and a VPC IP takes the form of
169.254.*.*. These two types of IPs indicate a private network access.
See the “Testing connectivity” section in Request Creation Overview for the COS access samples through a public network, access through Tencent Cloud CVMs (classic network) within the same region and access through Tencent Cloud CVMs (VPC) within the same region.