HUAWEI CLOUD Account Purchase: A Practical Guide to Fast Deployment and Elastic Scaling of Serverless Containers (CCI)
Do you still remember the last time you were woken up in the middle of the night by a server alert and had to rush to scale up your cluster?
As a veteran who has dealt with code and servers for many years, I have experienced the roar of traditional physical computer rooms and the pain of manually building Kubernetes(K8s) clusters in the early days. At that time, it took most of the day to plan nodes, configure networks, and tune resource quotas every time a new business was launched. Not to mention the feeling of watching the system collapse, sweating but helpless when traffic surges like a tide and the server CPU instantly soars to 100. I really don't want to experience it for the second time.
Fortunately, with the evolution of cloud computing to this day, the concept of serverless architecture has fundamentally transformed our R&D and operations workflows.
In today's article, I want to put aside those blunt and boring official documents and take you to talk about how to pass simple
Purchase a Huawei Cloud account
Activate and get started with Huawei Cloud quickly.
Serverless Containers (CCI)
, enabling truly rapid deployment and elastic scaling.
1. Why do we need Serverless containers (CCI)?
In the past, even with containerization technologies like Docker and Kubernetes, we still couldn’t escape the influence of the underlying virtual machines. You have bought a cloud server (CVM/ECS). You have to manage its operating system, security patches, disk mounting, and K8s Master node and Worker node. When the business volume is small, the server is idle and wasted. When the business volume is large, the expansion node needs to wait for the virtual machine to be created, initialized and joined to the cluster, which often takes several minutes or even longer, and the day lily is cold.
And
Cloud Container Instance (CCI)
Its appearance completely overturned the table.
Simply put, CCI is a serverless container engine provided by Huawei Cloud. Its core killer feature is:
You don’t need to create, manage, or maintain server clusters—containers can run directly in the cloud.
No operation and maintenance in the true sense: there is no underlying virtual machine and no K8s node. You only need to pay attention to your container image and business logic.
Fast scaling in seconds: In the face of sudden traffic, CCI can prepare resources and start containers in seconds, pulling up hundreds of instances instantly.
Ultimate cost optimization: Pay-per-second billing—no charges when not in use. Basic resources are used during the stable period of business, and the peak period is instantly flexible to CCI, saving money and home.
2. Step 1: Easily complete the purchase and activation of your Huawei Cloud account.
Everything is difficult at the beginning. To experience such a cool technology, the first step is of course to have a good cloud platform environment.
Many people, when they first start out, tend to be concerned about
Purchase a Huawei Cloud account
Or the specific registration process. In fact, the entire process is not...
Always modern and smooth:
Registration and authentication: Open HUAWEI CLOUD official website, click "Register" in the upper right corner, enter the mobile phone number and obtain the verification code, and set the password to quickly complete the creation of the basic account. If you are a business user, we recommend completing enterprise real-name verification as soon as possible. In this way, we can not only obtain higher resource quotas and open more advanced enterprise-level services, but also make it more convenient to apply for various cloud service vouchers or enjoy enterprise-specific discounts.
Activate CCI: After logging in to the HUAWEI CLOUD console, enter CCI in the product search box ". When you use it for the first time, the system will guide you to activate related dependent services (such as container image service SWR, VPC network, etc.). The entire opening process is completely online. Click "Open Now" to complete the permission configuration and initialization of the underlying resources in a few seconds.
Veteran's Tip: Before purchasing and planning resources, it is recommended to clarify your business form. If your business has both long-term stable core modules and sudden traffic with obvious peaks, it is very suitable to adopt the hybrid deployment architecture of "CCE (Cloud Container Engine) CCI"-running on a regular cluster in a stable period, and seamlessly and elastically expanding to CCI during peak periods, thus reducing the cost to the extreme.
3. Core Practical Application: Ultra-Fast Deployment Experience Based on CCI
After the account number and environment are ready, we immediately enter the actual combat link. Let’s see how quickly you can deploy an application using CCI.
1. Prepare the image: Upload to HUAWEI CLOUD SWR
The first step in containerization is the image. HUAWEI CLOUD Container Mirror Service (SWR) provides high stability and accelerated download capability in China.
You can push your locally packaged business image to SWR. Since CCI and SWR are closely connected to the HUAWEI CLOUD intranet, the speed of pulling images can be said to be "flying", and there is no delay in service startup caused by slow image pulling.
2. Write the serverless container deployment configuration
In CCI, we no longer need to write complex Kubernetes configurations.
Deployment
And to worry about
Node Selector
or
Tolerations
. A very simple CCI deployment YAML snippet looks quite clean:
YAML
apiVersion: apps/v1
kind: Deployment
metadata:
name: demo-app-cci
spec:
replicas: 3
selector:
matchLabels:
app: demo-app
template:
metadata:
labels:
app: demo-app
spec:
containers:
-name: web
image: swr.cn-north-4.myhuaweicloud.com/your-namespace/demo-app:v1.0
resources:
limits:
cpu: "1"
memory: "2Gi"
requests:
CPU: "500m"
memory: "1Gi"
You only need to paste this configuration into the console or via
kubectl
Submitted to a virtual namespace that has an associated CCI, the underlying resource is
Second-level
The speed is awakened. You will find that the long anxiety of "waiting for the state to become Running" in the era of traditional virtual machine deployment has disappeared and replaced by the extreme experience of what you see is what you get.
4. elastic expansion: dealing with flow peaks with ease
Deployment is just the beginning; auto-scaling is where the true essence of serverless containers lies.
In the traditional architecture, if the traffic volume increases sharply due to the promotion of e-commerce or sudden hot news, the operation and maintenance personnel often need to manually add machines long in advance, or set up complicated automatic expansion and contraction strategies for cloud server groups (often limited by the physical bottleneck of slow startup of the underlying virtual machines, the embarrassing situation of "the water is overflowing and the machines have not started well" often occurs).
On HUAWEI CLOUD CCI, all this is solved:
Custom elastic policies: You can set elastic scaling rules based on CPU utilization, memory utilization, or even combined with custom Prometheus monitoring metrics (such as QPS and request latency).
Second-level response and concurrent pull-up: When the monitored core metrics exceed the threshold, CCI can instantly pull up dozens or even hundreds of container instances in just a few seconds to evenly spread the peak flood flow.
Pay‑as‑you‑go, billed by the second: Once traffic subsides, any excess container instances are quickly and automatically terminated, freeing up underlying resources. You don't need to pay a penny more for these idle computing power, you really "pay as you need, buy as much as you want".
This ability is simply a dimension reduction blow for scenes such as game opening, live video, e-commerce seconds kill, and AI reasoning services.
5. Written at the end
The ultimate goal of technological evolution is always
Liberating the Productive Forces, Lowering the Threshold of Creation
.
Looking back on today's sharing, from the original
Purchase a Huawei Cloud account
From initial setup, through the selection of a maintenance-free architecture for the later stages, to leveraging Huawei Cloud.
Serverless Containers (CCI)
To achieve rapid deployment and elastic scaling, cloud computing is becoming more and more "invisible". As developers, we no longer need to waste a lot of valuable energy and time on the underlying patch upgrades, cluster expansion and hard
on the operation and maintenance of the piece.
Trust the bottom layer to the professional cloud, and leave the code and business to yourself. If you have a project on hand that is facing high concurrency tests or are eager to reduce operational costs, you might as well try it today. Believe me, that kind of light-packed, flowing deployment experience, once used, can never be returned.

