All Products
Search
Document Center

Create and Deploy

Last Updated: Dec 28, 2018

You can create and deploy containerized applications for Elastic Container Instances (ECI) using multiple methods.

The available methods are described as follows:

  • ECI console
  • Alibaba Cloud CLI
  • Alibaba Cloud SDK

Prerequisite

You must have enabled the ECI and Resource Access Management (RAM) services.

Procedure

  1. Log on to the ECI console.

  2. Click Create Elastic Container Group in the upper-left corner of the page.c

  3. Select the region that hosts the ECI.

    The ECI beta is available in the following zones: zone G in the China East 1 region, zone D in China East 2, zone E in the China North 2 region, and zone B in the US West 1 region.r

  4. Configure the network.

    Note: If you have not created a Virtual Private Cloud (VPC) network, enter the VPC network console and create a VPC network in one of the zones in which ECIs are available. Refresh the page to view the VPC network you just created.n

  5. Configure the security group.s

  6. Configure shared volumes.

    Configure volumes as required. ECIs currently support NFS, ConfigFile, and emptyDir volumes.

  7. Configure container group information.

    Configure the following information on the container group configuration page: restart policy (Always by default), container group name, container name, image, vCPU, and memory capacity.ccc

  8. Configure an image registry.

    You can use your own image registry.

  9. Configure tags.

    A maximum of 10 tags can be configured for each container group.

After you complete the configurations, click Confirm Configuration.

fff

After confirming the configurations, click Create ECI. You now have created a container group. The system will download the corresponding container image to the ECI and attempt to start the container applications as configured after the container group is started.