Why AWS CloudFormation?
AWS CloudFormation offers an easy and consistent way to model, provision, and manage a collection of related AWS and third-party resources by treating infrastructure as code. You only pay for what you use, with no minimum fees and no required upfront commitments. When using registry extensions with CloudFormation, you incur charges per handler operation. Handler operations are: CREATE, UPDATE, DELETE, READ, or LIST actions on a resource type and CREATE, UPDATE or DELETE actions for a Hook type. For more information about handler operations and resource providers, please visit the CloudFormation documentation.
Pricing - Third party resource providers (not AWS::*, Alexa::*, or Custom::*)
There is no additional charge for using AWS CloudFormation with resource providers in the following namespaces: AWS::*, Alexa::*, and Custom::*. In these cases, you pay for AWS resources such as Amazon Elastic Compute Cloud (EC2) instances, Elastic Load Balancing load balancers, etc. created using AWS CloudFormation the same as if you had created them manually. You only pay for what you use, with no minimum fees and no required upfront commitments.
* First 30 seconds of handler operation duration are offered at no additional charge per operation. If your handler operation duration runs longer than 30 seconds per operation, you will be charged at $0.00008 per-second above the 30 seconds threshold.
** Free Tier includes hook and third party resource provider operations.
Data transfer: You are billed at standard AWS data transfer rates.
Example #1
In this example, you manage 500 third-party resources such as AnotherCompany::Dashboard::Instance. You perform one daily operation on each of the resources. We'll assume that none of the handler operations duration times in this case are above the free 30 second threshold. Your monthly AWS CloudFormation bill is calculated as follows:
Total third-party handler operations: 500 resources * 30 operations = 15,000
Total bill = (third party handler operations - Free tier) * price per handler + duration above threshold * price per second
Total bill = (15,000 - 1,000) * $0.0009 + $0 = $12.60
Example #2
In this example, you manage 200 resources in one account such as MyCompany::Widget::Instance. You perform one daily operation on each of the resources. Some of the operations on these resources require longer processing times (total of 4 hours of overage across all resources). Your monthly CloudFormation bill will be calculated as follows:
Total private resource handler operations: 200 resources * 30 operations = 6,000
Total handler duration overage = 4 hours * 3,600 = 14,400 seconds
Total bill = (Resource handler operations - Free tier) * price per handler + duration overage * price per second
Total bill = (6,000 - 1,000) * $0.0009 + 14,400 * $0.00008 = $4.50 + $1.152 = $5.65
Pricing - Hooks
AWS CloudFormation Hooks incur a per handler operation charge based on the number and duration of invocations.
* First 30 seconds of handler operation duration are offered at no additional charge per operation. If your handler operation duration runs longer than 30 seconds per operation, you will be charged at $0.00008 per-second above the 30 seconds threshold.
** Free Tier includes hook and third party resource provider operations.
Data transfer: You are billed at standard AWS data transfer rates.
Example #1
In this example, you have 15 hooks active in one account such as MyCompany::Hook::BestPractice. You perform 10 daily stack operations (create/update/delete) that evokes each of the 15 hooks. All of the hook handlers execute within the 30 second threshold. Your monthly AWS CloudFormation bill is calculated as follows:
Total hook handler operations: 15 hooks * 10 daily operations * 30 days = 4,500
Total bill = (hook handler operations - Free tier) * price per handler + duration above threshold * price per second
Total bill = (4,500 - 1,000) * $0.0009 + $0 = $3.15
Example #2
In this example, you have 25 hooks active in one account such as AnotherCompany::Hook::Encryption. You perform 5 daily stack operations (create/update/delete) that evokes each of the 25 hooks. Some of the operations on these resources require longer processing times (total of 2 hours of overage across all resources). Your monthly CloudFormation bill will be calculated as follows:
Total hook handler operations: 25 hooks * 5 daily operations * 30 days = 3,750
Total handler duration overage = 2 hours * 3600 seconds = 7,200 seconds
Total bill = (hook handler operations - Free tier) * price per handler + duration above threshold * price per second
Total bill = (3,750 - 1,000) * $0.0009 + (7,200 * $0.00008) = $3.05
Additional pricing resources
Easily calculate your monthly costs with AWS
Contact AWS specialists to get a personalized quote