• Auto Scaling

  1. Help Center
  2. Auto Scaling
  3. User Guide
  4. AS Management
  5. AS Configurations
  6. Using an Existing ECS to Create an AS Configuration

Using an Existing ECS to Create an AS Configuration

You can use an existing ECS to rapidly create an AS configuration. In such a case, the parameter settings, such as the vCPUs, memory, image, disk, and ECS type, in the AS configuration are the same as those of the selected ECS by default.


  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Computing, click Auto Scaling. In the navigation pane on the left, choose Instance Scaling.
  4. Click Create AS Configuration.
  5. Set the parameters for the AS configuration. Table 1 describes the AS configuration parameters.
    Table 1 AS configuration parameters



    Example Value


    Specifies the region where the AS configuration resides.



    Specifies the name of an AS configuration.


    Configuration Template

    Select Use specifications of an existing ECS and click Select ECS. The type, vCPUs, Memory, Image, and Disk of the ECSs created based on the AS configuration will be the same as those of the ECS you select.

    Use specifications of an existing ECS


    A static public IP address bound to an ECS in a VPC. Using the EIP, the ECS provides services externally.

    The following options are provided:
    • Do not use

      An ECS without an EIP cannot access the Internet. However, it can still be used as a service ECS deployed in a cluster or on a private network.

    • Automatically assign

      An EIP with exclusive bandwidth is automatically assigned to each ECS. The bandwidth size is configurable.

    Automatically assign

    Login Mode

    A key pair is used for authenticating the ECS. In this mode, create or import a key pair on the Key Pair page.


    If you use an existing key, make sure that you have saved the key file locally. Otherwise, logging in to the ECS will fail.


    Advanced Settings

    This allows you to configure File Injection and User Data Injection.

    You can select Do not configure or Configure now.


    File Injection

    Enables the system to automatically inject a script file or other files into a specified directory on an ECS when you create the ECS. This configuration is optional.

    • For Linux, specify the path for storing the injected file, for example /etc/foo.txt.
    • For Windows, the injected file is automatically stored in the root directory of disk C. You only need to specify the file name, such as foo. The file name can contain only letters and digits.

    For details, see Elastic Cloud Server User Guide.


    User Data Injection

    Enables the ECS to automatically inject user data when the ECS starts for the first time. This configuration is optional.

    For details, see Elastic Cloud Server User Guide.


  6. Click Create Now.
  7. If you want to use the newly created AS configuration, add it to the AS group. For details, see section Replacing an AS Configuration in an AS Group.
  8. (Optional) Enable the AS group.

    If the AS group is in Disabled state, enable it. For details, see section Enabling an AS Group.