Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Buying a CCE Autopilot Cluster

Updated on 2025-02-27 GMT+08:00

A CCE Autopilot cluster runs on Cloud Container Instance (CCI) and provides Kubernetes-native extended APIs, allowing you to run containers without creating or managing servers. You pay only for the resources used by your applications.

Constraints

  • After a cluster is created, the following items cannot be changed:
    • Cluster type
    • Network configuration of the cluster, such as the VPC, pod subnet, Service CIDR block, and kube-proxy (request forwarding) settings.
  • When using a CCE Autopilot cluster, pay attention to the quotas of related resources. The following table lists the resources required by each cluster.
    Table 1 Cluster resource usage details

    Service

    Quota Item

    Minimum Usage

    Minimum Usage

    Region Limits

    Quota Increase

    CCE

    Cluster

    1

    -

    Maximum number of clusters that can be created by each account in a region: 50

    Increase the quota on the My Quotas page.

    VPC

    VPC

    1 per cluster

    Select one VPC for each cluster to provide an isolated, private virtual network environment for the cluster.

    Maximum number of VPCs that can be created by each account in a region: 5

    Subnet

    1 per cluster

    At least one subnet must be selected for each cluster to allocate container IP addresses.

    By default, the cluster control plane occupies eight IP addresses for control plane deployment and interconnection with external services.

    Maximum number of subnets that can be created by each account in a region: 50

    Security group

    2 per cluster

    Two security groups are automatically created for each cluster for network access control of the cluster control plane and elastic network interfaces.

    Maximum number of security groups that can be created by each account in a region: 100

    Security group rules

    7 per cluster

    Seven security group rules are automatically added for each cluster to allow traffic over specified ports and ensure normal network communication in the cluster.

    Maximum number of security groups rules that can be added by each account in a region: 1,000

    VPC Endpoint

    Endpoint

    3 per cluster

    Reserve at least three endpoints for each cluster so that the cluster can access peripheral services such as SWR and OBS.

    Maximum number of VPC endpoints that can be created by each account in a region: 50

    Domain Name Service (DNS)

    Private zone

    2 per cluster

    Each cluster requires at least two private zones for normal communication within the cluster or across clusters.

    Maximum number of private zones that can be created by each account in a region: 50

    Record set

    6 per cluster

    Each cluster requires at least six DNS record sets for mapping specified domain names to IP addresses or other domain names in the cluster.

    Maximum number of record sets that can be added by each account in a region: 500

Step 1: Log In to the CCE Console

  1. Log in to the CCE console.
  2. On the Clusters page, click Buy Cluster in the upper right corner.

Step 2: Configure the Cluster

On the Buy Cluster page, configure the parameters.

Basic Settings

Figure 1 Basic cluster information

Table 2 Basic cluster information

Parameter

Example Value

Description

Type

CCE Autopilot Cluster

CCE allows you to create various types of clusters for diverse needs.

  • CCE standard clusters provide highly reliable and secure containers for commercial use.
  • CCE Turbo clusters use high-performance cloud native networks and provide cloud native hybrid scheduling. Such clusters have improved resource utilization and can be used in more scenarios.
  • CCE Autopilot clusters are serverless, and you do not need to bother with server O&M. This greatly reduces O&M costs and improves application reliability and scalability.

For more information about cluster types, see Cluster Comparison.

Cluster Name

autopilot-example

Enter a cluster name. Cluster names in the same account must be unique.

Enter 4 to 128 characters. Start with a lowercase letter and do not end with a hyphen (-). Only lowercase letters, digits, and hyphens (-) are allowed.

Enterprise Project

default

This parameter is only available for enterprise users who have enabled an enterprise project.

After you select an enterprise project (for example, default), the cluster and resources in the cluster are created in the selected enterprise project. To manage clusters and other resources like nodes, load balancers, and node security groups, you can use the Enterprise Project Management Service (EPS). For more information, see Enterprise Management.

If there is no special requirement, you can select default.

Cluster Version

v1.31

Select the Kubernetes version used by the cluster. You are advised to select the latest version.

Network Settings

Figure 2 Cluster network information

Table 3 Cluster network information

Parameter

Example Value

Description

VPC

vpc-autopilot

Select a VPC where the cluster will be running. If no VPC is available, click Create VPC on the right to create one. For details, see Creating a VPC and Subnet. The VPC cannot be changed after the cluster is created.

Pod Subnet

subnet-502f

Select the subnet where the pods will be running. Each pod requires a unique IP address. The number of IP addresses in a subnet determines the maximum number of pods in a cluster and the maximum number of containers. After the cluster is created, you can add subnets.

If no subnet is available, click Create Subnet on the right to create one. For details, see Creating a VPC and Subnet.

Service CIDR Block

10.247.0.0/16

Select a Service CIDR block, which will be used by containers in the cluster to access each other. This CIDR block determines the maximum number of Services. After the cluster is created, the Service CIDR block cannot be changed.

Image Access

-

