Creating Launch Configuration

Last Updated At: 2025-11-26 09:52:52

A launch configuration defines the configuration information for AS's CVM instances, including the CVM's image, storage, network, security groups, log-in methods, and other configuration information.

Prerequisites

Logged in to the AS console successfully.

Directions

Selecting Region

Select the region of the cloud server you want to bind to the scaling group.

Selecting a Model

  1. In the left sidebar, click Launch Configuration to enter the Launch Configuration Management page.
  2. Click Create, and the Create Launch Configuration page pops up.
  3. In the 1. Select the region and model tab, fill in the launch configuration name, select the availability region, and choose the model.
    • Configuration Name: Define it yourself, and fill in the configuration name.
    • Instance: Choose the same model of cloud server as that of the scaling group you want to bind to.

Selecting Image

A launch configuration can be created using a public image or custom image. It is recommended to use a custom image with a pre-deployed environment for the following reasons:

  • If a public image is selected, the instances scaled out have a clean OS, and you still need to deploy the application environment manually.
  • If a custom image is selected, by creating an image from a CVM instance with a pre-deployed environment and then using this image to batch create CVM instances, the newly created CVM instances have the same software environment as the previous CVM instance, thus achieving the purpose of batch deployment.
  • Image: The choices of images include public images and custom images, with custom images recommended.
    • If a public image is selected, it should have the same operating system as the cloud server the scaling group wants to bind to.
    • If a custom image is selected, it needs to be made by the user through the cloud server's image.
  • Operating System: You can select from operating systems such as CentOS, CoreOS, Debian, SUSE, and Windows.
  • System Architecture: You can choose between 64-bit and 32-bit.
  • Image Version: You can select the image version.

    Note:

    • Differences between Public Images and Custom Images: If you select a public image, the scaled-out cloud service instances are not activated and cannot be used directly; manual deployment of the application environment is required. If you select a custom image by creating an image from a CVM instance with an already deployed environment, this image will be used as the operating system when batch-creating CVM instances. After the CVM instance is created, it will have the same software environment as the previous CVM instance, achieving the purpose of batch deployment of the software environment.

Selecting Storage and Bandwidth

In the 3. Select Storage and Bandwidth tab, set up the disk and network.

Note:
If a CBS is chosen for the system disk, then the data disk can be a data disk snapshot.

For users with a large amount of data, data disks are often used to store data. When a data disk snapshot is created, users can use this snapshot file to quickly clone multiple disks, achieving rapid deployment of servers.
When AS automatically adds a new cloud service instance, if a data disk snapshot is specified in the launch configuration, CBS can support auto-mounting a data disk containing set data after the cloud service instance starts, meeting the need for automatic data copying.
If a data disk snapshot is specified in the launch configuration, ensure the data disk can be automatically mounted correctly so that the scaling group can auto-scale successfully. You need to perform some operations on the original instance that made the data disk snapshot before setting AS to support automatic data disk mounting when a new cloud service instance is started.

Setting Information

  1. On the 4. Set Security Group and CVM page, select the log-in method and security group.
    CVM instances added through the AS service are, by default, free to enjoy Cloud Security and Cloud Monitor services.
  2. Click Next: Confirm Configuration Inoformation to check and confirm the information that has been configured.
  3. Click Create Launch Configuration.
    After the configuration is completed, this entry will be displayed in the launch configuration list on the page.