Creating an AS Configuration from an Existing ECS
Scenarios
You can use an existing ECS instance to rapidly create an AS configuration. In such a case, the parameter settings, such as the ECS type, vCPUs, memory, image, and disk settings (including the size, encryption, key and type) in the AS configuration are the same as those of the selected ECS instance by default.
Procedure
- Log in to the AS console.
- Click Create AS Configuration.

- Set the parameters for the AS configuration. Table 1 lists the AS configuration parameters. Figure 1 Setting AS configuration parameters

Table 1 AS configuration parameters Parameter
Description
Example Value
Region
Select the region where the AS configuration is created. Resources in different regions cannot communicate with each other over an intranet. For low latency and fast access, select a region close to where your services will be provided.
-
Name
Specifies the AS configuration name. The name consists of 1 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).
-
Configuration Template
Choose Use existing ECS > Select ECS.
In such a case, the parameter settings, such as the ECS type, vCPUs, memory, image, and disk settings (including the size, type, encryption, and key) in the AS configuration are the same as those of the selected ECS instance by default. If the selected ECS is created on a Dedicated Host (DeH), the ECS type, vCPUs, memory, image, and disk settings (including size, type, encryption, and key) are the same as those of the selected ECS.
Use existing ECS
EIP
An EIP is 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 or deployed in a cluster on a private network.
- Automatically assign
An EIP with a dedicated bandwidth is automatically assigned to each ECS. The bandwidth size is configurable.
NOTE:If you select Automatically assign, specify EIP Type, Billed By, and Bandwidth. The billing items vary depending on the EIP billing mode. For details, see EIP Billing Overview.
Automatically assign
Login Mode
An ECS can be authorized using a key pair or a password.- Key pair
A key pair is used for ECS login authentication. If you select this mode, create or import a key pair first. For details about how to create a key pair, see Creating a Key Pair on the Management Console.
NOTE:If you use an existing key, make sure that you have saved the key file locally. Without the key, you will not be able to log in to your ECS.
- Password
The initial password of user root (for Linux) or user Administrator (for Windows) is used for authentication. You can log in to an ECS instance using a username and password combination.
Admin@123
Advanced Settings
This allows you to configure User Data and ECS Group.
You can select Do not configure or Configure now.
-
User Data
Injects user data automatically into an ECS when the ECS starts for the first time. This configuration is optional. If this function is enabled, user data will be automatically injected into an ECS upon its first startup.
For details, see Elastic Cloud Server User Guide.
The following two methods are available:
- As text: allows you to enter the user data in the text box below.
- As file: allows you to inject a script file or other files when you create an ECS. NOTE:
- For Linux, if you use password authentication, this function is not supported.
- If the selected image does not support user data injection, this function is not supported.
-
ECS Group
An ECS group allows you to create ECSs on different hosts to improve service reliability. For details about how to create ECS groups, see Managing ECS Groups.
-
- Do not use
- Click Create Now.
The system displays a message indicating that the AS configuration is successfully created. Go back to the AS configuration page to view the created AS configuration.
Related Operations
If you want to use the newly created AS configuration, add it to the AS group. For details, see Changing the AS Configuration for an AS Group.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot