ROS billing

更新时间:
复制 MD 格式

Resource Orchestration Service (ROS) is free. You pay only for the Alibaba Cloud resources created in your stacks, based on their respective billing methods.

Billable items and billing methods

Billable item

Description

Billing method

Resource Orchestration Service

None

None

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

Charged based on each resource's own billing method.

  • If you create a VPC-type ECS instance in a ROS template, you are charged for it. Billing overview.

  • If you create a VPC-type RDS instance in a ROS template, you are charged for it. Billable items.

Billing example

The following example creates a VPC and a subscription Elastic IP Address (EIP), then demonstrates how to query billing details for the created resources.

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   

Query billing details using either method:

  • Query in the console

    1. Log on to the ROS console.

    2. In the left-side navigation pane, click Stacks.

    3. In the top navigation bar, select the region for the stack from the region drop-down list, for example, China (Hangzhou).

    4. On the Stack List page, click Create Stack and select Use ROS.

    5. On the Select Template page, set Specify Template to Select an Existing Template, set Template Import Method to Enter Template, paste the preceding template into Template Content, and click Next.

    6. On the Configure Parameters page, click Expense Details.

      The Expense Details page displays the billing details for the stack.Console

  • Query by calling an API operation

    1. Log on to Developer Portal or Alibaba Cloud OpenAPI Developer Portal.

    2. Set the cloud product to Resource Orchestration Service.

      Click the API Debugging tab and select the GetTemplateEstimateCost API operation.

    3. Set RegionId, Parameters, and TemplateBody. For TemplateBody, enter the preceding template.

    4. Click Call.

      In Call Result, check TotalCostAmount to view the total cost of resources defined in the template.