All Products
Search
Document Center

Cloud Architect Design Tools:Create a custom application

Last Updated:Aug 30, 2024

This topic provides an example to describe how to use Cloud Architect Design Tools (CADT) to create a custom application from scratch and the usage notes.

Sample application architecture

The following figure shows the application architecture that is created in this example. In this architecture, an Elastic Compute Service (ECS) instance, an elastic IP address (EIP), and an ApsaraDB RDS instance are created in the Singapore region. The EIP is associated with the ECS instance, and the private IP address of the ECS instance is automatically added to the whitelist of the ApsaraDB RDS instance.导出架构图..jpeg

Create a custom application in CADT

  1. Log on to the CADT console.image

  2. In the top navigation bar, choose Create > Create Application.image

  3. Build the network environment. CADT provides various network topology suites that you can directly drag and use. In this example, the network topology of the application architecture is Single Region, Single Zone. In the left-side navigation pane, click Quick Start. From the Quick Start drop-down list, drag the Single Region, Single Zone suite to the canvas on the right. The following figure shows an example.image

  4. Refer to the architecture design in the Sample application architecture section of this topic. Find the ECS instance, security group, ApsaraDB RDS instance, and EIP from the service list on the left or by searching keywords, and drag them to the corresponding locations in the architecture diagram.

    Note

    Each Alibaba Cloud resource has a corresponding resource level. When you drag a resource in CADT, you are automatically prompted to which the resource should be placed based on the change in the background colors of the Region, VPC, and vSwitch modules.image

    image

  5. Click Line in the top toolbar to draw a line between the EIP and ECS instance and between the ECS instance and ApsaraDB RDS instance.

    Note

    This operation automatically associates the resources. After the resources are deployed, CADT automatically associates the EIP with the ECS instance and adds the private IP address of the ECS instance to the whitelist of the ApsaraDB RDS instance.

    image..png

  6. After the application architecture is designed, click Save in the upper-right corner. In the dialog box that appears, configure the ApplicationName parameter and click OK.

    Note
    • The application name must be unique within the current account.

    • The application name must be 2 to 128 characters in length. It must start with a letter but cannot start with http:// or https://. It can contain letters, digits, underscores (_), and hyphens (-).

    image..png

  7. In the upper-left corner of the page, you can find that the status of the application changes to Modified.image

  8. A custom application is created.

    Note

    At this point, an architecture topology is created and saved as an application, but no resources have been actually deployed.

    image..png

  9. In the navigation bar, choose Application > My Applications. On the page that appears, you can view the created application.image..png

  10. Move your pointer over the application and click View Architecture to open the application on the canvas again.image..png

  11. After the application is opened on the canvas, the View mode is enabled by default to prevent unexpected modifications. To edit the application architecture, click View in the top toolbar to switch the mode to Edit.image..pngimage..png

What to do next

Configure resource parameters