Synchronizing Resources

Updated on 2025-03-17 GMT+08:00

Scenarios

If resource data is not refreshed in time, you can manually synchronize resource data to ensure real-time and reliable data.

NOTE:

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.

Precautions

The duration of the resource synchronization tasks depends on the total amount of resource data being synchronized. The maximum synchronization time is approximately 5 minutes.

Synchronizing Resources

  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.
    NOTE:
    • To synchronize resources of other cloud vendors, add accounts of other cloud vendors in the multi-cloud configuration. For details, see Accessing to Other Cloud Vendors.
    • Prerequisites for synchronizing Alibaba Cloud resources:
      • Enable the resource center service on Alibaba Cloud.

        Log in to the Alibaba Cloud web page, access the resource management page, and enable 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 must enable the Config service.

        Access the Config service, select the Region where resources are to be synchronized, and enable the Config service in one click.

      • Add actions to the account corresponding to the AK/SK.

        Create a policy: Access the IAM service, create a policy on the policy 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.

        Add a policy to a user: On the IAM console, click user and add permission, select the policy created in the previous step, and click Next to complete permissions adding.

  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 on the right of the filter box.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback