All Products
Search
Document Center

CloudOps Orchestration Service:ECS image deployments

Last Updated:Jan 30, 2026

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 Deployment Source to ECS Image. Set the parameters and click OK to save.

      You can configure images for multiple regions. When you publish, the system automatically matches the image to the region of the application group.
  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. Important

    Replacing the ECS image immediately resets the system disk of the instance. This invalidates all user passwords on the instance, including those for root and regular users.

  5. Verify the result. Go to the details page of the target instance, click Connect, and select Workbench. Log on as prompted to go to the terminal page.