To ensure that the nodes in a cluster can pull images from SoftWare Repository for Container (SWR), existing endpoints in the selected VPC are used by default. If there are no endpoints in the VPC, new endpoints will be created for you to access SWR and OBS.

VPC endpoints are billed. For details, see VPC Endpoint Price Calculator.

SNAT

Enabled

This option is enabled by default, and the cluster can access the Internet through a NAT gateway. By default, an existing NAT gateway in the selected VPC is used. If there are no NAT gateways, CCE Autopilot automatically creates a NAT gateway with default specifications, binds an EIP to the NAT gateway, and configures SNAT rules.

The NAT gateway will be billed. For details, see NAT Gateway Billing.

(Optional) Advanced Settings

Figure 3 (Optional) Advanced Settings

Table 4 (Optional) Advanced cluster settings

Parameter

Example Value

Description

Alarm Center

Disabled

Alarm Center provides comprehensive cluster alarm capabilities so that alarms can be generated in a timely manner when faults occur during cluster running, ensuring service stability. If this option is enabled, the default alarm rules will be created, and notifications will be sent to the selected contact group. For details, see Configuring Alarms in Alarm Center.

Resource Tag

-

You can add resource tags to classify resources.

You can create predefined tags on the Tag Management Service (TMS) console. The predefined tags are available to all resources that support tags. You can use predefined tags to improve the tag creation and resource migration efficiency. For details, see Creating Predefined Tags.

  • A tag key can have no more than 128 characters and must not begin with _sys_. It can only contain letters, digits, spaces, and the following special characters: -_.:=+@. The key cannot be empty.
  • A tag value can have a maximum of 255 characters. It can only contain letters, digits, spaces, and the following special characters: -_.:/=+@. The value can be empty.

Description

-

Enter a maximum of 200 characters except the following: ^~#$%&*<>()[]{}"'\.

Step 3: Select Add-ons

Click Next: Select Add-on. On the displayed page, select the add-ons to be installed. For details about the parameters, see Figure 4, Table 5, and Table 6.

Figure 4 Selecting add-ons

Table 5 Add-ons (basic functions)

Add-on

Example Value

Description

CoreDNS

-

This add-on (CoreDNS) is installed by default. It provides DNS resolution for your cluster and can be used to access the cloud DNS servers.

Table 6 Add-ons (observability)

Add-on

Example Value

Description

Kubernetes Metrics Server

-

This add-on is installed by default. It collects resource usage metrics, such as the container CPU and memory usages, for the cluster.

Cloud Native Cluster Monitoring

Select this add-on.

This is an optional add-on. If selected, this add-on (Cloud Native Cluster Monitoring) will be automatically installed. It collects monitoring metrics for your cluster and reports the metrics to Application Operations Management (AOM). The agent mode does not support HPA based on custom Prometheus statements. If related functions are required, install this add-on manually after the cluster is created.

If this add-on is selected, pod billing is involved. You can view the prices on the console.

Cloud Native Log Collection

Select this add-on.

This is an optional add-on. If selected, this add-on (Cloud Native Log Collection) will be automatically installed. Cloud Native Log Collection helps report logs to LTS. After the cluster is created, you are allowed to obtain and manage collection rules on the Logging page of the CCE cluster console.

LTS does not charge you for creating log groups and offers a free quota for log collection every month. You pay only for log volume that exceeds the quota. For details, see Price Calculator. For details, see Collecting Logs.

If this add-on is selected, pod billing is involved. You can view the prices on the console.

Step 4: Configure Add-ons

Click Next: Configure Add-on to configure the add-ons. For details about the parameters, see Figure 5 and Table 7. The add-ons that are installed by default cannot be configured. After the cluster is created, you can go to the Add-ons page to modify their settings.

Figure 5 Cluster add-on settings

Table 7 Cluster add-on settings

Add-on

Example Value

Description

Cloud Native Cluster Monitoring

test

Select an AOM instance for the add-on to report metrics. If no AOM instance is available, create one first.

Basic metrics are free, but custom metrics are billed based on the standard pricing of AOM. For details, see AOM Pricing Details.

Cloud Native Log Collection

Select Container log and Kubernetes events.

Select the logs to be collected. If enabled, a log group named k8s-log-{clusterId} will be automatically created, and a log stream will be created for each selected log type.

  • Container log: Standard output logs of containers are collected. The corresponding log stream is named in the format of stdout-{Cluster ID}.
  • Kubernetes Events: Kubernetes logs are collected. The corresponding log stream is named in the format of event-{Cluster ID}.

If log collection is disabled, choose Logging in the navigation pane of the cluster console after the cluster is created and enable this option.

LTS does not charge you for creating log groups and offers a free quota for log collection every month. You pay only for log volume that exceeds the quota. For details, see Price Calculator. For details, see Collecting Logs.

Step 5: Confirm the Configuration

Click Next: Confirm configuration. The cluster resource list is displayed. Confirm the information and click Submit.

It takes about 5 to 10 minutes to create a cluster. You can click Back to Cluster List to perform other operations or click Go to Cluster Events to view the cluster details.

Related Operations

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback