AWS CloudFormation - The Perfect Tool for IaC and Infrastructure Provisioning on AWS
Rating: 10 out of 10
IncentivizedUse Cases and Deployment Scope
We are using AWS CloudFormation to provision infrastructure on AWS in different AWS accounts for different environments. It is being used by the whole company. We have a product that requires infrastructure on the cloud to make it run. It helps us in continuous delivery and fast infrastructure deployment. As we have more than 20 environments, AWS CloudFormation helps us in using the same templates with different values for each environment, resulting in reusability and saving time and effort.
Pros
- Infrastructure Provisioning
- Stack Visibility
- Auto Rollback
- Console for History and Tracking
- Better Integration with AWS Services
Cons
- Error Description upon Failure Needs to be Improved.
- Slow to create, delete or update.
- Need to delete resources manually. It can ask before starting deletion whether to skip those resources or delete them.
Likelihood to Recommend
AWS CloudFormation is well suited when you have your whole infrastructure on AWS. It can be used to divide your whole infrastructure into multiple templates so you can redeploy variable infrastructure separately. It is good for infrastructure stack visibility and tracking. It is not good when you have resources on multiple clouds. Cloud-agnostic tools like Terraform can be used for such purposes.