All Products
Search
Document Center

Resource Orchestration Service:Billing of ROS Infrastructure Composer

Last Updated:Nov 19, 2025

This topic describes the billing of ROS Infrastructure Composer and how to view billing details in the console or by calling an API operation.

Billable items and billing methods

Billable item

Description

Billing method

ROS Infrastructure Composer

None

None

Alibaba Cloud resources that are created in a stack, such as Elastic Compute Service (ECS) and ApsaraDB RDS instances

You are charged based on the billing methods of the created Alibaba Cloud resources.

  • If you create a Virtual Private Cloud (VPC) type ECS instance in a Resource Orchestration Service (ROS) template, you are charged for the ECS instance. For more information, see Billing overview.

  • If you create a VPC type ApsaraDB RDS instance in a ROS template, you are charged for the ApsaraDB RDS instance. For more information, see Billable items.

Billing example

This section provides an example of creating a single-zone network and a pay-as-you-go Elastic IP Address (EIP) to demonstrate how to query the billing details for the created resources.

To create the architecture diagram, perform the following steps:

  1. Log on to the ROS Infrastructure Composer console.

  2. In the navigation pane on the left, select Infrastructure Templates, click Create Infrastructure Template, select ROS or Terraform in the dialog box that appears, and then click OK.

  3. From the navigation pane on the left, drag Single-zone Network to the canvas.

  4. From the navigation pane on the left, drag EIP into the region on the canvas.

  5. On the canvas, click EIP. In the form on the right, configure the resource properties. For example:

    • Set InstanceChargeType to Pay-as-you-go.

    • Set InternetChargeType to Pay-by-bandwidth.

    image.png

You can query the billing details in one of the following ways:

  • Query the billing details in the console.

    1. In the upper-right corner, click Deploy to open the one-stop deployment page.

    2. On the deployment configuration page, click Next.

    3. On the Price Preview page, view the estimated total cost. You can also click Cost Details to view the details of each billable item.

    image.png

  • Query the billing details by calling an API operation.

    1. In the upper-right corner, click Template to open the template page.

    2. Copy the template content from the JSON or YAML tab.

    3. Log on to the Developer Portal or Alibaba Cloud OpenAPI Developer Portal, and go to GetTemplateEstimateCost.

    4. Configure the RegionId and TemplateBody parameters. Paste the copied template content into the TemplateBody parameter.

    5. Click Initiate Call.

      In the response, check the value of the TotalCostAmount parameter to view the billing information for the resources created by the template.