Infrastructure as Code
In this chapter, we will learn about the different cloud infrastructure provisioning techniques. We will learn about some good ways to create infrastructure in the AWS cloud and how we can automate the creation of infrastructure using infrastructure provision tools.
This chapter explains what infrastructure as code is and what tools and technologies you can use to provision different resources you require to deploy a sample application in the AWS cloud. For this book, we will use a mix of the AWS console and Terraform to create the required infrastructure. In this chapter, we will explain what tools are available to automate infrastructure provisioning and how to use them.
We will learn about CloudFormation and Terraform and how we can use them to create AWS resources. In this chapter, we will cover the following topics:
- What infrastructure as code is and its benefits
- CloudFormation and its execution
- Terraform and its execution
In...