There is no additional charge for using AWS CloudFormation with resource providers in the following namespaces: AWS::*, Alexa::*, and Custom::*. In this case you pay for AWS resources (such as Amazon EC2 instances, Elastic Load Balancing load balancers, etc.) created using AWS CloudFormation as if you created them manually. You only pay for what you use, as you use it; there are no minimum fees and no required upfront commitments.
When you use resource providers with AWS CloudFormation outside the namespaces mentioned above, you incur charges per handler operation. Handler operations are create, update, delete, read, or list actions on a resource. For more information about handler operations and resource providers, please visit the CloudFormation documentation.
Pricing - third party resource providers (not AWS::*, Alexa::*, or Custom::*)
* For handler operation durations above 30 seconds per operation, you will be charged $0.00008 per second above the threshold.
Data transfer: You are billed at standard AWS data transfer rates.
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 in this case are above the 30s 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
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 = $12.60 + $1.152 = $13.75