Visually design your resource architecture, edit resource properties in forms, get pricing information, and automate deployment by creating an infrastructure template.
Design resource architecture
-
Log on to the ROS Architecture Editor console.
-
In the navigation pane on the left, choose Infrastructure Templates and click Create Infrastructure Template. In the dialog box, select ROS or Terraform, and then click OK.
-
If you select ROS, the ROS Architecture Editor provides ROS resource types. After you design the resource architecture, the ROS Architecture Editor automatically generates an ROS template.
-
If you select Terraform, the ROS Architecture Editor provides Terraform resource types. After you design the resource architecture, the ROS Architecture Editor automatically generates a Terraform template.
-
-
In the navigation pane on the left, expand a resource group to view and select the required resources. For example, drag resources such as Single-zone Network and ECS instance onto the canvas.
Note-
You can use the Search for resource types box at the top to search for required resource types. The search supports both Chinese and English.
-
The Quick Create group at the top contains common network architectures and cloud resources for quick selection.
-
-
On the canvas, if two resources are related, such as an Elastic IP Address bound to an ECS instance, you must connect them with a line.
NoteTo connect resources, click a resource to highlight it and reveal connection points on each side. Click and hold a connection point, drag the line to the other resource, and then release the mouse button.

(Optional) Edit region and resource properties
-
On the canvas, click Regions (
). In the properties pane on the right, select the region where you want to deploy resources, for example, China (Hangzhou). -
On the canvas, click Zone (
). In the properties pane on the right, select the availability zone for deployment, for example, Zone G.
The generated template includes the availability zone as a hidden parameter by default. If you want to select an availability zone before deployment, click Whether to Hide Parameters to display the parameter.
-
On the canvas, click a resource to edit its properties in the form on the right. For example, you can edit the properties of an ECS instance (ECSInstance), such as its Billing Method, Network Configuration, and Storage.
Other configuration groups include Other Billing Settings, Instance, Image and System Disk, Bandwidth and Security Group, Management Settings, Command Settings, Deployment Settings, Other Settings, and Resource Settings. At the top of the pane, select the Select Existing Resource checkbox to associate an existing resource.
(Optional) Manage template parameters and outputs
-
In the upper-right corner, click Templates. On the Template Content tab, you can view the automatically generated ROS or Terraform template.
-
Click the Parameter tab to manage template parameters.
-
Click the Output tab to manage template outputs.
For more information, see Manage infrastructure template parameters and outputs.
(Optional) Set template name
-
In the upper-left corner, click the
icon, and then select Rename from the drop-down list. -
Enter a name for the infrastructure template and click OK.
(Optional) Save the template
In the upper-left corner, click the
icon, and then click Save Changes. Select Save As Draft or Save as New Version. Both options save the generated template to the My Templates page in the ROS console.
-
If you select Save As Draft, the template is saved as a draft. This version undergoes a basic syntax check, but ROS does not validate its resource properties.
-
If you select Save as New Version, the template is saved as an official version. The version number increments automatically, such as v1, v2, and so on. ROS performs a strict syntax validation on this version.
The ROS Architecture Editor has an auto-save feature that triggers when you modify the architecture diagram. By default, changes are saved as a draft.