search
Get Started
search
AWS CloudFormation - Infrastructure As Code
zoom_in Click to enlarge

AWS CloudFormation

7.95
Good
language

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.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Track changes
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare