Configure resource parameters

更新时间:
复制 MD 格式

This topic describes how to configure resource parameters for an application in the Cloud Architecture Design Tool (CADT) console and includes important considerations.

Before you begin

  • When you configure resource parameters on the canvas, make sure that the canvas is in Edit mode.

  • Double-click the product or edge that you want to configure. Then, configure the resource properties in the dialog box that appears.

  • The parameter values of inner products in an application architecture depend on those of the outer products. Therefore, you must configure product parameters from the outermost layer to the innermost layer. If you change the parameters of an outer product, you must reopen the configuration dialog box for each inner product to confirm that the settings are still correct.

  • Some edges between resources are for display purposes only. Other edges represent an association between resources and contain communication parameters that you must configure.

Procedure

  1. Log on to the CADT console.

  2. On the Applications > My Applications page, find the application architecture that you created and click View Architecture Diagram. This topic uses the application architecture created in Create an application as an example.

    Note

    If the application is already open on the CADT canvas, you can skip this step.

  3. Switch to Edit mode to edit the application.

  4. Configure the resource parameters from the outermost layer to the innermost layer of the application architecture.

    1. First, double-click the region and select the region where you want to deploy your resources.

      Note

      For a network topology in a single region and a single zone, the region, virtual private cloud (VPC), and vSwitch are configured by default. You can use the default configurations if they meet your requirements.

      You can also set the border style if needed.

  5. Follow the same method to configure the VPC, vSwitch, Elastic Computing Service (ECS), security group, ApsaraDB RDS (RDS), and elastic IP addresses (EIPs).

  6. After you configure the parameters for all products, if you switch the region or zone, you must reopen the configuration dialog box for each product to confirm that the parameter settings are still correct.

    1. For example, switch the zone of the vSwitch to Beijing Zone H.

    2. CADT re-verifies the inventory. Click Confirm Modification when prompted.

    3. After the modification is complete, double-click to open the configuration dialog boxes for the ECS and RDS instances to confirm that their parameter settings are correct.image

  7. After you configure the product parameters, configure the edges between resources.

    Note

    Some edges are for display purposes only and do not require configuration. Other edges represent associations or contain communication parameters between resources, such as the edges between an ECS instance and an RDS instance, or between a Server Load Balancer (CLB) instance and an ECS instance. These edges must be configured.

    1. The edge between an EIP and an ECS instance indicates that CADT automatically attaches the EIP to the ECS instance after the resources are created. No configuration is required.

    2. Double-click the edge between the ECS instance and the RDS instance to configure the database account and logon password.

      Note

      This step is optional. You can also create the database account after the RDS instance is created.

  8. After you configure all resource parameters, click the Save button in the upper-right corner.

    Note

    If you change the application architecture or product parameter values, save your changes promptly.

  9. You have now configured the parameters for all resources in the application.

What to do next

Deploy an application