You can save a Cloud Architect Design Tools (CADT) application as a custom template for reuse.
Create a CADT application
-
Log on to the CADT console.
-
Click New > Application.
-
This example shows how to create a simple ECS application. In the Quick Create panel, drag the Single Region, Single Zone network topology onto the canvas.
-
In the product search box on the left, enter ECS. From the search results, select ECS and drag it onto the vSwitch on the canvas.
-
Configure the parameters for the region, VPC, vSwitch, and ECS instance.
-
Double-click the Region component. In the properties panel on the right, set Region to China (Beijing). The region name in the upper-left corner of the canvas updates to the selected region.
-
Double-click the VPC component. In the properties panel, set Purchase Method to Create New, VPC Name to vpc-bj, and CIDR block to 192.168.0.0/16.
-
Double-click the vSwitch component. In the properties panel, set Purchase Method to Create New, vSwitch Name to vswitch-h, Availability Zone to China (Beijing) Zone H, and IPv4 CIDR block to 192.168.10.0/24 (252 available IP addresses).
-
Double-click the ECS component and configure its parameters as described in the following table. For other parameters, you can keep the default values or change them as needed.
Parameter
Description
Purchase method
Create New
Availability zone
Defaults to the availability zone of the vSwitch that contains the ECS instance.
Quantity
1
Payment method
pay-as-you-go
Instance type
ecs.c5.large (2 vCPU, 4 GiB)
Image
Alibaba Cloud Linux 3.2104 LTS 64-bit
System disk type
ESSD cloud disk
System disk capacity
40 GiB
Performance level
PL0
Instance name
ecs
Login credentials
Set a custom password.
-
-
After you configure all the resources, click Save. In the dialog box that appears, set Application Name and click OK.
Save the application as a custom template
-
In the top navigation bar, click Application > My Applications.
-
In the My Applications list, find your application and click Save as Template.
-
In the Save as Template dialog box, configure the following parameters and click OK.
Parameter
Description
Template name
The name of the custom template. The name must be 2 to 128 characters in length, start with a letter or a Chinese character, and can contain digits, underscores (_), and hyphens (-).
Region tag
The region to associate with the template.
Set as default template
If selected, this template is used by default when you create an application.
-
After the template is saved, click New > My solution > Template to view the custom template. You can click the template card to open a menu with actions such as Create Application from Template, Edit Template, Copy Template, Share Template, Delete Template, View Template Variables, and View Configurable Properties.