If the resources that you specify in templates are billable items, you may want to estimate the resource prices. You can estimate the prices by using the Resource Orchestration Service (ROS) console or API. This topic describes how to estimate the prices of template resources.
Methods
You can use one of the following methods to estimate resource prices:
ROS console: If the resources specified in the templates that you use to create stacks support price inquiry, the estimated prices appear in the Check and Confirm step of the stack creation wizard in the console. The prices on the console are for reference only. The actual prices shall prevail.
ROS API: You can call the GetTemplateEstimateCost operation to estimate the prices of template resources.
Resource types that support price inquiry
The billing method of a resource varies based on the billing parameter that you specify in the template. For example, if you set InstanceChargeType to PrePaid in ALIYUN::ECS::Instance, the Elastic Compute Service (ECS) instance uses the subscription billing method.
Alibaba Cloud service | Resource type |
Application Load Balancer (ALB) | |
ApsaraDB for MyBase | |
Cloud Enterprise Network (CEN) | |
Container Service for Kubernetes (ACK) |
|
PolarDB-X 1.0 | |
Elastic Container Instance | |
ECS | |
Elastic High Performance Computing (E-HPC) | |
Elasticsearch | |
E-MapReduce (EMR) | |
Edge Node Service (ENS) | |
Alibaba Cloud Marketplace | |
ApsaraDB for Memcache | |
ApsaraDB for MongoDB | |
PolarDB | |
Tair (Redis OSS-compatible) | |
ApsaraDB RDS | |
ROS | |
Serverless App Engine (SAE) | |
Smart Access Gateway (SAG) | |
Server Load Balancer (SLB) | |
Virtual Private Cloud (VPC) | |
AnalyticDB for PostgreSQL | |
API Gateway | |
ApsaraMQ for Kafka | |
File Storage NAS (NAS) | |
ApsaraDB for ClickHouse | |
Global Accelerator (GA) | |
Time Series Database (TSDB) | |
Microservices Engine (MSE) | |
Web Application Firewall (WAF) | |
AnalyticDB for MySQL |