This topic describes the billable items of Resource Orchestration Service (ROS) and billing methods of the items.

Billable items and billing methods

Billable item Description Billing method
ROS None. None.
Alibaba Cloud resources that you want to create in the stack, such as Elastic Compute Service (ECS) and ApsaraDB RDS resources You are charged based on the billing methods for the resources.
  • If you specify an ECS instance of the Virtual Private Cloud (VPC) type in an ROS template, you are charged for the ECS instance. For more information, see Billing overview.
  • If you specify an ApsaraDB RDS instance of the VPC type in an ROS template, you are charged for the ApsaraDB RDS instance. For more information, see Billable items, billing methods, and pricing.

Billing example

The following section describes how to query the billing details of resources when you specify the resources in a template. In this example, a VPC and a subscription elastic IP address (EIP) are used.

ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
  VPC:
    Type: ALIYUN::ECS::VPC
    Properties:
      CidrBlock: 192.168.XX.XX/16
      VpcName:
        Fn::Join:
          - '-'
          - - StackId
            - Ref: ALIYUN::StackId
  EIP:
    Type: ALIYUN::VPC::EIP
    Properties:
      InstanceChargeType: Prepaid
      PricingCycle: Month
      Period: 1
      DeletionProtection: false
      AutoPay: false
      InternetChargeType: PayByTraffic
      Bandwidth: 5
You can use one of the following methods to query the billing details:
  • ROS console
    1. Log on to the ROS console.
    2. In the left-side navigation pane, click Stacks.
    3. In the upper-left corner of the page that appears, select the region in which you want to create a stack from the drop-down list.
    4. On the Stacks page, click Create Stack and select Use New Resources (Standard) from the drop-down list.
    5. Click Select an Existing Template, enter the preceding template, and then click Next.
    6. In the lower-right corner of the page, click Cost Details.
      In the Cost Details dialog box, you can view the billing details of the resources that you want to create in the stack. 费用详情
  • ROS API operation
    1. Log on to OpenAPI Explorer of the earlier version or the new version.
    2. Search for and click Resource Orchestration Service.
      • If you are in OpenAPI Explorer of the earlier version, search for and click the GetTemplateEstimateCost operation.
      • If you are in OpenAPI Explorer of the new version, click the API Debugging tab. Search for and click the GetTemplateEstimateCost operation.
    3. Configure RegionId and Parameters, and enter the preceding template in the TemplateBody field.
    4. If you are in OpenAPI Explorer of the earlier version, click Submit Request. If you are in OpenAPI Explorer of the new version, click Call Now.

      On the Debugging Result tab in OpenAPI Explorer of the earlier version or on the Response tab in OpenAPI Explorer of the new version, you can view the billing details of the resources in the value of the TotalCostAmount parameter.