To connect a client to a Tair (Redis OSS-compatible) instance, you need three values: the hostname (endpoint), the port number, and the instance ID. All three are available on the Instance Information page of the Tair console.
Prerequisites
Before you begin, ensure that you have:
Added the client's IP address to a whitelist of the instance. See Configure whitelists
Find the endpoint and instance ID
Log in to the Tair console. In the top navigation bar, select the region where your instance resides. Find the instance and click its ID.
On the Instance Information page, find the instance ID in the Basic Information section.
In the Connection Information section, view the available endpoints and port numbers.
If you want to connect to the instance over the Internet, apply for a public endpoint first. See Apply for a public endpoint.
Public endpoints are not available for cloud-native cluster instances running in direct connection mode. See View endpoints for details.
Connect to the instance
After you have the hostname and port, connect to the instance. For a full walkthrough, see Use redis-cli to connect to an instance.
Applicable scope
Tair (Redis OSS-compatible)