Freedom251 › Infrastructure as Code Tools
AWS CloudFormation

What AWS CloudFormation is
AWS CloudFormation models, provisions, and manages related AWS and third-party resources as infrastructure as code. Templates define AWS resources and their properties in YAML or JSON, and CloudFormation manages them as stacks. Change Sets preview proposed updates, including whether resources may be deleted or replaced, while Drift Detection tracks changes made outside the service. StackSets can provision a common resource set across multiple AWS accounts and Regions from one template. Authors can use AWS CDK with TypeScript, Python, Java, or .NET; AWS SAM offers shorthand YAML for serverless functions, APIs, databases, and event source mappings, which 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 access and CloudTrail can log API calls. CloudFormation data is encrypted at rest and service communications use encrypted channels; AWS recommends TLS 1.3 and requires TLS 1.2. CloudFormation itself is free, but created AWS resources are billed at their standard rates. Third-party provider and custom hook operations may also incur charges.
Who it suits
CloudFormation suits AWS users who want to define and manage infrastructure through templates, from a single EC2 instance to complex multi-Region applications. It also supports CI/CD automation of infrastructure templates.
What it does well
- Templates use YAML or JSON.
- Change Sets preview proposed stack changes.
- StackSets deploy across AWS accounts and Regions.
- Drift Detection tracks changes made outside CloudFormation.
- Data is encrypted at rest; service channels are encrypted.
What to know first
- Created AWS resources incur their standard charges.
- Third-party provider and custom hook operations may incur charges.
- AWS recommends TLS 1.3 and requires TLS 1.2.
Limits
CloudFormation itself is a free service for AWS::* and Alexa::* resource providers, but AWS resources it creates are billed at standard rates. Third-party provider and custom hook operations may incur charges; the listed plan includes the first 1,000 operations, and the first 30 seconds of each operation have no additional charge.
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| CloudFormation service | No additional CloudFormation charge for AWS::* and Alexa::* resource types; pay for provisioned AWS resources · No minimum fees · No upfront commitments | Free |
| AWS CloudFormation | Free service for CloudFormation itself; underlying AWS resources are billed at their own rates. Third-party provider and custom hook operations may incur charges; first 1,000 operations are included in the Free Tier, and the first 30 seconds of each operation have no additional charge. | Free |
| Third-party resource providers | per second above 30 seconds of handler-operation duration · First 30 seconds per operation free · Free tier includes hook and third-party provider operations | Free |
As aws.amazon.com lists them, read 20 Oct 2026. The maker's own page has the final word.
Getting started
- Visit the AWS CloudFormation website.
- Choose an authoring route: YAML or JSON templates, AWS CDK, or AWS SAM.
- Describe AWS resources and their properties in a template.
- Use the template to manage a stack; use StackSets for deployments across accounts and Regions.
AWS CloudFormation is an infrastructure-as-code service for provisioning and managing related AWS resources. It suits teams standardizing AWS deployments across stacks, accounts, and Regions. Its strongest case is an AWS-centered workflow; teams seeking a single tool for multiple clouds should look elsewhere.
Overview
CloudFormation organizes resources into stacks defined by templates, replacing separate, manual resource setup with a repeatable model. It supports workflows ranging from a single EC2 instance to complex multi-Region applications, including CI/CD automation. Managed state, resource import, policy as code, and self-hosted execution add flexibility, but the service supports AWS rather than a multi-cloud estate.
The service itself is free for AWS and Alexa resource providers, not the infrastructure it creates. AWS resources remain billed at standard rates, and third-party provider or custom hook operations may also incur charges.
Key features
Templates and authoring
Templates define AWS resources and their properties in YAML or JSON. Teams that prefer programming languages can use the AWS CDK, which supports TypeScript, Python, Java, and .NET and provisions through CloudFormation. For serverless deployments, AWS SAM offers shorthand YAML for functions, APIs, databases, and event source mappings, then transforms it into CloudFormation syntax. These options broaden how teams author infrastructure without changing the AWS provisioning foundation.
Change control and drift
Change Sets preview proposed stack updates and flag resources that may be deleted or replaced before execution. That makes consequential updates easier to assess, though teams still need to judge whether the proposed changes are acceptable. Drift Detection tracks changes made outside CloudFormation, helping teams find divergence between their templates and deployed resources.
Scale and integrations
StackSets deploy a common set of resources across multiple AWS accounts and Regions from one template, a practical fit for organizations standardizing environments. The CloudFormation Registry supports third-party resources and modules, including examples from MongoDB, Datadog, Atlassian Opsgenie, JFrog, and Splunk. Stack updates can also use a template from a remote Git repository, connecting infrastructure changes to a version-controlled workflow.
Security and oversight
CloudFormation encrypts data at rest and uses encrypted communications; AWS recommends TLS 1.3 and requires TLS 1.2. IAM can control access, while CloudTrail logs API calls. These controls give AWS teams established ways to govern and audit service use.
Pricing
AWS CloudFormation: free. There is no additional CloudFormation charge for AWS and Alexa resource providers, but created AWS resources are billed at their standard rates. Third-party provider and custom hook operations may incur charges: the first 1,000 operations are included in the Free Tier, and the first 30 seconds of each operation have no additional charge. This suits teams that want template-based provisioning without a separate service fee, provided they budget for the infrastructure and any chargeable operations. There is no free trial; the service is free.
Platforms
CloudFormation supports API, Linux, macOS, web, and Windows. Its configuration languages are YAML and JSON, and its supported cloud is AWS.
Who it's for
CloudFormation is a strong choice for AWS teams that need repeatable infrastructure deployments, multi-account or multi-Region stack management, and previews before updates. CI/CD teams can use templates to automate infrastructure changes. It is less suited to organizations that need the same infrastructure workflow across multiple cloud providers.
Pros and cons
- Pro: Change Sets expose possible deletions and replacements before execution, supporting more deliberate stack updates.
- Pro: StackSets deploy a shared template across accounts and Regions, reducing friction when standardizing AWS environments.
- Pro: CDK, SAM, and Registry support offer several authoring paths and third-party resource options within CloudFormation deployments.
- Con: CloudFormation is AWS-specific, so it is not a fit for teams seeking a common provisioning service across clouds.
- Con: A free service does not mean free infrastructure: AWS resources incur their standard charges, and some provider or hook operations may cost extra.
Alternatives
For infrastructure testing and adjacent configuration or policy work, these tools serve different needs; they are not direct replacements for CloudFormation's AWS stack provisioning.
- Conftest is a free option for readers seeking an Apache 2.0-licensed tool available on Linux, macOS, and Windows.
- Sonobuoy is an open-source option for readers who want support for self-hosted environments as well as Linux, macOS, and Windows.
- cfn-lint is a free, MIT-0-licensed option for readers looking for a CloudFormation-focused tool that supports Python 3.10–3.14.
- Chef InSpec may suit readers seeking a freemium option with a free plan for non-production workloads and personal, non-commercial use, plus a 30-day free trial.
- Cinc Auditor is a free distribution of Chef InSpec, though it comes without formal warranties or support.
- OpenSCAP is a free, open-source option for readers seeking Linux, macOS, self-hosted, and Windows support.
- Test Kitchen is a free Apache 2.0-licensed option installable from RubyGems, system packages, or Cinc/Chef Workstation.
- TFLint is a free open-source command-line Terraform linter for readers working with Terraform.
Browse Infrastructure Testing Tools, Infrastructure as Code Tools, Cloud Orchestration Software, IT Configuration Management Software, Infrastructure as Code Security Software, and Infrastructure Policy as Code Tools.
Verdict
Choose CloudFormation if your infrastructure is on AWS and you want managed, template-driven provisioning with stack previews and multi-account deployment support. Its AWS-specific scope is also the clearest reason to look elsewhere if your team needs one infrastructure workflow across clouds.
Verdict
CloudFormation brings template-based provisioning, change previews, and drift tracking to AWS resource management. The service itself is free, but account for the costs of created resources and any chargeable provider or hook operations.
Questions
Does AWS CloudFormation have a free plan?
Yes. CloudFormation itself is listed as free for AWS::* and Alexa::* resource providers.
Do resources created through CloudFormation cost extra?
AWS resources created through the service are billed at their standard rates. Third-party provider and custom hook operations may also incur charges.
Which platforms does CloudFormation support?
The listed platforms are API, Linux, macOS, web, and Windows.
Which languages can I use to author cloud environments?
AWS CDK supports TypeScript, Python, Java, and .NET. Templates can describe resources using YAML or JSON.
Can CloudFormation manage resources across accounts?
Yes. StackSets can provision a common set of AWS resources across multiple accounts and Regions from one template.
Can I use third-party resources?
Yes. The CloudFormation Registry supports third-party resources and modules, including examples such as MongoDB, Datadog, Atlassian Opsgenie, JFrog, and Splunk.
Facts from AWS CloudFormation's own pages
- Access and audit
- AWS documents using IAM to control CloudFormation access and CloudTrail to log API calls. · docs.aws.amazon.com, 30 Sept 2026
- API documentation
- AWS publishes detailed API operation descriptions with sample requests, responses, and errors. · docs.aws.amazon.com, 20 Oct 2026
- Authoring options
- AWS CDK supports defining cloud environments with TypeScript, Python, Java, and .NET, and provisions through CloudFormation. · aws.amazon.com, 30 Sept 2026
- Automatic rollback
- CloudFormation can automatically roll a deployment back to the last known good state when errors occur. · aws.amazon.com, 20 Oct 2026
- Change previews
- Change Sets let users preview proposed stack changes, including whether resources may be deleted or replaced, before execution. · aws.amazon.com, 30 Sept 2026
- Change Sets
- Change Sets preview proposed stack changes before execution, including possible resource replacement or deletion. · aws.amazon.com, 20 Oct 2026
- CodePipeline integration
- CodePipeline can create, update, replace, and delete CloudFormation stacks or change sets during pipeline runs. · docs.aws.amazon.com, 20 Oct 2026
- 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. · aws.amazon.com, 30 Sept 2026
- Development workflow
- CloudFormation supports updating a stack from a template in a remote Git repository. · aws.amazon.com, 30 Sept 2026
- Documentation breadth
- The documentation set includes user, template-reference, CLI, API, Hooks, Guard, and CloudFormation CLI guides. · docs.aws.amazon.com, 20 Oct 2026
- Drift detection
- Drift detection compares supported resource properties with template expectations to identify out-of-band changes. · docs.aws.amazon.com, 20 Oct 2026
- Extension toolkit
- The CloudFormation CLI toolkit lets developers build custom resource providers and modules. · github.com, 20 Oct 2026
- Founded
- 2006 · aws.amazon.com, 28 Sept 2026
- 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. · docs.aws.amazon.com, 20 Oct 2026
- Hook and policy tooling
- Official documentation includes CloudFormation Hooks and the open-source Guard policy-as-code tool. · docs.aws.amazon.com, 20 Oct 2026
- Interfaces
- CloudFormation is available through the AWS Management Console, API, AWS CLI, and AWS SDKs. · docs.aws.amazon.com, 20 Oct 2026
- Limit: debugging
- Reviewers report vague error messages and difficult troubleshooting of failed or complex stacks. · capterra.com, 20 Oct 2026
- Limit: learning curve
- G2 and Capterra reviewers describe template syntax and initial setup as difficult for beginners. · g2.com, 20 Oct 2026
- Limit: multi-cloud scope
- TrustRadius reviewers say CloudFormation is less suitable for hybrid or multi-cloud infrastructure than cloud-agnostic tools. · trustradius.com, 20 Oct 2026
- Limit: slow or fragile operations
- TrustRadius reviewers report slow creates or deletes, difficult dependent-resource removal, and failures in nested stacks. · trustradius.com, 20 Oct 2026
- Maker company facts
- LinkedIn lists Amazon Web Services as a public company headquartered in Seattle, founded in 2006, with 10,001+ employees. · linkedin.com, 20 Oct 2026
- Maker legal name
- AWS site terms identify the provider as Amazon Web Services, Inc. and/or its affiliates. · aws.amazon.com, 20 Oct 2026
- Maker ownership
- AWS states that Amazon Web Services operates as part of Amazon. · aws.amazon.com, 20 Oct 2026
- Multi-account deployments
- StackSets provision a common set of AWS resources across multiple accounts and Regions from one template. · aws.amazon.com, 30 Sept 2026
Where AWS CloudFormation stands on Freedom251
- Infrastructure as Code Tools#3 of 31
- Infrastructure Policy as Code Tools#3 of 25
- Infrastructure Testing Tools#4 of 28
- Cloud Orchestration Software#4 of 27
- IT Configuration Management Software#5 of 27
- Orchestration / Provisioning Software#5 of 27
- Infrastructure Automation#5 of 24
- Infrastructure as Code Security Software#5 of 22
