diff --git a/docs/cci/umn/ALL_META.TXT.json b/docs/cci/umn/ALL_META.TXT.json new file mode 100644 index 00000000..e9dd4e78 --- /dev/null +++ b/docs/cci/umn/ALL_META.TXT.json @@ -0,0 +1,347 @@ +[ + { + "dockw":"User Guide" + }, + { + "uri":"cci_03_1000.html", + "node_id":"cci_03_1000.xml", + "product_code":"cci", + "code":"1", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Service Overview", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Service Overview", + "githuburl":"" + }, + { + "uri":"cci_03_0001.html", + "node_id":"cci_03_0001.xml", + "product_code":"cci", + "code":"2", + "des":"Cloud Container Instance (CCI) is a serverless container engine that allows you to run containers without creating or managing server clusters.Traditionally, to run conta", + "doc_type":"usermanual", + "kw":"Overview,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Overview", + "githuburl":"" + }, + { + "uri":"cci_03_0003.html", + "node_id":"cci_03_0003.xml", + "product_code":"cci", + "code":"3", + "des":"CCI provides an industry-leading serverless container architecture, so you do not need to create server clusters. Instead, you can create large-scale converged resource p", + "doc_type":"usermanual", + "kw":"Advantages,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Advantages", + "githuburl":"" + }, + { + "uri":"cci_03_0004.html", + "node_id":"cci_03_0004.xml", + "product_code":"cci", + "code":"4", + "des":"Scientific R&D in fields such as genomics and drug development requires high-performance and high-density computing. In addition, scientific computing is generally task-b", + "doc_type":"usermanual", + "kw":"Application Scenarios,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Application Scenarios", + "githuburl":"" + }, + { + "uri":"cci_03_0005.html", + "node_id":"cci_03_0005.xml", + "product_code":"cci", + "code":"5", + "des":"CCI provides enhanced features, such as security isolation, fast workload deployment, elastic load balancing, and auto scaling.The graphical CCI console provides end-to-e", + "doc_type":"usermanual", + "kw":"Basic Concepts,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Basic Concepts", + "githuburl":"" + }, + { + "uri":"cci_03_0008.html", + "node_id":"cci_03_0008.xml", + "product_code":"cci", + "code":"6", + "des":"If you need to assign different permissions to employees in your enterprise to access your CCI resources, Identity and Access Management (IAM) is a good choice for fine-g", + "doc_type":"usermanual", + "kw":"Permissions Management,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Permissions Management", + "githuburl":"" + }, + { + "uri":"cci_03_0007.html", + "node_id":"cci_03_0007.xml", + "product_code":"cci", + "code":"7", + "des":"This section describes the constraints on using CCI 2.0.The following table lists the constraints on CCI 2.0.The following table lists the pod flavors.Requirements on pod", + "doc_type":"usermanual", + "kw":"Constraints,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Constraints", + "githuburl":"" + }, + { + "uri":"cci_03_0010.html", + "node_id":"cci_03_0010.xml", + "product_code":"cci", + "code":"8", + "des":"A region and availability zone (AZ) identify the location of a data center. You can create resources in a specific region and AZ.A region is a physical data center, which", + "doc_type":"usermanual", + "kw":"Region and AZ,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Region and AZ", + "githuburl":"" + }, + { + "uri":"cci_03_0006.html", + "node_id":"cci_03_0006.xml", + "product_code":"cci", + "code":"9", + "des":"CCI needs to be interconnected with the following cloud services. It requires permissions to access these cloud services.SWRSoftWare Repository for Container (SWR) provid", + "doc_type":"usermanual", + "kw":"Related Services,Service Overview,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Related Services", + "githuburl":"" + }, + { + "uri":"cci_01_0003.html", + "node_id":"cci_01_0003.xml", + "product_code":"cci", + "code":"10", + "des":"Log in to the CCI console and grant CCI the permissions to access other cloud services.After the permissions are granted, an agency named cci_admin_trust is created. You ", + "doc_type":"usermanual", + "kw":"Environment Configuration,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Environment Configuration", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001975803021.html", + "node_id":"en-us_topic_0000001975803021.xml", + "product_code":"cci", + "code":"11", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Container Group", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Container Group", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001955196756.html", + "node_id":"en-us_topic_0000001955196756.xml", + "product_code":"cci", + "code":"12", + "des":"Pods (or container groups) are the smallest deployable units of computing that you can create and manage. A pod or a container group is a group of one or more containers,", + "doc_type":"usermanual", + "kw":"Overview,Container Group,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Overview", + "githuburl":"" + }, + { + "uri":"cci_01_0053.html", + "node_id":"cci_01_0053.xml", + "product_code":"cci", + "code":"13", + "des":"You can use CCI to quickly create pods for running workloads. On the CCI console, you can view details about all pods, such as basic information, container list, storage ", + "doc_type":"usermanual", + "kw":"Creating a Container Group,Container Group,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Creating a Container Group", + "githuburl":"" + }, + { + "uri":"cci_01_0033.html", + "node_id":"cci_01_0033.xml", + "product_code":"cci", + "code":"14", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Configuration Center", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Configuration Center", + "githuburl":"" + }, + { + "uri":"cci_01_0034.html", + "node_id":"cci_01_0034.xml", + "product_code":"cci", + "code":"15", + "des":"ConfigMaps are objects that you can use to store the configurations required by applications. After you create a ConfigMap, you can use it as a file in a containerized ap", + "doc_type":"usermanual", + "kw":"ConfigMaps,Configuration Center,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"ConfigMaps", + "githuburl":"" + }, + { + "uri":"cci_01_0035.html", + "node_id":"cci_01_0035.xml", + "product_code":"cci", + "code":"16", + "des":"Secrets are objects that you can use to store sensitive data such as authentication information, certificates, and private keys. You can load a secret to a container as a", + "doc_type":"usermanual", + "kw":"Secrets,Configuration Center,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Secrets", + "githuburl":"" + }, + { + "uri":"en-us_topic_0000001971717269.html", + "node_id":"en-us_topic_0000001971717269.xml", + "product_code":"cci", + "code":"17", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Namespaces", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Namespaces", + "githuburl":"" + }, + { + "uri":"cci_01_0001.html", + "node_id":"cci_01_0001.xml", + "product_code":"cci", + "code":"18", + "des":"Namespaces are used to logically divide your resources into different groups, especially in scenarios where a large number of users from multiple teams work on different ", + "doc_type":"usermanual", + "kw":"Creating a Namespace,Namespaces,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Creating a Namespace", + "githuburl":"" + }, + { + "uri":"cci_03_0000.html", + "node_id":"cci_03_0000.xml", + "product_code":"cci", + "code":"19", + "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "doc_type":"usermanual", + "kw":"Change History,User Guide", + "search_title":"", + "metedata":[ + { + "prodname":"cci", + "documenttype":"usermanual" + } + ], + "title":"Change History", + "githuburl":"" + } +] \ No newline at end of file diff --git a/docs/cci/umn/CLASS.TXT.json b/docs/cci/umn/CLASS.TXT.json new file mode 100644 index 00000000..6e971f18 --- /dev/null +++ b/docs/cci/umn/CLASS.TXT.json @@ -0,0 +1,173 @@ +[ + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"cci", + "title":"Service Overview", + "uri":"cci_03_1000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"1" + }, + { + "desc":"Cloud Container Instance (CCI) is a serverless container engine that allows you to run containers without creating or managing server clusters.Traditionally, to run conta", + "product_code":"cci", + "title":"Overview", + "uri":"cci_03_0001.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"2" + }, + { + "desc":"CCI provides an industry-leading serverless container architecture, so you do not need to create server clusters. Instead, you can create large-scale converged resource p", + "product_code":"cci", + "title":"Advantages", + "uri":"cci_03_0003.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"3" + }, + { + "desc":"Scientific R&D in fields such as genomics and drug development requires high-performance and high-density computing. In addition, scientific computing is generally task-b", + "product_code":"cci", + "title":"Application Scenarios", + "uri":"cci_03_0004.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"4" + }, + { + "desc":"CCI provides enhanced features, such as security isolation, fast workload deployment, elastic load balancing, and auto scaling.The graphical CCI console provides end-to-e", + "product_code":"cci", + "title":"Basic Concepts", + "uri":"cci_03_0005.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"5" + }, + { + "desc":"If you need to assign different permissions to employees in your enterprise to access your CCI resources, Identity and Access Management (IAM) is a good choice for fine-g", + "product_code":"cci", + "title":"Permissions Management", + "uri":"cci_03_0008.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"6" + }, + { + "desc":"This section describes the constraints on using CCI 2.0.The following table lists the constraints on CCI 2.0.The following table lists the pod flavors.Requirements on pod", + "product_code":"cci", + "title":"Constraints", + "uri":"cci_03_0007.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"7" + }, + { + "desc":"A region and availability zone (AZ) identify the location of a data center. You can create resources in a specific region and AZ.A region is a physical data center, which", + "product_code":"cci", + "title":"Region and AZ", + "uri":"cci_03_0010.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"8" + }, + { + "desc":"CCI needs to be interconnected with the following cloud services. It requires permissions to access these cloud services.SWRSoftWare Repository for Container (SWR) provid", + "product_code":"cci", + "title":"Related Services", + "uri":"cci_03_0006.html", + "doc_type":"usermanual", + "p_code":"1", + "code":"9" + }, + { + "desc":"Log in to the CCI console and grant CCI the permissions to access other cloud services.After the permissions are granted, an agency named cci_admin_trust is created. You ", + "product_code":"cci", + "title":"Environment Configuration", + "uri":"cci_01_0003.html", + "doc_type":"usermanual", + "p_code":"", + "code":"10" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"cci", + "title":"Container Group", + "uri":"en-us_topic_0000001975803021.html", + "doc_type":"usermanual", + "p_code":"", + "code":"11" + }, + { + "desc":"Pods (or container groups) are the smallest deployable units of computing that you can create and manage. A pod or a container group is a group of one or more containers,", + "product_code":"cci", + "title":"Overview", + "uri":"en-us_topic_0000001955196756.html", + "doc_type":"usermanual", + "p_code":"11", + "code":"12" + }, + { + "desc":"You can use CCI to quickly create pods for running workloads. On the CCI console, you can view details about all pods, such as basic information, container list, storage ", + "product_code":"cci", + "title":"Creating a Container Group", + "uri":"cci_01_0053.html", + "doc_type":"usermanual", + "p_code":"11", + "code":"13" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"cci", + "title":"Configuration Center", + "uri":"cci_01_0033.html", + "doc_type":"usermanual", + "p_code":"", + "code":"14" + }, + { + "desc":"ConfigMaps are objects that you can use to store the configurations required by applications. After you create a ConfigMap, you can use it as a file in a containerized ap", + "product_code":"cci", + "title":"ConfigMaps", + "uri":"cci_01_0034.html", + "doc_type":"usermanual", + "p_code":"14", + "code":"15" + }, + { + "desc":"Secrets are objects that you can use to store sensitive data such as authentication information, certificates, and private keys. You can load a secret to a container as a", + "product_code":"cci", + "title":"Secrets", + "uri":"cci_01_0035.html", + "doc_type":"usermanual", + "p_code":"14", + "code":"16" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"cci", + "title":"Namespaces", + "uri":"en-us_topic_0000001971717269.html", + "doc_type":"usermanual", + "p_code":"", + "code":"17" + }, + { + "desc":"Namespaces are used to logically divide your resources into different groups, especially in scenarios where a large number of users from multiple teams work on different ", + "product_code":"cci", + "title":"Creating a Namespace", + "uri":"cci_01_0001.html", + "doc_type":"usermanual", + "p_code":"17", + "code":"18" + }, + { + "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", + "product_code":"cci", + "title":"Change History", + "uri":"cci_03_0000.html", + "doc_type":"usermanual", + "p_code":"", + "code":"19" + } +] \ No newline at end of file diff --git a/docs/cci/umn/PARAMETERS.txt b/docs/cci/umn/PARAMETERS.txt new file mode 100644 index 00000000..6da8d5f0 --- /dev/null +++ b/docs/cci/umn/PARAMETERS.txt @@ -0,0 +1,3 @@ +version="" +language="en-us" +type="" \ No newline at end of file diff --git a/docs/cci/umn/cci_01_0001.html b/docs/cci/umn/cci_01_0001.html new file mode 100644 index 00000000..1d54f404 --- /dev/null +++ b/docs/cci/umn/cci_01_0001.html @@ -0,0 +1,91 @@ + + +
Namespaces are used to logically divide your resources into different groups, especially in scenarios where a large number of users from multiple teams work on different projects.
+CCI provides general computing resources and allows you to create pods with CPU resources for general computing.
+Each namespace requires a separate subnet, as shown in Figure 1. When you create a namespace, you need to associate it with a VPC. A subnet will be created for the namespace in the VPC. Containers and other resources created in this namespace will run in the VPC and subnet you select.
+If you want to run resources of multiple services in the same VPC, you need to consider network planning, including subnet CIDR block division and IP address planning.
+ +Namespaces can implement partial environment isolation. If you have a large number of projects and personnel, you can create different namespaces based on project attributes, such as production, test, and development.
++
Parameter + |
+Description + |
+
---|---|
IPv6 + |
+If this option is enabled, IPv4/IPv6 dual stack is supported. + |
+
VPC + |
+Select the VPC where the workloads are running. If no VPC is available, create one first. The VPC cannot be changed once selected. +Recommended CIDR blocks: 10.0.0.0/8-22, 172.16.0.0/12-22, and 192.168.0.0/16-22 + NOTICE:
+10.247.0.0/16 is reserved for workloads. If you select this CIDR block, IP address conflicts may occur, which may result in workload creation failure or service unavailability. However, if you do not need to access pods through workloads, you can select this CIDR block. +After the namespace is created, you can view the VPC and subnet by choosing Namespaces > Subnet. + |
+
Subnet + |
+Select the subnet where the workloads are running. If no subnet is available, create one first. The subnet cannot be changed once selected. +
NOTE:
+Sufficient available IP addresses in the subnet are required for creating workloads. + |
+
Security Group + |
+Select a security group. If no security group is available, create one first. The security group cannot be changed once selected. + |
+
Each namespace provides an IP pool. You can specify the pool size to reduce the duration for assigning IP addresses and speed up the workload creation.
+For example, 200 pods are running routinely, and 200 IP addresses are required in the IP pool. During peak hours, the IP pool instantly scales out to provide 500 IP addresses. After a specified interval (for example, 23 hours), the IP addresses that exceed the pool size (500 – 200 = 300) will be recycled.
+ +Parameter + |
+Description + |
+
---|---|
IP Pool Warm-up for Namespace + |
+An IP pool is provided for each namespace, with the number of IP addresses you specify here, and IP addresses will be assigned in advance to accelerate workload creation. +An IP pool can contain a maximum of 500 IP addresses. + |
+
IP Address Recycling Interval (h) + |
+Warmed-up IP addresses that become idle can be recycled within the duration you specify here. + |
+
You can view the VPC and subnet on the namespace details page.
+To delete a VPC or subnet, go to the VPC console.
+Log in to the CCI console and grant CCI the permissions to access other cloud services.
+After the permissions are granted, an agency named cci_admin_trust is created. You can view the agency on the IAM console.
+The cloud platform provides the SoftWare Repository for Container (SWR) service for you to upload container images to the image repository. You can easily pull these images when creating workloads on CCI. For details about how to upload images, see Uploading an Image Through the Client.
+Currently, CCI does not support third-party image repositories.
+ConfigMaps are objects that you can use to store the configurations required by applications. After you create a ConfigMap, you can use it as a file in a containerized application.
+CCI supports both JSON and YAML, and the file size cannot exceed 1 MB.
+After a ConfigMap is created, you can mount it to a container as a storage volume during pod creation. For example, mount a ConfigMap named system-preset-aeskey to a container and set the storage volume name to volume1.
+ +A ConfigMap resource file must be in either JSON or YAML format, and the file size cannot exceed 1 MB.
+{ + "kind": "ConfigMap", + "apiVersion": "v1", + "metadata": { + "name": "nginxconf", + "namespace": "cci-namespace-demo" + }, + "data": { + "nginx.conf": "server {\n listen 80;\n server_name localhost;\n\n location / {\n root html;\n index index.html index.htm;\n }\n}" + } +}+
Secrets are objects that you can use to store sensitive data such as authentication information, certificates, and private keys. You can load a secret to a container as an environment variable when the container is started or mount a secret to a container as a file.
+It is recommended that you encrypt the uploaded secrets.
+CCI supports both JSON and YAML, and the file size cannot exceed 2 MB.
+You can view the newly created secret in the secret list.
+After a secret is created, you can mount it to a container as a storage volume during pod creation. For example, mount a secret named aksk-secret to a container and set the storage volume name to volume2.
+ +For example, you can use a secret to obtain the following key-value pairs and encrypt them for an application:
+key1: value1
+key2: value2
+The secret.yaml file is defined as below. (Base64 encoding is required for the value of each key. For details about the Base64 encoding method, see Base64 Encoding.)
+apiVersion: v1 +kind: Secret +metadata: + name: mysecret #Secret name + annotations: + description: "test" + labels: + label-01: value-01 + label-02: value-02 +data: + key1: dmFsdWUx #Base64 encoding required + key2: dmFsdWUy #Base64 encoding required +type: Opaque #The type must be Opaque.+
{ + "apiVersion": "v1", + "kind": "Secret", + "metadata": { + "annotations": { + "description": "test" + }, + "labels": { + "label-01": "value-01", + "label-02": "value-02" + }, + "name": "mysecret" + }, + "data": { + "key1": "dmFsdWUx", + "key2": "dmFsdWUy" + }, + "type": "Opaque" +}+
You can use CCI to quickly create pods for running workloads. On the CCI console, you can view details about all pods, such as basic information, container list, storage volumes, and events. In addition, you can use remote terminals to access pods. You can also delete pods.
+ +Custom domain name images of the SWR enterprise edition cannot be used to create workloads.
+Parameter + |
+Description + |
+
---|---|
Container Group Name + |
+
|
+
Namespace + |
+Namespace that the container group belongs to. + |
+
(Optional) Description + |
+Enter a description, which cannot exceed 250 characters. + |
+
CPU Architecture + |
+x86 + |
+
Pod Type + |
+General-computing + |
+
vCPUs + |
+Select a value from 0.25 to 64. + |
+
Memory + |
+Select the memory based on the selected vCPUs. + |
+
(Optional) Data Storage + |
+Select a storage volume type and enter a storage volume name.
+
|
+
Parameter + |
+Description + |
+
---|---|
Container Name + |
+
|
+
Image + |
+Select a container image. + CAUTION:
+Custom domain name images of the SWR enterprise edition cannot be used to create workloads. + |
+
Image Version + |
+Select a container image version. + |
+
vCPUs + |
+Specify the vCPUs. The value cannot exceed that in the pod flavors. + |
+
Memory + |
+Specify the memory. The value cannot exceed that in the pod flavors. + |
+
Parameter + |
+Description + |
+
---|---|
Lifecycle + |
+Based on Kubernetes, CCI provides containers with lifecycle hooks, which enable containers to run code triggered by events during their management lifecycle. For example, if you want a container to perform a certain operation before it is stopped, you can register a hook. CCI provides the following lifecycle hooks: +
|
+
Health Check + |
+Container health can be checked regularly when the container is running. +CCI supports the following types of probes: +
|
+
Environment Variables + |
+Environment variables affect the way a running container will behave. You can update them after deploying the workload. + |
+
Data Storage + |
+Volumes can be mounted to containers to read data from files or store data files persistently. To mount a volume to a container, add the volume to the pod first. + |
+
Security Settings + |
+Specify a user ID for all the containers to run with. For example, enter 0 to run as user root. + |
+
Released On + |
+What's New + |
+
---|---|
2027-08-14 + |
+Modified the following: + + |
+
2024-07-18 + |
+Added the following: + +Modified the following: + + + |
+
2024-05-10 + |
+This issue is the first official release. + |
+
Cloud Container Instance (CCI) is a serverless container engine that allows you to run containers without creating or managing server clusters.
+Traditionally, to run containerized workloads, you need to create a server cluster first. In the serverless model, a cloud provider runs servers and dynamically allocates resources so that you can build and run applications without having to worry about server statuses. This model helps you improve development efficiency and reduce IT costs.
+CCI uses the serverless model that allows you to directly create and use containerized workloads on the console, using kubectl, or by calling APIs, and pay only for the resources consumed by these workloads.
+CCI is in the beta phase. To use the service, contact customer service.
+One-Stop Container Lifecycle Management
+CCI allows you to run containers without creating or managing server clusters. In the serverless model, you can deploy and run workloads on the console, using kubectl, or by calling APIs, and pay only for the resources consumed by these workloads.
+CCI is a serverless container service. It allows you to create large-scale converged resource pools using the cell-based architecture. It also integrates network and storage services of the cloud platform to allow you to easily deploy and run containerized workloads through the console, kubectl, and APIs.
+CCI provides an industry-leading serverless container architecture, so you do not need to create server clusters. Instead, you can create large-scale converged resource pools using the cell-based architecture. CCI also integrates network and storage services to allow you to easily deploy and run containerized workloads through the console, kubectl, and APIs.
+Resources are unlimited from a single user's perspective and can be scaled in seconds, helping you cope with service changes and ensure SLAs.
+CCI provides VM-level isolation without compromising the startup speed, offering you better container experience. CCI has the following security features:
+Scientific R&D in fields such as genomics and drug development requires high-performance and high-density computing. In addition, scientific computing is generally task-based and requires quick resource allocation and release. Therefore, a low-cost computing platform with automated O&M is required.
+The following CCI features make it suitable for computing in this scenario:
+Software development enterprises need complete DevOps processes from code submission to application deployment to improve the development efficiency. DevOps processes such as continuous integration/continuous delivery (CI/CD) are generally task-based computing and require quick resource allocation and release.
+The following CCI features make it suitable for computing in this scenario:
+Some types of applications, such as live video, media information, e-commerce, and online education, have obvious service peaks and troughs. For these applications, resources need to be expanded rapidly during peak hours without breaking the bank.
+The following CCI features make it suitable for these applications:
+CCI provides enhanced features, such as security isolation, fast workload deployment, elastic load balancing, and auto scaling.
+The graphical CCI console provides end-to-end user experience. In addition, CCI supports native APIs and kubectl. Before using CCI, you are advised to understand related basic concepts.
+A container image is a special file system that provides the programs, libraries, resources, and configuration files required for running a container. It also contains configuration parameters, for example, anonymous volumes, environment variables, and users. An image does not contain any dynamic data, and its content will not be changed after creation.
+The relationship between an image and a container is similar to that between a class and an instance in object-oriented programming. Images are static, and containers are entities of running images. A container can be created, started, stopped, deleted, and suspended.
+A namespace provides a method of allocating resources among multiple users. When you have a large number of projects and personnel, you can define namespaces by project attributes, such as production, test, and development.
+A pod is the smallest deployable unit of computing that you can create and manage. A pod is a group of one or more containers, with shared storage resources, a unique IP address, and a specification for how to run the containers.
+Pods can be used in either of the following ways:
+Pods are rarely created directly. Instead, controllers such as Deployments are used to create and manage pods. Controllers create and manage multiple pods, and provide replica management, rolling upgrade, and self-healing capabilities. A controller typically uses a pod template to create corresponding pods.
+A label is a key-value pair attached to an object and is used to transfer user-defined attributes.
+Labels are often used to select objects that meet conditions from a group of objects. Labels are currently the most important node grouping method.
+For example, you may create labels (tier=frontend, app=myapp) to mark frontend pods and labels (tier=backend, app=myapp) to mark backend pods. You can then use selectors to select pods with specific labels and apply services or Deployments to these pods.
+A ConfigMap is used to store configuration data as key-value pairs or configuration files. ConfigMaps are similar to secrets, but provide a means of working with strings that do not contain sensitive information.
+A secret is an object for storing sensitive data such as authentication information, certificates, and private keys. A secret can be loaded to a container as environment variables when the container is started.
+CCI needs to be interconnected with the following cloud services. It requires permissions to access these cloud services.
+SoftWare Repository for Container (SWR) provides easy, secure, and reliable management of container images throughout their lifecycles, facilitating quick deployment of containerized services.
+You can create workloads using SWR images.
+Virtual Private Cloud (VPC) allows you to isolate online resources with virtual private networks. You can configure the CIDR block, subnets, and security groups, assign EIPs, and allocate bandwidth for a VPC.
+When creating a namespace, you must associate it with a VPC. All containers to be created in the namespace will run in the VPC.
+Elastic Load Balance (ELB) automatically distributes access traffic to multiple Elastic Cloud Servers (ECSs) to balance the loads. It enhances an application's fault tolerance level and capabilities of providing service externally.
+You can access a container workload from an external network through an elastic load balancer.
+Application Operations Management (AOM) is a one-stop platform for O&M personnel to monitor application and resource operating statuses in real time. By analyzing dozens of metrics, alarms, and logs, you can quickly locate root causes to ensure services run normally.
+AOM collects the .log files of containers from CCI to facilitate log query and viewing. In addition, AOM provides resource monitoring to enable CCI to automatically scale resources.
+Elastic Cloud Server (ECS) allows you to create cloud servers that provide scalable, on-demand computing resources for secure, flexible, and efficient applications.
+CCI imports data to SFS through ECS for container services to use.
+NAT Gateway provides source network address translation (SNAT), which translates private IP addresses to public IP addresses by binding an elastic IP address (EIP) to the gateway.
+You can use NAT Gateway to set SNAT rules to allow containers in a VPC to access the Internet.
+This section describes the constraints on using CCI 2.0.
+The following table lists the constraints on CCI 2.0.
+ +Item + |
+Constraint + |
+
---|---|
Account for creating CCI instances + |
+The account must have complete real-name authentication. + |
+
Number of vCPUs per CCI instance + |
+0.25, 0.5, 1, 2, 4, 8, 16, 32, 48, and 64 + |
+
Supported OS + |
+Only Linux + |
+
Network type + |
+Only VPC + |
+
Item + |
+Value Range + |
+
---|---|
Number of vCPUs + |
+0.25, 0.5, 1, 2, 4, 8, 16, 32, 48, and 64 + |
+
Memory + |
+
|
+
vCPU/memory ratio + |
+Between 1:1 and 1:8 + |
+
Containers in a pod + |
+A maximum of five containers +A single container has as few as 0.25 vCPUs and 0.5 GiB of memory. The maximum resource flavor of a container is the same as that of a pod. + |
+
If no EVS disk is mounted, application data is stored in the rootfs of the container. The following table lists the storage space limit of each pod.
+ +Pod Type + |
+Storage Space + |
+
---|---|
General-computing pod + |
+30 GB + |
+
If you need to assign different permissions to employees in your enterprise to access your CCI resources, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, enabling secure access to your cloud resources.
+With IAM, you can use your account to create IAM users, and assign permissions to the users to control their access to specific resources. For example, some software developers in your enterprise need to use CCI resources but should not be allowed to delete the resources or perform any other high-risk operations. In this scenario, you can create IAM users for the software developers and grant them only the permissions required for using CCI resources.
+If your account does not require individual IAM users for permissions management, skip this section.
+IAM can be used free of charge. You only pay for the resources in your account.
+By default, new IAM users do not have permissions assigned. You need to add a user to one or more groups, and attach permissions policies or roles to these groups. Users inherit permissions from the groups to which they are added and can perform specified operations on cloud services based on the permissions.
+CCI is a project-level service deployed and accessed in specific regions. To assign CCI permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing CCI, the users need to switch to a region where they have been authorized to use this service.
+You can grant users permissions by using roles and policies.
+Table 1 lists all the system-defined roles and policies supported by CCI.
+ +Role/Policy Name + |
+Description + |
+Type + |
+
---|---|---|
CCI FullAccess + |
+Full permissions for CCI. Users granted these permissions can create, delete, query, and update all CCI resources. + |
+System-defined policy + |
+
CCI ReadOnlyAccess + |
+Read-only permissions for CCI. Users granted these permissions can only view CCI resources. + |
+System-defined policy + |
+
CCI CommonOperations + |
+Common user permissions for CCI. Users granted these permissions can perform all operations except creating, deleting, and modifying role-based access control (RBAC) policies, networks, and namespaced resources. + |
+System-defined policy + |
+
CCI Administrator + |
+Administrator permissions for CCI. Users granted these permissions can create, delete, query, and update all CCI resources. + |
+System-defined role + |
+
Table 2 lists the permissions granted by a CCI FullAccess policy.
+ +Action + |
+Description + |
+
---|---|
cci:*:* + |
+Perform all operations on Cloud Container Instance (CCI). + |
+
vpc:*:* + |
+Perform all operations on Virtual Private Cloud (VPC). + |
+
elb:*:* + |
+Perform all operations on Elastic Load Balance (ELB). + |
+
sfs:*:* + |
+Perform all operations on Scalable File Service (SFS). + |
+
evs:*:* + |
+Perform all operations on Elastic Volume Service (EVS). + |
+
aom:*:* + |
+Perform all operations on Application Operations Management (AOM). + |
+
apm:*:* + |
+Perform all operations on Application Performance Management (APM). + |
+
swr:*:* + |
+Perform all operations on Software Repository for Container (SWR). + |
+
nat:*:* + |
+Perform all operations on NAT Gateway. + |
+
kms:cmk:* + |
+Perform all operations on Key Management Service (KMS). + |
+
Table 3 lists the permissions granted by a CCI ReadOnlyAccess policy.
+ +Action + |
+Description + |
+
---|---|
cci:*:get + |
+View details about all CCI resources. + |
+
cci:*:list + |
+List all CCI resources. + |
+
vpc:*:get + |
+View details about all VPC resources. + |
+
vpc:*:list + |
+List all VPC resources. + |
+
ecs:*:get + |
+View details about all ECS resources. + |
+
ecs:*:list + |
+List all ECS resources. + |
+
elb:*:get + |
+View details about all ELB resources. + |
+
elb:*:list + |
+List all ELB resources. + |
+
sfs:*:get* + |
+View details about all SFS resources. + |
+
sfs:*:list + |
+List all SFS resources. + |
+
evs:*:get* + |
+View details about all EVS resources. + |
+
evs:*:list + |
+List all EVS resources. + |
+
aom:*:get + |
+View details about all AOM resources. + |
+
aom:*:list + |
+List all AOM resources. + |
+
amp:*:get + |
+View details about all APM resources. + |
+
apm:*:list + |
+List all APM resources. + |
+
swr:*:get + |
+View details about all SWR resources. + |
+
swr:*:list + |
+List all SWR resources. + |
+
nat:*:get + |
+View details about all NAT Gateway resources. + |
+
nat:*:list + |
+List all NAT Gateway resources. + |
+
kms:cmk:get + |
+Query key information. + |
+
kms:cmk:list + |
+List all keys. + |
+
Table 4 lists the permissions granted by a CCI CommonOperations policy.
+ +Action + |
+Description + |
+
---|---|
cci:rbac:get + |
+Query RBAC policy details. + |
+
cci:rbac:list + |
+List all RBAC policies. + |
+
cci:namespace:get + |
+Query namespace details. + |
+
cci:namespace:list + |
+List all namespaces. + |
+
cci:network:get + |
+Query network details. + |
+
cci:network:list + |
+List all networks. + |
+
cci:namespaceSubResource:* + |
+Perform all operations on namespaced resources. + |
+
cci:addonTemplate:* + |
+Perform all operations on add-on templates. + |
+
cci:addonInstance:* + |
+Perform all operations on add-on pods. + |
+
vpc:*:* + |
+Perform all operations on VPC. + |
+
elb:*:* + |
+Perform all operations on ELB. + |
+
aom:*:* + |
+Perform all operations on AOM. + |
+
apm:*:* + |
+Perform all operations on APM. + |
+
swr:*:* + |
+Perform all operations on SWR. + |
+
nat:*:* + |
+Perform all operations on NAT Gateway. + |
+
kms:cmk:* + |
+Perform all operations on KMS. + |
+
Table 5 lists the actions associated with CCI fine-grained policies.
+ +Action + |
+Description + |
+
---|---|
CCI:rbac:get + |
+Query RBAC details. + |
+
CCI:rbac:list + |
+List all RBAC policies. + |
+
CCI:rbac:update + |
+Update RBAC policies. + |
+
CCI:rbac:delete + |
+Delete RBAC policies. + |
+
CCI:rbac:create + |
+Create RBAC policies. + |
+
CCI:namespaceSubResource:Create + |
+Create resources in namespaces. + |
+
CCI:namespaceSubResource:List + |
+List all resources. + |
+
CCI:namespaceSubResource:Get + |
+Query resources. + |
+
CCI:namespaceSubResource:Delete + |
+Delete resources. + |
+
CCI:namespaceSubResource:Update + |
+Update resources. + |
+
CCI:network:update + |
+Update networks. + |
+
CCI:network:create + |
+Create networks. + |
+
CCI:network:delete + |
+Delete networks. + |
+
CCI:network:list + |
+List all networks. + |
+
CCI:network:get + |
+Query network details. + |
+
CCI:addonInstance:create + |
+Create add-on instances. + |
+
CCI:addonInstance:update + |
+Update add-on instances. + |
+
CCI:addonInstance:delete + |
+Delete add-on instances. + |
+
CCI:addonInstance:get + |
+Query add-on instance details. + |
+
CCI:addonInstance:list + |
+List all add-on instances. + |
+
CCI:addonTemplate:list + |
+List all add-on templates. + |
+
CCI:addonTemplate:get + |
+Query add-on template details. + |
+
CCI:namespace:get + |
+Query details about a specified namespace. + |
+
CCI:namespace:update + |
+Update namespaces. + |
+
CCI:namespace:create + |
+Create namespaces. + |
+
CCI:namespace:list + |
+List all namespaces. + |
+
CCI:namespace:delete + |
+Delete namespaces. + |
+
Table 6 lists the common operations supported by each system-defined policy or role of CCI. Select the policies or roles as required.
+ +Operation + |
+CCI FullAccess + |
+CCI ReadOnlyAccess + |
+CCI CommonOperations + |
+
---|---|---|---|
Creating Deployments + |
+√ + |
+x + |
+√ + |
+
Deleting Deployments + |
+√ + |
+x + |
+√ + |
+
Viewing Deployments + |
+√ + |
+√ + |
+√ + |
+
Upgrading workloads + |
+√ + |
+x + |
+√ + |
+
Scaling workloads + |
+√ + |
+x + |
+√ + |
+
Deleting pods + |
+√ + |
+x + |
+√ + |
+
Viewing pods + |
+√ + |
+√ + |
+√ + |
+
Creating jobs + |
+√ + |
+x + |
+√ + |
+
Deleting jobs + |
+√ + |
+x + |
+√ + |
+
Viewing jobs + |
+√ + |
+√ + |
+√ + |
+
Creating cron jobs + |
+√ + |
+x + |
+√ + |
+
Deleting cron jobs + |
+√ + |
+x + |
+√ + |
+
Viewing cron jobs + |
+√ + |
+√ + |
+√ + |
+
Viewing the resource usage + |
+√ + |
+√ + |
+√ + |
+
Adding EVS volumes + |
+√ + |
+x + |
+√ + |
+
Deleting EVS volumes + |
+√ + |
+x + |
+√ + |
+
Viewing EVS volumes + |
+√ + |
+√ + |
+√ + |
+
Creating ConfigMaps + |
+√ + |
+x + |
+√ + |
+
Deleting ConfigMaps + |
+√ + |
+x + |
+√ + |
+
Viewing ConfigMaps + |
+√ + |
+√ + |
+√ + |
+
Creating secrets + |
+√ + |
+x + |
+√ + |
+
Deleting secrets + |
+√ + |
+x + |
+√ + |
+
Viewing secrets + |
+√ + |
+√ + |
+√ + |
+
Adding SSL certificates + |
+√ + |
+x + |
+√ + |
+
Deleting SSL certificates + |
+√ + |
+x + |
+√ + |
+
Viewing SSL certificates + |
+√ + |
+√ + |
+√ + |
+
Adding log storage + |
+√ + |
+x + |
+√ + |
+
Viewing logs + |
+√ + |
+√ + |
+√ + |
+
Installing add-ons + |
+√ + |
+x + |
+√ + |
+
Deleting add-ons + |
+√ + |
+x + |
+√ + |
+
Viewing add-ons + |
+√ + |
+√ + |
+√ + |
+
Viewing permissions + |
+√ + |
+√ + |
+√ + |
+
Granting permissions + |
+√ + |
+x + |
+x + |
+
Deleting permissions + |
+√ + |
+x + |
+x + |
+
Querying details about a specified namespace + |
+√ + |
+x + |
+√ + |
+
Creating namespaces + |
+√ + |
+x + |
+x + |
+
Deleting namespaces + |
+√ + |
+x + |
+x + |
+
Creating networks + |
+√ + |
+x + |
+x + |
+
Deleting networks + |
+√ + |
+x + |
+x + |
+
Listing all networks + |
+√ + |
+√ + |
+√ + |
+
Querying network details + |
+√ + |
+√ + |
+√ + |
+
A region and availability zone (AZ) identify the location of a data center. You can create resources in a specific region and AZ.
+Figure 1 shows the relationship between regions and AZs.
+ +Select a region closest to your target users for lower network latency and quick access.
+When deploying resources, consider your applications' requirements on disaster recovery (DR) and network latency.
+Before you use an API to call resources, specify its region and endpoint. For more details, see Regions and Endpoints.
+Pods (or container groups) are the smallest deployable units of computing that you can create and manage. A pod or a container group is a group of one or more containers, with shared storage, a unique IP address, and a specification for how to run the containers.
+Pods can be used in either of the following ways:
+