AWS CloudFormation
aws.amazon.com
- Free plan
- Windows
- macOS
- Linux
- Web
- iPhone and iPad
- API
What AWS CloudFormation is
AWS CloudFormation models, provisions, and manages related AWS and third-party resources as infrastructure as code. Templates describe resource types and properties in YAML or JSON, and Change Sets preview proposed updates, including possible deletions or replacements. Drift Detection tracks changes made outside CloudFormation, while StackSets can provision a common resource set across multiple AWS accounts and Regions. Authoring options include AWS CDK, which supports TypeScript, Python, Java, and .NET, and AWS SAM, whose shorthand YAML for serverless resources is transformed into CloudFormation syntax during deployment. The Registry supports third-party resources and modules, and stacks can be updated from remote Git repositories. IAM can control service access, while CloudTrail logs API calls. CloudFormation data is encrypted at rest and service communications use encrypted channels; AWS recommends TLS 1.3 and requires TLS 1.2. The service itself has a free plan, but AWS resources created through it are billed at standard rates. Third-party provider and custom hook operations may also incur charges.
Who it suits
CloudFormation suits teams managing AWS infrastructure as code, from individual resources to complex multi-Region applications. It can also support CI/CD workflows that automate infrastructure templates.
Good to know, and what to watch
- Templates use YAML or JSON.
- Change Sets preview possible deletions and replacements.
- StackSets deploy across accounts and Regions.
- Drift Detection tracks external resource changes.
- Created AWS resources are billed at standard rates.
- Third-party provider and custom hook operations may incur charges.
Plans
Every plan and priceAWS CloudFormation
CloudFormation service
Third-party resource providers
Free plan
Getting started
- Open the AWS CloudFormation website or use its API.
- Describe resources and their properties in a YAML or JSON template.
- Use AWS CDK in a supported language or AWS SAM shorthand where appropriate.
- Create or update a stack from a template, including one in a remote Git repository.
- Use Change Sets to preview proposed updates before execution.
Limits to check
There is no additional CloudFormation charge for AWS::* and Alexa::* resource providers, but created AWS resources are billed at standard rates. Third-party provider and custom hook operations may incur charges.
The verdict
CloudFormation provides tools for describing, previewing, and tracking infrastructure changes across AWS accounts and Regions. The service has a free plan, but users still need to account for the charges attached to resources and some operations.
Questions people ask
Is AWS CloudFormation free?
There is no additional CloudFormation charge for AWS::* and Alexa::* resource providers. AWS resources created through it are charged at their standard rates, and third-party provider or custom hook operations may incur charges.
What template formats does it support?
Templates describe AWS resources and their properties in YAML or JSON.
Can CloudFormation deploy across multiple accounts and Regions?
Yes. StackSets provision a common set of AWS resources across multiple accounts and Regions from one template.
Can developers author templates in programming languages?
AWS CDK supports TypeScript, Python, Java, and .NET for defining cloud environments, which it provisions through CloudFormation.
Does it support resources from third parties?
Yes. The CloudFormation Registry supports third-party resources and modules, with examples including MongoDB, Datadog, Atlassian Opsgenie, JFrog, and Splunk.
How are access and API activity managed?
AWS documents IAM for controlling CloudFormation access and CloudTrail for logging API calls. CloudFormation data is encrypted at rest and service communications use encrypted channels.
What the maker publishes
- Access and audit
- AWS documents using IAM to control CloudFormation access and CloudTrail to log API calls. source
- API documentation
- AWS publishes detailed API operation descriptions with sample requests, responses, and errors. source
- Authoring options
- AWS CDK supports defining cloud environments with TypeScript, Python, Java, and .NET, and provisions through CloudFormation. source
- Automatic rollback
- CloudFormation can automatically roll a deployment back to the last known good state when errors occur. source
- Change previews
- Change Sets let users preview proposed stack changes, including whether resources may be deleted or replaced, before execution. source
- Change Sets
- Change Sets preview proposed stack changes before execution, including possible resource replacement or deletion. source
- CodePipeline integration
- CodePipeline can create, update, replace, and delete CloudFormation stacks or change sets during pipeline runs. source
- Cost limitation
- There is no additional CloudFormation charge for AWS::* and Alexa::* resource providers, though the AWS resources created are billed at their standard rates. source
- Development workflow
- CloudFormation supports updating a stack from a template in a remote Git repository. source
- Documentation breadth
- The documentation set includes user, template-reference, CLI, API, Hooks, Guard, and CloudFormation CLI guides. source
- Drift detection
- Drift Detection tracks changes made to resources outside CloudFormation. source
- Drift detection
- Drift detection compares supported resource properties with template expectations to identify out-of-band changes. source
- Extension toolkit
- The CloudFormation CLI toolkit lets developers build custom resource providers and modules. source
- Founded
- 2006 source
- Getting started
- Users can start from the AWS console with an example template; the service itself is free while included AWS resources incur their normal charges. source
- Hook and policy tooling
- Official documentation includes CloudFormation Hooks and the open-source Guard policy-as-code tool. source
- Interfaces
- CloudFormation is available through the AWS Management Console, API, AWS CLI, and AWS SDKs. source
- Limit: debugging
- Reviewers report vague error messages and difficult troubleshooting of failed or complex stacks. source
- Limit: learning curve
- G2 and Capterra reviewers describe template syntax and initial setup as difficult for beginners. source
- Limit: multi-cloud scope
- TrustRadius reviewers say CloudFormation is less suitable for hybrid or multi-cloud infrastructure than cloud-agnostic tools. source
- Limit: slow or fragile operations
- TrustRadius reviewers report slow creates or deletes, difficult dependent-resource removal, and failures in nested stacks. source
- Maker company facts
- LinkedIn lists Amazon Web Services as a public company headquartered in Seattle, founded in 2006, with 10,001+ employees. source
- Maker legal name
- AWS site terms identify the provider as Amazon Web Services, Inc. and/or its affiliates. source
- Maker ownership
- AWS states that Amazon Web Services operates as part of Amazon. source
Checked against the maker's pages on 20 Oct 2026.