Creating an AS Configuration from an Existing ECS Instance
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 size, type, encryption, and key) in the AS configuration are the same as those of the selected instance by default.
Procedure
- Log in to the management console.
- Under Computing, click Auto Scaling.
- Click Create AS Configuration.
- Set the parameters for the AS configuration. Table 1 lists the AS configuration parameters.
Table 1 AS configuration parameters Parameter
Description
Example Value
Region
A region is where an AS configuration resides.
N/A
Name
Specifies the name of an AS configuration.
N/A
Configuration Template
Choose Use specifications of an existing ECS > Select ECS.
In such a case, the parameter settings, such as the ECS type, vCPUs, memory, image, and disk settings (including size, type, encryption, and key) in the AS configuration are the same as those of the selected instance by default.
Use specifications of an existing ECS
Select ECS
Create an AS configuration using a template consisting of the specifications, image, disks, and security group of an existing ECS.
N/A
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:Automatically assign
Key Pair
A key pair is used for ECS login authentication. If you select this mode, create or import a key pair on the Key Pair page.
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 instance.
N/A
Advanced Settings
This allows you to configure User Data.
You can select Do not configure or Configure now.
N/A
User Data
Enables an ECS to automatically inject user data when the ECS starts for the first time. This configuration is optional. If this function is enabled, the ECS automatically injects user data during its first startup.
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 or other files when you create an ECS instance.
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.
N/A
- Click . The Confirm Specifications page is displayed.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank 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