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.
Run the 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.
nslookup
command. Assume that examplebucket-1250000000.cos.ap-guangzhou.myqcloud.com
is the address of the destination bucket, run the following command.nslookup examplebucket-1250000000.cos.ap-guangzhou.myqcloud.com
In the command output, the 10.148.214.13
and 10.148.214.14
IPs indicate that the access to COS is over a private network.
Note:Generally, a private IP takes the form of
10.*.*.*
or100.*.*.*
, and a VPC IP takes the form of169.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.
Was this page helpful?