All Products
Search
Document Center

Elastic Compute Service:Overview of automatically create custom images

Last Updated:Apr 01, 2026

Alibaba Cloud provides three automated methods to create custom ECS images: Image Builder, CloudOps Orchestration Service (OOS), and Packer. All three spin up a temporary ECS instance, apply your configuration, capture the image, and release the instance — making them well-suited for agile development pipelines and teams that need to keep images up to date without manual steps.

Choose a method

MethodWhat it does for youBest fit
Image BuilderAutomates build validation so misconfigured images never reach production; supports Dockerfile syntax so you can reuse existing container build knowledge; provides a visual dashboard to monitor build progressTeams familiar with Dockerfile commands who update images regularly
CloudOps Orchestration Service (OOS)Provides ready-to-use official templates (such as ACS-ECS-UpdateImage) with no coding required; uses password-free logon for secure instance access; shows build progress on the YAML, JSON, or Graphical Template tab in the ECS consoleTeams familiar with OOS template syntax who update images regularly
PackerOpen-source tool with broad cloud provider support; uses a JSON template (Packer generator) to define and run buildsTeams already using Packer across multiple cloud providers

How it works

All three methods capture the system state and application data of an ECS instance at a specific point in time. The general workflow is:

  1. Provision — A temporary ECS instance is automatically created from your configuration.

  2. Customize — Your scripts, templates, or Dockerfile instructions are applied to the instance.

  3. Create image — A custom image is captured from the configured instance.

  4. Release — The temporary instance is automatically released after the image is created.

The specific steps vary by method:

  • Image Builder — Define your build configuration and submit the job. Image Builder provisions a temporary instance, applies your Dockerfile-based build instructions, validates the configuration, and saves the resulting image.

image
  • OOS — Select a public template such as ACS-ECS-UpdateImage, or create an O&M task template. Submit the task and monitor progress on the YAML, JSON, or Graphical Template tab of OOS in the ECS console.

image
  • Packer — Write a JSON template using the Packer generator. Run the template to have Packer provision, configure, and snapshot the temporary instance.

image

What's next