Tencent Cloud Distributed Cache provides the same access method for both multi-AZ instances and single-AZ instances, offering a private IPv4 address to facilitate client access to the database instance.
Private IPv4 address
A Tencent Cloud Distributed Cache instance has primary/secondary nodes deployed in different AZs, enabling cross-AZ deployment. Subnets in different AZs can be created under the same VPC, and subnets in different AZs are interconnected via the private network by default. The system assigns it a private IPv4 address based on the VPC selected for the instance, and clients can access the instance via this private IPv4 address across the entire region.
The private IPv4 address can mask the failure switchover of the Tencent Cloud Distributed Cache service. When a service node of the Tencent Cloud Distributed Cache fails and triggers a primary-secondary switchover, Tencent Cloud Distributed Cache will automatically update the backend service processes associated with the private IPv4 address in the background, so applications do not need to change the private IPv4 address.
Viewing the private IP of an instance
In instance list, click Instance ID to go to the management page. On the Instance Details page, in the Network Info section, you can view the instance's Private IPv4 Address. Accessing a multi-AZ deployed instance
Use the multi-language SDK to access a Tencent Cloud Distributed Cache instance. For specific operations, see Connecting to an instance. In the case of multiple AZ deployment, to reduce latency for business access to the Tencent Cloud Distributed Cache service, Tencent Cloud Distributed Cache provides the capability of proximity access. For specific operations, see Proximity Access.