Cloud Container Instance (CCI) is a serverless container service that allows you to run containers without creating or managing server clusters.
With the serverless architecture, you can focus on building and operating applications without having to create or manage servers, or worrying about server health. All you have to do is to specify resource requirements (such as the required vCPUs and memory). This gives you a more focused approach to business needs and helps you reduce management and maintenance costs. Traditionally, to run containerized workloads using Kubernetes, you need to create a Kubernetes cluster first. With CCI, you can create and run containerized workloads using the console without creating or managing Kubernetes clusters. You only pay for the resources used by the containers.
CCI provides the following functions:
CCI can run the container image generated by the CI process in one click, which ensures that the CI/CD process is fully automated.
The runtime of Deployments is fully hosted to ensure that applications can run stably.
You can create custom auto scaling policies for automatic scaling within seconds.
Multiple pods can provide services externally at the same time, and global load balancing ensures that no pods are overloaded.
The health of containers can be checked, and container metrics are monitored in real time.
Storage volumes can be mounted to containers for persistent data storage.
An environment variable is a variable whose value can affect the way a running container will behave. You can modify environment variables even after workloads are deployed, increasing flexibility in workload configuration.
The result of setting environment variables in CCI is the same as that of specifying ENV in a Dockerfile.
A millicore, abbreviated as mcore, is one-thousandth of a vCPU. Generally, the vCPU usage of a containerized workload is measured in mcores.
The following figure shows the relationships between images, containers, and workloads.
Figure 1 Relationships between images, containers, and workloads
