All Products
Search
Document Center

ApsaraDB for Memcache:Use the password-free access feature

Last Updated:Feb 28, 2025

ApsaraDB for Memcache allows you to enable the password-free access feature. After you enable the feature for an ApsaraDB for Memcache instance, the applications whose IP addresses are added to the IP address whitelist of the instance 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.

Usage notes

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

  • By default, you cannot use a password to 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 the password-free access feature.

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

  • We recommend that you configure an IP address whitelist before you enable the password-free access feature. For more information, see Configure an IP address whitelist.

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 resides.

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

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

  5. Click the Logon without password tab.

  6. On the tab that appears, select On for Logon without password.

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

FAQ

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

    For security purposes, if you add the 0.0.0.0/0 entry to the IP address whitelist, the password-free access feature does not take effect. You must check whether the 0.0.0.0/0 entry is added to the IP address whitelist. If the 0.0.0.0/0 entry is added to the IP address whitelist, remove the entry from the IP address whitelist.

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

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