All Products
Search
Document Center

Cloud Architect Design Tools:Detect Alibaba Cloud resources

Last Updated:Sep 27, 2024

This topic describes how to use Cloud Architect Design Tools (CADT) to detect your existing resources in the cloud and automatically generate an architecture for visualized O&M management.

Prerequisites

  • Cloud Config is activated.

  • All Resources is specified on the Monitoring Scope tab of the Service Settings page in the Cloud Config console.image.png

Activate Cloud Config

  1. Log on to the CADT console.

  2. In the top navigation bar, choose Resources > Resource Profiling.image..png

  3. In the dialog box that appears, click Activate Now.Image 7Image 8

    Important

    The resource profiling feature is not immediately available after Cloud Config is activated. Wait until Cloud Config scans all of your resources and generates a resource list. The amount of time that is consumed to scan the resources and generate the resource list varies based on the amount of the resources. In most cases, it takes 30 to 60 minutes.

  4. After you activate Cloud Config, go to the Service Settings page and specify All Resources on the Monitoring Scope tab.image.png

  5. After 30 to 60 minutes, log on to the Cloud Config console. In the left-side navigation pane, choose Resources > Global Resources. On the Global Resources page, verify that all of your resources are displayed. Then, you can use the resource profiling feature of CADT.Image 9

Detect resources

Before you begin

Select All Resources from the resource scope drop-down list as the resource scope. This operation prevents inconsistency in detection results.

image..png

Procedure

  1. Log on to the CADT console.

  2. In the top navigation bar, choose Resources > Resource Profiling.image..png

  3. In the Select detected resources dialog box, click Resource Profiling.image

  4. In the dialog box that appears, select a region in which you want to detect resources from the drop-down list. You can select multiple regions at a time. If no region is selected, resources in all regions are detected. Then, click OK. In this example, resources in all regions are detected.

    • You can select multiple regions in which you want to detect resources.image..png

    • If no region is selected, resources in all regions are detected.Image 1

  5. Wait until the resources are detected. The amount of time that is consumed to detect the resources varies based on the amount of your resources.Image 11

  6. You can view the detection results on the By Network and By Type tabs. You can also search for the resources by using tags based on your business requirements. For more information, see Tag.

    • On the By Network tab, resources are displayed at different network levels, including global resources, regional resources, virtual private cloud (VPC) resources, and vSwitch resources.image..png

      • Overview: displays the number of resources in each region. You can click the number of resources in a region to view the resources that reside in the region.image..png

      • Global Resources: displays the resources at the global level.image..png

      • Regional Resources: displays the resources in a specific region. You can search for the resources that reside in a specific region by selecting the region.image..png

      • VPC Resources: displays the resources in a specific VPC.image..png

      • vSwitch Resources: displays the resources in a specific vSwitch.image..png

    • On the By Type tab, resources are displayed based on the resource type.

      • Overview: displays the number of resources of each resource type.Image 20

      • Resource Search: allows you to select a resource type to view the resources of this resource type.image..png

    • Tag Key and Tag Value: CADT allows you to filter the detected resources by using tags. Tags are used to identify resources. Tags allow you to categorize, search for, and aggregate resources that have the same characteristics from different dimensions. This facilitates resource management. For more information, see Tag.4

    • Resource Group Name: CADT allows you to filter the detected resources by selecting a resource group. You can select a resource group from the Resource Group Name drop-down list. Then, you can view the resources that belong to this resource group.image..png

  7. You can search for the resources by network level or resource type in combination with a tag or resource group.

Generate an architecture

After resource profiling is complete, you can use CADT to generate an architecture based on the existing resources that are detected. This makes O&M management more intuitive and convenient.

  1. Select the resources that you want to use to generate the architecture. You can search for the resources by network level or resource type in combination with a tag. For example, if you want to generate an architecture based on the Elastic Compute Service (ECS) and ApsaraDB RDS resources in a specific zone of a specific region, select a region, a VPC, and a zone in sequence in the vSwitch Resources section of the By Network tab. Then, the resources that meet the conditions are displayed in the resource list.image..png

  2. Select the resources in the resource list and click Generate Architecture in the lower-right corner.

    Note

    Move the pointer over Selected Resources to view the selected resources. If you want to remove a resource that is selected, click Remove in the Action column of the resource.image..png

    image..png

  3. In the Architecture Configuration dialog box, configure the following parameters and click OK.

    • Display Security Groups: specifies whether to display the security groups to which the ECS resources belong in the architecture. We recommend that you hide the security groups if you select a large number of ECS resources. Otherwise, the architecture may look messy.

    • Display Auto Scaling (ESS): specifies whether to display Auto Scaling resources in the architecture.

    • Verify Resource Group: specifies whether to verify resource groups. If you turn on this switch, the resource groups to which the resources belong are verified when the architecture is generated. Only the resources that belong to the selected resource group are displayed in the architecture.

    • Whether to verify the selected tag: specifies whether to verify the tags added to resources. If you turn on this switch, the tags added to the resources are verified when the architecture is generated. Only the resources to which the selected tag is added are displayed in the architecture.

    • Hide ECS Instances in ACK Clusters: specifies whether to hide the ECS instances that make up the Container Service for Kubernetes (ACK) cluster in the architecture.

    • Whether to reserve empty nodes (REGION, VPC, VSWITCH): specifies whether to display the region, VPC, and vSwitch nodes that do not have any resources in the architecture.image

  4. Wait until the architecture is generated.image..png

Import resources

After the architecture is generated, each resource is marked with Import. At this time, the architecture does not contain actual resources. You must import the corresponding resources into the architecture before you can manage those resources in the architecture.

  1. Before you import resources, enable the Edit mode and save the generated architecture as an application.image..png

  2. The state of the application changes to Modified. Then, click Import Resource in the upper-right corner.image..png

  3. In the Import Resource List dialog box, all the existing resources to be imported are listed. Confirm the information and click Import.

    Note

    When you check the resources to be imported, you can enable cloud monitoring for the application.

    image..png

  4. Wait until the resources are imported. Then, click Back to return to the CADT application page.image..png

  5. On the CADT application page, a green tick is displayed next to each resource, which indicates that the resource is imported. Then, you can manage the application in a visualized manner by using the architecture.image..png