All Products
Search
Document Center

Elastic Compute Service:Overview

Last Updated:Mar 27, 2024

You can use launch templates to quickly create Elastic Compute Service (ECS) instances. A launch template contain ECS instance configurations, except passwords. The configurations include the key pair, Resource Access Management (RAM) role, instance type, and network configurations. Each launch template can have multiple versions, and each version can have different parameters. You can use any version of a specific launch template to quickly create instances. This improves user experience and the efficiency of instance creation. This topic describes the features of launch templates, the billing of launch templates, and the operations that can be performed on launch templates.

Features

You can create a launch template that contains the configuration information required to create instances. All configurations in the template are optional. This improves the elasticity and scalability of instances to meet custom requirements in various scenarios.

You cannot modify the configurations of a launch template after the launch template is created. However, you can create multiple versions for the launch template and specify different parameters for each version to manage instance configurations. You can use any version of a launch template to create instances.

Billing

You are not charged for launch templates.

However, you may be charged when you use launch templates to deploy ECS resources. For information about the billing of ECS resources, see Billing overview.

Operations

Use the ECS console

Call an API operation

Operation

Description

CreateLaunchTemplate

Creates a launch template.

CreateLaunchTemplateVersion

Creates a version for a launch template.

DescribeLaunchTemplates

Queries one or more available launch templates.

DescribeLaunchTemplateVersions

Queries the versions of a launch template.

ModifyLaunchTemplateDefaultVersion

Changes the default version of a launch template.

DeleteLaunchTemplate

Deletes a launch template.

DeleteLaunchTemplateVersion

Deletes a version of a launch template.

References

For information about more methods that can be used to batch create multiple ECS instances, see Provisioning methods of ECS instances.