![]() For more information, see Enable password-free access. If password-free access is enabled for an ApsaraDB for Redis instance deployed in a VPC, a client in the same VPC as the instance can connect to the instance without using passwords. For more information about private endpoints, see Enable the direct connection mode. If you use a private endpoint to connect to an ApsaraDB for Redis instance, you can connect to the instance in the same manner as you connect to an open source Redis cluster. For more information about cluster and read/write splitting instances, see Cluster master-replica instances and Read/write splitting instances. In this mode, you can connect to such an ApsaraDB for Redis instance by using the endpoint of a proxy node in the instance in the same manner as you connect to an ApsaraDB for Redis standard instance. For more information, see Configure whitelists.īy default, cluster and read/write splitting instances run in proxy mode. MacOS: Start Terminal, enter the curl command, and then press Enter.Īdd the public IP address of your on-premises device to a whitelist of the ApsaraDB for Redis instance. Windows: Open Command Prompt, enter the curl ip.me command, and then press Enter. Linux: Open the CLI, enter the curl command, and then press Enter. The following list provides reference methods for obtaining the public IP address of an on-premises device by using commands in different operating systems: The method used to obtain the public IP address of an on-premises device may vary based on your network environment or operation. For more information, see Apply for a public endpoint for an ApsaraDB for Redis instance. If you want to connect to an ApsaraDB for Redis instance over the Internet, you must apply for a public endpoint. For more information, see Configure whitelists.īy default, only internal endpoints are available for ApsaraDB for Redis instances. For more information, see Network FAQ.Īdd the internal IP address of the ECS instance to a whitelist of the ApsaraDB for Redis instance. Obtain the internal IP address of the ECS instance. For information about how to connect to an ApsaraDB for Redis instance from an ECS instance when the instances are deployed in different types of networks, see Connect an ECS instance to an ApsaraDB for Redis instance in different types of networks. For example, the ECS instance belongs to the classic network and the ApsaraDB for Redis instance belongs to a VPC. ![]() The network types of the ECS instance and the ApsaraDB for Redis instance may be different. For more information, see Change the VPC of an ECS instance. If the instances are deployed in different VPCs, you can change the VPC to which the ECS instance belongs.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |