Some resources used in templates incur charges. You can query the prices of resources in a template by using the Resource Orchestration Service (ROS) console or calling an API operation.

Methods

You can estimate resource prices by using one of the following methods:

  • ROS console: If the resources of a template used to create a stack support price query, ROS provides the estimated prices in the Check and Confirm step of the Use New Resources (Standard) or Use Existing Resources (Resource Import) wizard. The prices provided are for reference only. The actual prices are subject to changes.
  • API: You can call the GetTemplateEstimateCost operation to query resource prices.

Supported resource types

Note The billing method of a resource is determined by the corresponding parameter in the template. For example, if you set the InstanceChargeType parameter in the ALIYUN::ECS::Instance resource type to PrePaid, created Elastic Compute Service (ECS) instances are billed on a subscription basis.
Alibaba Cloud service Resource type
Cloud Enterprise Network (CEN) ALIYUN::CEN::CenBandwidthPackage
PolarDB-X ALIYUN::DRDS::DrdsInstance
Elastic Container Instance (ECI) ALIYUN::ECI::ContainerGroup
ECS
Elastic High Performance Computing (E-HPC) ALIYUN::EHPC::Cluster
Alibaba Cloud Elasticsearch ALIYUN::ElasticSearch::Instance
Alibaba Cloud E-MapReduce (EMR) ALIYUN::EMR::Cluster
Alibaba Cloud Marketplace ALIYUN::MarketPlace::Order
ApsaraDB for Memcache ALIYUN::Memcache::Instance
ApsaraDB for MongoDB
PolarDB ALIYUN::POLARDB::DBCluster
ApsaraDB for Redis ALIYUN::REDIS::Instance
ApsaraDB RDS
ROS ALIYUN::ROS::Stack
Serverless App Engine (SAE) ALIYUN::SAE::Application
Server Load Balancer (SLB) ALIYUN::SLB::LoadBalancer
Virtual Private Cloud (VPC)