You can connect Elastic Container Instance to your existing business systems by calling API operations, and then deploy containerized applications in the Elastic Container Instance console or by calling API operations. You can also use Virtual Kubelet to connect Elastic Container Instance to Kubernetes, and then use the scaling capabilities of Elastic Container Instance to handle burst traffic. This topic describes how to use elastic container instances in different scenarios.
Use elastic container instances in the Elastic Container Instance console, by using SDKs or by calling API operations
If your business does not require Kubernetes features, such as container orchestration, load balancing, and timed scheduling, you can use elastic container instances in the Elastic Container Instance console, by using SDKs, or by calling API operations. For information about feature descriptions and configuration examples, see User Guide for the Elastic Container Instance Console and API.
Console mode
This mode is suitable for beginners. You can use this mode if you are not familiar with Elastic Container Instance. You can follow the on-screen instructions to create elastic container instances and try the container running capabilities of the instances. For more information, see Use elastic container instances in the Elastic Container Instance console.
SDK or API mode
You can use this mode if you are developers who do not use Kubernetes. You can use the OpenAPI Explorer to call API operations. You can also install SDKs for the following programming languages to create elastic container instances: Java, Python, and Go. For information about how to use an SDK for Java, see Use an SDK to create an elastic container instance.
Use elastic container instances in ACK or ASK
Elastic Container Instance is seamlessly integrated into Serverless Kubernetes (ASK) and Container Service for Kubernetes (ACK) that are provided by Alibaba Cloud. You can try the container running capabilities of elastic container instances in ASK or ACK. For information about feature descriptions and configuration examples, see Use Elastic Container Instances in ACK and ASK.
Deploy an ASK cluster to exclusively run Kubernetes pods on Elastic Container Instance
An ASK cluster is a Kubernetes cluster whose pods exclusively run on elastic container instances. In an ASK cluster, you can create Elastic Container Instance pods without the need to deploy virtual nodes. Each pod that runs in an ASK cluster is an elastic container instance. For more information, see Use Elastic Container Instance in ASK and ACK.

Procedure:
Create an ASK cluster.
Prepare a container image.
Create an application.
Create an application in the ACK console.
Create an application by using kubectl on CloudShell.
Obtain the kubeconfig file and use the kubectl client to create an application.
Deploy an ACK cluster to run Kubernetes pods on ECS and Elastic Container Instance
An ACK cluster is a Kubernetes cluster that runs on an Elastic Compute Service (ECS) instance by default. In an ACK cluster, you must deploy a virtual node based on the Virtual Kubelet component before you can create an Elastic Container Instance pod. Each pod that runs on a virtual node is an elastic container instance.

Procedure:
Create an ACK cluster.
Deploy the ack-virtual-node component to generate a virtual node.
Prepare a container image.
Create an application.
Create an application in the ACK console.
Create an application by using kubectl on CloudShell.
Obtain the kubeconfig file and use the kubectl client to create an application.
Use elastic container instances in a self-managed Kubernetes cluster
If you created self-managed Kubernetes clusters in a data center or on an ECS instance, you can deploy VNodes-based virtual nodes to use elastic container instances. VNodes are compatible with native Kubernetes API operations. Each pod that runs on a VNode is an elastic container instance. For information about feature descriptions and configuration examples, see Use Elastic Container Instances in Self-managed Kubernetes Clusters

You are charged for each VNode that you create. Each VNode has a resident node that is equivalent to an elastic container instance of 2 vCPUs and 8 GiB. You are charged for VNodes based on the equivalent elastic container instances.
Procedure:
Configure the base environment.
Deploy virtual nodes.
Prepare a container image.
Use the kubectl client to create an application.