All Products
Search
Document Center

Limits

Last Updated: Mar 02, 2021

This topic describes the limits on Elastic Container Instance.

Limits on elastic container instances

The following table describes the limits on elastic container instances.

Item

Description

Method to apply for an exception

User account used to create an elastic container instance

When you create an elastic container instance in a region within mainland China, your account must pass real-name verification.

None

Maximum number of vCPUs that can be created within a region

The quota limit on each account varies based on the historical usage of the account. You can view your privileges and quotas on the Privileges and Quotas page in the Elastic Container Instance console.

Submit a ticket

Maximum number of vCPUs that can be allocated to an elastic container instance

64

None

Maximum number of volumes that can be mounted to an elastic container instance

20

None

Maximum number of containers that can be created in an elastic container instance

20

None

Maximum number of image layers in a container

50

None

Supported container operating system types

Elastic Container Instance supports only Linux-based containers. Alibaba Cloud is working on support for Windows-based containers.

None

The network type of elastic container instances

Only VPC is supported.

None

Limits on API operations

The following table describes the maximum calls per minute on each API operation. If the quota for a specific API operation cannot meet your business requirements, you can submit a ticket to request a quota increase.

API operation

Maximum number of calls per minute

Quota increase method

DescribeContainerGroups

2,000

Submit a ticket.

DescribeContainerGroupMetric

2,000

Submit a ticket.

CreateContainerGroup

1,000

Submit a ticket.

DeleteContainerGroup

1,000

Submit a ticket.

DescribeContainerGroupPrice

1,000

Submit a ticket.

ExportContainerGroupTemplate

1,000

Submit a ticket.

ExecContainerCommand

500

Submit a ticket.

DescribeContainerLog

500

Submit a ticket.

RestartContainerGroup

500

Submit a ticket.

UpdateContainerGroup

500

Submit a ticket.

DescribeMultiContainerGroupMetric

500

Submit a ticket.

CreateImageCache

200

Submit a ticket.

Limits on Kubernetes

Elastic Container Instance seamlessly connects to Kubernetes by using virtual nodes based on Virtual Kubelet provided by the Kubernetes community. Therefore, elastic container instances do not run on a centralized real node. They are scattered across the global Alibaba Cloud resource pool.

Elastic Container Instance does not support some Kubernetes features such as hostPaths and DaemonSets due to security limits of Alibaba Cloud public cloud and limits imposed by virtual nodes. The following table describes the unsupported features.

Unsupported feature

Description

Recommended alternative

hostPath

Allows you to mount files from on-premises hosts to containers.

Use an emptyDir volume or Apsara File Storage NAS (NAS).

hostNetwork

Allows you to map a host port to a container.

Create a Service of the LoadBalancer type.

DaemonSet

Allows you to deploy a static pod on the host of a container.

Deploy multiple images in a pod by using sidecar containers.

Privileged permissions

Allows you to grant privileged permissions to a container.

Use a security context to grant permissions to a pod.

Service of the NodePort type

Allows you to map a host port to a container.

Create a Service of the LoadBalancer type.

Ports usage

The following table describes ports used by Elastic Container Instance and related services. Do not use the following ports when you deploy services.

Port number

Description

111, 10250, and 10255

The ports used by the Elastic Container Instance interfaces such as exec, logs, and metrics.

998

The port used by Cloud Paralleled File System (CPFS).