ROS Infrastructure Composer billing

更新时间:
复制 MD 格式

ROS Infrastructure Composer is free of charge. You are billed only for the Alibaba Cloud resources that you create through templates. You can 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

ROS Infrastructure Composer is free of charge.

Not applicable.

Alibaba Cloud resources created in a stack, such as ECS and ApsaraDB RDS.

Billed based on the billing method of each resource.

  • If you create a VPC-type ECS instance in a 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

The following example creates a Single-zone Network and a pay-as-you-go elastic IP address (EIP), and then shows how to query billing details for these resources.

Create the architecture diagram:

  1. Log in to the ROS Infrastructure Composer console.

  2. In the navigation pane on the left, choose Infrastructure Templates, click Create Infrastructure Template, select ROS or Terraform from the dialog box, and click OK.

  3. From the navigation pane on the left, drag Single-zone Network onto 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.

    Set Bandwidth to 5 and Availability Zone to Availability Zone F.

You can query billing details by using the following methods:

  • Query billing details in the console

    1. In the upper-right corner, click Deploy to go to 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 click Cost Details to view a detailed list of billable items.

    The Price Preview table lists details for each resource, including type, specifications, region, quantity, billing method, and estimated cost. In this example, the EIP is in the China (Beijing) region, the quantity is 1, and the billing method is pay-as-you-go. A message at the top of the page indicates that the estimate is for reference only and the final charge is based on actual usage. The bottom of the page displays your account balance and available credit.

  • Query billing details using an API

    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 in 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 TotalCostAmount parameter to view the billing information for the resources defined in the template.