description AWS CloudFormation Overview
AWS CloudFormation is a native IaC service tightly integrated with AWS resources. It allows users to define and provision AWS infrastructure using templates written in YAML or JSON. While limited to AWS resources, CloudFormation simplifies deployments within the AWS ecosystem and leverages AWS's native services. Its tight integration with AWS services provides seamless automation and management.
However, its AWS-specific nature limits its applicability for multi-cloud environments. CloudFormation's simplicity makes it a good starting point for AWS beginners.
help AWS CloudFormation FAQ
What happens if an AWS CloudFormation update fails halfway through?
CloudFormation normally attempts to roll the stack back to its previous working state. Rollback can itself fail when a resource cannot be restored, so production stacks still need backups and careful handling of stateful services such as Amazon RDS.
Can CloudFormation show which resources will be replaced before deployment?
Yes, a change set previews proposed additions, modifications, removals, and possible replacements before you execute it. AWS cautions that a successful change-set preview does not guarantee that the eventual stack update will succeed at runtime.
How does CloudFormation detect changes made manually in the AWS console?
Stack drift detection compares supported deployed resources with property values explicitly defined in the template or parameters. It may not evaluate every property or resource type, so a clean drift result is not a universal audit of the AWS account.
When would Terraform or AWS CDK make more sense than raw CloudFormation?
Terraform is useful when one workflow must manage AWS alongside other providers, while AWS CDK lets developers define infrastructure in languages such as TypeScript or Python. CDK still synthesizes CloudFormation templates for deployment, whereas Terraform uses its own state and providers.
explore Explore More
Similar to AWS CloudFormation
See all arrow_forwardReviews & Comments
Write a Review
Be the first to review
Share your thoughts with the community and help others make better decisions.