All Products
Search
Document Center

CloudOps Orchestration Service:ECS image deployments

Last Updated:Dec 24, 2025

Use this deployment type to publish an application from an Elastic Compute Service (ECS) image.

How it works

Important
  • If you deploy to an application group that is an Auto Scaling (ESS) group, scaling activities are paused during the deployment. They automatically resume after the deployment finishes, whether it succeeds or fails.

  • When you publish, the system directly replaces the image of the ECS instances in the application group. To preserve the current image, create a custom image as a backup before you publish.

  1. Create and publish the deployment.

    Configure the application source file, start script, and stop script for the deployment.

    Create a release task, select a release mode, and publish the deployment to the target application group.

  2. Automated deployment flow.

    1. The system obtains the deployment information, including the region and ID of the ECS image.

    2. The system automatically replaces the image of the ECS instances in the application group with the specified ECS image. If the deployment uses different images for different regions, the system selects the correct image based on the region of the instance to complete the deployment.

Procedure

  1. Create an application and import Elastic Compute Service (ECS) instances.

    1. If you do not have an ECS instance, create one that runs a Linux operating system from the ECS console - Custom Launch page.

    2. Go to the ECS console - Application Management page, click Create from Existing Resources, create an application and an application group, and import the ECS instance into the application group.

  2. Create a deployment.

    1. Go to the ECS console - Application Management page. On the My Applications tab, click the name of the target application.

    2. On the application product page, select the Deployment tab, and then click Create Deployment.

    3. On the Create Deployment page, set RevisionType to ECS Image. Set the parameters and click OK.

      Under ECS Image ID, click Add to select the region and ID of the image. For example, the BT-Panel ECS Image from the Marketplace (the image ID is available at the bottom of the image details page).

      To deploy in multiple regions, add the corresponding image for each region here.
  3. Return to the deployment list. Find the deployment that you created and click Publish. Select the target group and click OK to start the deployment.

  4. Verify the result.

    1. Go to the details page of the target instance. Click Connect and select Workbench. Follow the prompts on the page to log on to the terminal.

    2. Execute the bt default command. If the command returns the internal and external panel addresses, the deployment is successful.

Key parameters

Parameter

Description

ECS Image ID

Specifies the ECS image to use for deployment. Public images, custom images, shared images, and Marketplace images are supported.

You can configure different images for different regions. When you publish, the system automatically matches and uses the image for the region where the application group is located.

Example:

  • Hangzhou region: image-id-1

  • Beijing region: image-id-2

When the deployment is published to an application group in the Hangzhou region, the system uses image-id-1. When it is published to an application group in the Beijing region, the system uses image-id-2.