All Products
Search
Document Center

Resource Orchestration Service:Get started with ROS Infrastructure Composer

Last Updated:Mar 24, 2025

This topic describes how to use Resource Orchestration Service (ROS) Infrastructure Composer to deploy an Elastic Compute Service (ECS) instance that is associated with an elastic IP address (EIP) and depends on a virtual private cloud (VPC), vSwitch, and security group. This can help you familiarize yourself with how to compose a resource architecture and implement automated deployment by using ROS Infrastructure Composer.

Prerequisites

An Alibaba Cloud account is created and real-name verification is completed for the account. For more information, see Create an Alibaba Cloud account and FAQ about real-name verification of Alibaba Cloud accounts.

Step 1: Drag resources and create a connection

  1. Go to the ROS Infrastructure Composer module in the ROS console.

  2. In the left-side navigation pane, click Infrastructure Templates. On the Infrastructure Templates page, click Create Infrastructure Template. In the dialog box that appears, select ROS and click OK.

  3. Drag the Single-zone Network node from the left-side navigation pane to the canvas.

  4. Drag the ECS Instance node from the left-side navigation pane and place the node inside the vSwitch node on the canvas.

  5. Drag the EIP node from the left-side navigation pane and place the node inside the region node on the canvas.

  6. On the canvas, click the EIP node to highlight the node and display a connector port on each of the four sides. Click a connector port and drag the connector port to the connector port of the ECS Instance node. This way, a connection is created between the two resource nodes. The following figure shows the connection.image

Step 2: Configure resource properties

  1. On the canvas, click the ECS Instance node. On the right-side form, configure properties for the ECS instance. The property values are displayed based on the actual query result. The following section provides an example on how to configure the properties:

    • InstanceType: Specify ecs.t5-lc1m2.large as the property value.

    • ImageId: Select Alibaba Cloud Linux and 3.2104 LTS 64 bit Quick Boot from the relevant drop-down lists.

    • SystemDiskCategory: Specify ESSD as the property value.

    image

  2. On the canvas, click the EIP node. On the right-side form, configure properties for the EIP. The property values are displayed based on the actual query result. The following section provides an example on how to configure the properties:

    • InstanceChargeType: Specify Pay-as-you-go as the property value.

    • InternetChargeType: Specify By Bandwidth as the property value.

      image

Step 3: Implement automated deployment

  1. In the upper-right corner above the canvas, click Deploy.

  2. In the deployment settings step of the Create Stack panel, click Next.

  3. In the Price Preview step, view the estimated fees of all resources. You can also click Cost Details to view the details of billable items.

  4. Click Create to implement automated deployment and view the deployment status and events of the resources in real time.

Step 4: (Optional) Delete the stack

You can delete a stack that you no longer need and release resources from the stack to prevent unnecessary costs.

  1. In the panel below Deploy, click the stack ID.

  2. On the stack details page, click Delete.

    image

  3. In the Delete Stack dialog box, set the Method to Delete the Stack parameter to Release Resources.

  4. Click OK.