Updated on 2025-08-12 GMT+08:00

Synchronizing Resources

Scenarios

If resource data is not properly displayed, you can trigger the resource synchronization function to manually update the data. This operation can calibrate the data status in a timely manner, ensure that the resource information is always up to date and reliable, and provide accurate basis for service decision-making and system operations.

The system now employs real-time resource synchronization, replacing the outdated asynchronous approach. This great improves the synchronization efficiency and enables instant response with zero delay.

Concepts:

  • A resource is an entity that you can use on the cloud platform. A resource can be an Elastic Cloud Server (ECS), an Elastic Volume Service (EVS) disk, or a Virtual Private Cloud (VPC).
  • To synchronize resources, you must have the rms:resources:list permission. This permission is used to call RMS APIs to obtain resources in all regions to which the current user belongs.

Prerequisites

  • To synchronize resources of other cloud vendors, ensure that you have added accounts of other cloud vendors in the multi-cloud configuration. For details, see Connecting to Other Cloud Vendors.
  • Prerequisites for synchronizing Alibaba Cloud resources:

    You have enabled the resource center service on Alibaba Cloud.

    You have logged in to the Alibaba Cloud web page, accessed the resource management page, and enabled the resource center feature. If you have already enabled the resource center feature, you can use it directly.

  • Prerequisites for synchronizing AWS resources:
    • The master account has enabled the Config service.

      You have accessed the Config service, select the region where resources you want to synchronize are located, and enabled the Config service in one click.

    • Add actions to the account corresponding to the AK or SK.
      • Creating a policy: Access the IAM console, create a policy on the Policies page. Select the EC2 service, filter operations and select DescribeRegions, add the Config service, filter operations and select SelectResourceConfig and BatchGetResourceConfig, click Next and create the policy.
      • Adding a policy to a user: On the IAM console, choose Users user and add permissions, select the policy created in the previous step, and click Next to complete permissions adding.
  • Prerequisites for synchronizing Azure resources:
    • You have registered an application so that the Microsoft Entra ID can be used for identity authentication.

      [Azure] Log in to Azure, search for Microsoft Entra ID. Choose manage in the navigation pane and click App registrations. On the page that is displayed, specify Name and Supported account types.

    • You have set the application credentials.

      In the navigation pane, choose manage > Certificates & secrets > Client secrets. Click New Client secret, and specify Description and Expires. Confirm the information and click Add.

    • You have configured the API access permission for the application.

      In the navigation pane, choose manage > API permissions. On the API permissions page, click Add a permission > Azure Service Management, select user_impersonation, and click Add permissions. The API permission list is displayed. On the API permissions page, click Grant admin consent for Azure Active Directory.

    • You have added the permissions for accessing the application on the Subscriptions page.

      On the Subscriptions page, select Access control (IAM). On the access control page, click Add role assignment. Select Reader and click Next. Select User, group, or service principal and click Select members. Search for and select the newly created application to complete the binding.

Synchronizing Resources Based on Cloud Vendors

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Select the cloud vendor whose resources are to be synchronized.

    Huawei Cloud is selected by default.

  4. Select the account to which the resources to be synchronized belong.

    By default, My Resources is selected.

  5. Select the resource type to be synchronized.

    By default, Elastic Cloud Server (ECS) is selected.

  6. Click Synchronize Resource to synchronize resources.

Synchronizing Resources Based on Accounts

  1. Log in to COC.
  2. In the navigation pane, choose Resources > Application and Resource Management.
  3. Click Multi-cloud Configurations in the upper right corner.
  4. In the access list, select the account whose resources you want to synchronize and click Synchronize Resource in the Operation column.

    The system will synchronize resources under the selected account.