Run estimate-template-cost
through open
from your terminal command line. A browser window will open, displaying your CloudFormation stack estimation:
open `aws cloudformation estimate-template-cost --template-body file://my-template.yml --output text`
Or, run estimate-template-cost
then manually copy/paste the resulting URL into a browser window:
aws cloudformation estimate-template-cost --template-body file://my-template.yml
{
"Url": "http://calculator.s3.amazonaws.com/calc5.html?key=cloudformation/0ecb3a1a-e4e2-4892-8d38-0eb672720f85"
}
AWS Simple Monthly Calculator
estimate-template-cost
reads your template’s stack resources directly into the AWS Simple Monthly Calculator. This way, you don’t have to painstakingly enter the information into the Calculator manually.

Note: as of this writing, “The AWS Pricing Calculator is currently building out support for additional services and will be replacing the Simple Monthly Calculator.”
Reference
https://docs.aws.amazon.com/cli/latest/reference/cloudformation/estimate-template-cost.html
Leave a Reply