Managing Infrastructure as Code - Modern Application Development on AWS

Managing Infrastructure as Code

To get the full benefits of CI/CD, you should create a model for your entire application and infrastructure as code (IaC). By modeling infrastructure as code, you can incorporate it into your standard application development lifecycle, execute infrastructure changes in your CI/CD pipeline, and get additional benefits, such as reducing configuration errors and provisioning faster. AWS provides a number of IaC tools. One tool is AWS CloudFormation, which is a service that lets you specify any cloud infrastructure you need in a simple template file, and then provisions the infrastructure for you. Another tool is AWS Serverless Application Model (SAM), which builds on AWS CloudFormation with additional tooling and convenience functions for building serverless applications. AWS CDK (CDK) is a tool that provides a framework to design cloud infrastructure in code using a language of your choice and then provisions it with CloudFormation.