All Products
Search
Document Center

ApsaraDB for Memcache:Password-free access

Last Updated:Aug 08, 2023

ApsaraDB for Memcache supports password-free access. After you enable this feature for an ApsaraDB for Memcache instance, the applications whose IP addresses are added to the whitelist can access the instance without the need to provide a password. This does not compromise data security, and allows you to use third-party applications to access ApsaraDB for Memcache in a more convenient manner.

Precautions

  • The ApsaraDB for Memcache instance for which password-free access is enabled must belong to the same region as the Elastic Compute Service (ECS) instance that you want to connect to ApsaraDB for Memcache.

  • By default, you cannot access ApsaraDB for Memcache over a text-based protocol. If you want to access ApsaraDB for Memcache over a text-based protocol, you must enable password-free access.

  • Before you enable password-free access for an ApsaraDB for Memcache instance, you must remove 0.0.0.0/0 from the IP address whitelist of the instance. Otherwise, the password-free access feature cannot take effect.

  • We recommend that you configure the whitelist before you enable password-free access. For more information, see Set IP whitelists.

Procedure

  1. Log on to the ApsaraDB for Memcache console.
  2. In the top navigation bar, select the region in which the instance that you want to manage is deployed.

  3. On the Instances page, find the instance and click its ID.

  4. In the left-side navigation pane, click Whitelist Settings.

  5. Click Logon without password.

  6. On the Logon without password tab, click On.

    This way, password-free access is enabled for the ApsaraDB for Memcache instance. All applications whose IP addresses are added to the whitelist can access the instance without the need to provide a password.

FAQ

  • Why does password-free access fail to take effect after I enable password-free access?

    For security reasons, if you add 0.0.0.0/0 to the whitelist, password-free access does not take effect. Check whether 0.0.0.0/0 is added to the whitelist. If 0.0.0.0/0 is added to the whitelist, remove the CIDR block from the whitelist.

  • Why does password-free access fail to take effect after a minor version upgrade?

    For an ApsaraDB for Memcache instance of the latest version, if you add 0.0.0.0/0 to the whitelist, password-free access does not take effect. This issue does not exist in earlier versions. If you upgrade your instance to the latest version, check whether 0.0.0.0/0 is added to the whitelist. If 0.0.0.0/0 is added to the whitelist, remove the CIDR block from the whitelist.