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
Managed Threat Detection
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

Enabling COC

Updated on 2024-11-20 GMT+08:00

Upon the first login, you need to obtain the agency permissions to access other cloud services to use COC to perform automated O&M and fault management on cloud service resources. To use COC, create agencies named ServiceLinkedAgencyForCOC and ServiceAgencyForCOC. For details about permissions contained in the agency, see Table 1 and Table 2.

Figure 1 Enabling COC

Table 1 Permissions in ServiceAgencyForCOC

Permission

Description

Project [Region]

Application Scenario

IAM ReadOnlyAccess

Read-only permissions for IAM

Global service [Global]

Used to read personnel information under an IAM account in the personnel management module.

RMS ReadOnlyAccess

Read-only permissions for RMS

Global service [Global]

Used to synchronize managed cloud service resources in the resource management module.

DCS UserAccess

Common user permissions for DCS, excluding permissions for creating, modifying, deleting DCS instances and modifying instance specifications.

Permissions on all resources (including new projects in the future)

Used to inject faults into DCS resources during chaos drills.

COCServiceAgencyDefaultPolicy

Service agency policy for cross-account access to COC

Permissions on all resources (including new projects in the future)

Used to perform batch resource operations, such as batch restarting ECS and RDS service instances and changing OSs.

Table 2 Permissions in ServiceLinkedAgencyForCOC

Permission

Action

Application Scenario

Delivering an agent job

aom:uniagentJob:create

Used to execute scripts, jobs, and scheduled tasks during automated O&M.

Querying logs of an agent job

aom:uniagentJob:get

Used to view the logs of scripts, jobs, and scheduled tasks during automated O&M.

Querying the user list

IdentityCenter:user:list

Used to synchronize personnel information during personnel management.

Creating a topic

smn:topic:create

Used to add notification subscription information during personnel management.

Querying the list of topics

smn:topic:listTopic

Used to send notifications in scenarios such as fault management and automated O&M.

Updating a topic

smn:topic:updateTopic

Used to modify notification subscription information during personnel management.

Querying details of a topic

smn:topic:get

Used to send notifications in scenarios such as fault management and automated O&M.

Deleting a topic

smn:topic:delete

Used to delete notification subscription information during personnel management.

Querying a topic policy

smn:topic:listAttributes

Used to send notifications in scenarios such as fault management and automated O&M.

Deleting a topic policy

smn:topic:deleteAttribute

Used to delete notification subscription information during personnel management.

Updating a topic policy

smn:topic:updateAttribute

Used to modify notification subscription information during personnel management.

Creating a subscription for a topic

smn:topic:subscribe

Used to add notification subscription information during personnel management.

Querying the subscription list of a specified topic

smn:topic:listSubscriptionsByTopic

Used to send notifications in scenarios such as fault management and automated O&M.

Querying the subscription list of all topics

smn:topic:listSubscriptions

Used to send notifications in scenarios such as fault management and automated O&M.

Deleting the subscription information from a specified topic

smn:topic:deleteSubscription

Used to delete notification subscription information during personnel management.

Sending a message

smn:topic:publish

Used to send notifications in scenarios such as fault management and automated O&M.

Listing IAM users

iam:users:listUsersV5

Used to synchronize personnel information during personnel management.

Obtaining Information about an IAM user

iam:users:getUserV5

Used to synchronize personnel information during personnel management.

Deleting a service-linked agency

iam:agencies:deleteServiceLinkedAgencyV5

Used to delete an agency associated with a service from IAM.

Viewing all the resource lists of a user

rms:resources:list

Used to synchronize the resource lists of a managed account in the resource management module.

Querying parameter details

coc:parameter:*

Used by the automated O&M function to reference parameters in the parameter center.

Obtaining the server password pair

ecs:serverKeypairs:get

Used to reinstall or change an OS, and set the password pair.

Obtaining the server password pair list

ecs:serverKeypairs:list

Used to reinstall or change an OS, and query the password pair list.

Stopping ECSs in batches

ecs:cloudServers:stop

Used to stop ECSs in batches during resource O&M.

Restarting ECSs in a batch

ecs:cloudServers:reboot

Used to restart ECSs in batches during resource O&M.

Starting ECSs in batches

ecs:cloudServers:start

Used to start ECSs in batches during resource O&M.

Changing the OS of an ECS

ecs:cloudServers:changeOS

Used to change the ECS OSs in batches during resource O&M.

Reinstalling ECS OSs

ecs:cloudServers:rebuild

Used to reinstall ECS OSs in batches during resource O&M.

Obtaining ECS information

ecs:servers:get

Used to obtain cloud service information during batch operations in resource O&M.

Listing accounts in an organization

organizations:accounts:list

Used to query accounts in the current organization in the cross-account scenario.

Listing delegated administrator accounts

organizations:delegatedAdministrators:list

Used to query delegated administrator accounts in the current organization in the cross-account scenario.

Getting organization information

organizations:organizations:get

Used to query information about the current organization in the cross-account scenario.

Listing organization units

organizations:ous:list

Used to query organization units in the cross-account scenario.

Listing trusted services

organizations:trustedServices:list

Used to query the list of trusted services enabled for the current organization in the cross-account scenario.

Listing roots of an organization

organizations:roots:list

Used to query organization roots in the cross-account scenario.

Modifying or deleting agency permissions

After COC is enabled, if an agency has excessive or insufficient permissions, you can modify the agency policy on IAM .

To modify the permissions, validity period, and description of an agency, click Modify in the row containing the agency you want to modify.

Figure 2 Agencies

On the authorization record page, you can authorize the agency or delete the authorized permissions.

Figure 3 Permission granting records
NOTE:
  • You can change the cloud service, validity period, description, and permissions of cloud service agencies, except the agency name and type.
  • Modifying the permissions of cloud service agencies may affect the usage of certain functions of cloud services. Exercise caution when performing this operation.
  • For more information about agencies, visit IAM.

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