Updated on 2024-07-29 GMT+08:00

Creating a DCS Memcached Instance

You can create one or more DCS Memcached instances with the required computing capabilities and storage space based on service requirements.

Creating a DCS Memcached Instance

  1. Log in to the DCS console.
  2. Click in the upper left corner and select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Click Create DCS Instance.
  5. Select a region closest to your application to reduce latency and accelerate access.
  6. Specify the following instance parameters based on the information collected in Identifying Requirements.

    1. Cache Engine:

      Select Memcached.

    2. Instance Type:

      Select Single-node or Master/Standby.

    3. Select an AZ.

      To accelerate access, deploy your instance and your application in the same AZ. To ensure data reliability, deploy them in different AZs.

      If the instance type is master/standby, Standby AZ is displayed. Select a standby AZ for the standby node of the instance.

    4. Specify Instance Specification.

      The remaining quota is displayed on the console.

      To apply to increase quota, click Increase quota below the specifications.

  7. Configure the instance network parameters.

    1. For VPC, select a created VPC, subnet, and specify the IP address.

      You can choose to obtain an automatically assigned IP address or manually specify an IP address that is available in the selected subnet.

    2. Select a security group.

      A security group is a set of rules that control access to ECSs. It provides access policies for mutually trusted ECSs with the same security protection requirements in the same VPC.

  8. Set the instance password.

    • Select Yes or No for Password Protected.
      • Password-free access carries security risks. Exercise caution when selecting this mode.
      • After the instance is created, you can click reset its password. For details, see Changing Password Settings for DCS Memcached Instances.
      • If password-free access is disabled, DCS Memcached instances must be accessed using the Memcached binary protocol and through SASL authentication.
    • Username required for accessing the new DCS instance. The username must meet the following requirements.

      This parameter is displayed only if password-protected access is enabled.

      • Cannot be left blank.
      • Must start with a letter.
      • Can contain 1 to 64 characters.
      • Must contain only letters, digits, hyphens (-), and underscores (_).
    • Password and Confirm Password: These parameters indicate the password of accessing the DCS Memcached instance, and are displayed only when Password Protected is set to Yes.

      For security purposes, if password-free access is disabled, the system prompts you to enter an instance-specific password when you are accessing the DCS Memcached instance. Keep your instance password secure and change it periodically.

  9. Choose whether to enable Auto Backup.

    This parameter is displayed only when the instance type is master/standby. For more information on how to configure a backup policy, see Backing Up and Restoring DCS Instances.

  10. Enter the number of instances to be created.
  11. Enter an instance name and select an enterprise project.

    The instance name can contain 4 to 64 characters.

  12. Click More Settings to configure more parameters.

    1. Enter a description of the instance.
    2. Specify tags.

      Tags are used to identify cloud resources. When you have many cloud resources of the same type, you can use tags to classify cloud resources by dimension (for example, by usage, owner, or environment).

  13. Click Next.

    The displayed page shows the instance information you have specified.

  14. Confirm the instance information.
  15. After the new DCS instance has been created, return to the Cache Manager page to view and manage your DCS instances.

    1. It takes 5 to 15 minutes to create a DCS instance.
    2. After a DCS instance has been successfully created, it enters the Running state by default.