This topic describes how to create a launch template and the precautions you need to take note of when you create a launch template.
Background information
- You can create up to 30 launch templates in each region.
- When you create a launch template, all parameters are optional. However, if a launch template does not contain required parameters such as the instance type or image, you must specify these parameters when you create an instance by using the launch template.
- You cannot modify a launch template that is created. However, you can create new versions for the launch template.
Create a launch template from the ECS console
You can create launch templates for future use from the ECS console.
You can also use developer tools such as Alibaba Cloud CLI, OpenAPI Explorer, and Alibaba Cloud SDKs to call the CreateLaunchTemplate operation to create launch templates.
Create a launch template on the ECS buy page
If you want to create an instance and save its configurations for future use, you can create a launch template when you create the instance.
- Go to the Elastic Compute Service product homepage. Click Buy Now.
- On the Custom Launch tab that appears, configure the parameters as instructed.
- In the Preview step, click Save as a Launch Template.
- In the dialog box that appears, click New Template. Enter a template name and a template version description. Click Save.
- In the Created dialog box that appears, click View Template to go to the ECS console and view the launch template that you have created.