Using Alibaba Cloud Container Compute Service (ACS) for the first time
When you use Alibaba Cloud Container Compute Service (ACS) for the first time, activate the service and authorize the specified roles to access your cloud resources. ACS can call related services to create clusters and save logs if and only if the roles are correctly granted. These services include Elastic Compute Service (ECS), Object Storage Service (OSS), Apsara File Storage NAS (NAS), CPFS, and SLB. After you activate the service, authorize the specified roles, and activate related cloud products, you can start using ACS.
Step 1: Activate ACS
-
Log on to the Alibaba Cloud Container Compute Service (ACS) console. On your first logon, you are redirected to the activation guide page.
-
Click Activate. On the new page, create a service-linked role, and then click Buy Now.
-
After you complete the activation steps, click Next on the activation guide page to perform the Role Authorization step.
Step 2: Role Authorization
Before you use Alibaba Cloud Container Compute Service (ACS), authorize the specified roles to access your cloud resources.
Both Alibaba Cloud accounts (primary accounts) and RAM users (subaccounts) with administrative permissions can authorize system default roles.
-
Click Authorize Now. At the bottom of the RAM Quick Authorization page, click Authorize.
-
Product optimizations and adjustments changed how roles are authorized for ACS. To create clusters that run version 1.33.3-aliyun.1 or later, use the new Cloud Resource Access Authorization to authorize roles for Container Service for Kubernetes.
-
To create clusters that run version 1.32 or earlier, use the original Cloud Resource Access Authorization to authorize roles.
-
-
After you complete the preceding authorization, click Close. If the authorization status shows Service role authorized, the authorization is successful.
For best practices on RAM authorization for ACS, see Authorization best practices.
-
Click Next, and then click Log on to Console to complete the activation guide.
Step 3: Activate related cloud products
Features of Alibaba Cloud Container Compute Service (ACS) depend on or are associated with other cloud resources. Therefore, activate the related cloud products.
Only Alibaba Cloud accounts (primary accounts) can activate cloud products. RAM users cannot activate cloud products at this time.
Log on to the Alibaba Cloud website with an Alibaba Cloud account (primary account) and activate the following related cloud products as needed:
-
Required: Services that ACS clusters strictly depend on. These must be activated.
-
Recommended: Services that cluster creation and application management commonly rely on.
-
Optional: Services that can be activated selectively based on business architecture and O&M requirements.
|
Product name |
Activation link |
Activation type |
Description |
|
Container Service for Kubernetes (ACK) |
Required |
Used to create and manage ACS-type ACK clusters. |
|
|
Virtual Private Cloud (VPC) |
Required |
Used to build the network environment and routing rules for clusters. |
|
|
Server Load Balancer (SLB) |
Required |
Used to create load balancers for clusters. |
|
|
NAT Gateway |
Recommended |
Used to enable internet access and public image pulling for clusters. |
|
|
Container Registry (ACR) |
Recommended |
Used to securely host cloud-native assets and manage their full lifecycle. |
|
|
Simple Log Service (SLS) |
Recommended |
Used to collect and retrieve logs of ACS cluster components and applications. |
|
|
CloudMonitor |
Recommended |
Used to monitor the running status of cluster nodes and applications. |
|
|
Managed Service for Prometheus |
Recommended |
Provides Prometheus-based monitoring and alerting for ACS clusters. |
|
|
Apsara File Storage NAS |
Optional |
Provides a NAS-based file storage solution for cluster application data. |
|
|
Cloud Parallel File Storage (CPFS) |
Optional |
Provides a CPFS-based file storage solution for cluster application data. |
|
|
Alibaba Cloud DNS PrivateZone |
Optional |
Uses the internal DNS service to provide domain name access for ACS applications. |
Default roles for ACS
|
Role |
Description |
|
AliyunServiceRoleForAcc |
This role is a service-linked role. ACS uses it during cluster management operations to access your resources in services such as ACK, ECS, VPC, SLB, and Application Real-Time Monitoring Service (ARMS). |
|
AliyunCCCSIPluginRole |
By default, ACS clusters use this role to access your resources in storage services such as cloud disks and NAS. |
|
AliyunCCCCMServiceRole |
ACS clusters use this role by default to access your resources in load balancing services such as SLB and Application Load Balancer (ALB). |
|
AliyunCCNECRole |
By default, ACS clusters use this role to access resources in network-related services such as VPC and ECS, and to create and use Elastic IP Addresses (EIPs). |
|
AliyunCCKubernetesAuditRole |
ACS clusters use this role by default to access Simple Log Service (SLS) resources and collect and display Kubernetes audit logs. |
|
AliyunCCManagedLogRole |
By default, ACS clusters use this role to access SLS resources and collect and display ACS container logs. |
|
AliyunCCManagedArmsRole |
ACS clusters use this role by default to access ARMS resources, collect and display resource metrics for ACS containers, and monitor application performance metrics. |
|
AliyunCCCISDefaultRole |
By default, ACS clusters use this role to access resources in cloud services such as ECS, ACK, VPC, and SLB. ACS also uses this role to periodically check the health status of Kubernetes and its components. |
|
AliyunCCManagedAcrRole |
ACS clusters use this role by default to access Container Registry (ACR) and obtain temporary account credentials for starting ACS pods. |
|
AliyunCCForResourceProviderRole |
By default, ACS clusters use this role to access the cloud resources required to create container instances, including SLB, VPC, and vSwitches. |
|
AliyunCCManagedVirtualNodeRole |
ACS clusters use this role by default to access the cloud resources required to create virtual nodes, including PrivateZone DNS resolution and VPC. |
|
AliyunCCManagedACSBrokerRole |
By default, ACS clusters use this role to access the cloud resources required to report O&M information such as container instance status. |
|
AliyunCSDefaultRole |
Authorizes Container Service Managed Kubernetes to access your cloud resources through this role. |
|
AliyunCSManagedKubernetesRole |
Authorizes Container Service Managed Kubernetes to use this role to access resources of other cloud products. |
References
-
For more information about ACS, see Product overview.
-
Quickly deploy applications in an ACS cluster and monitor their running status. For instructions, see Quick start: Build a generative AI chat app with ACS, Use ACS with kubectl, and Deploy a stateless application with an Nginx image.