A launch template is a tool used to quickly create Elastic Compute Service (ECS) instances. The template contains all configurations (excluding passwords) that are used to create ECS instances. The configurations include the key pair, Resource Access Management (RAM) role, instance type, and network settings. Each template can have multiple versions, and different parameters can be configured in each version. You can use any version of a specific template to quickly create instances. This improves efficiency and user experience. This topic describes how to use a launch template to create an ECS instance.
Prerequisites
A launch template or a new version of an existing launch template is created. For more information, see Create an instance launch template and Manage launch template versions.
Bind your credit card or PayPal account. For more information ,see Introduction to AlibabaCloud Payment.
(Optional) If you want to purchase an ECS instance within the Chinese mainland, you must complete real-name verification. For more information, see How do I complete real-name registration?
Procedure
Log on to the ECS console.
In the left-side navigation pane, choose .
On the Launch Templates page, find the template that you want to use and click Create Instance in the Actions column.
You can also select a template ID to view the configurations of the template and click Create Instance in the Actions column.
On the Custom Launch tab, select the template and version. Check all configurations after they are loaded.
NoteIf you want to modify parameters or the selected template does not include the required parameters, click the icon to modify the configurations.
Create an ECS instance.
To create a subscription instance, configure the Duration parameter and select ECS Terms of Service and Product Terms of Service. Click Create Order.
If you select a pay-as-you-go instance, select ECS Terms of Service and Product Terms of Service and click Create Instance.
After the instance is created, go to the Instance page in the ECS console to view the instance.