© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
O. MustafaA Complete Guide to DevOps with AWShttps://doi.org/10.1007/978-1-4842-9303-4_6

6. Infrastructure as Code

Osama Mustafa1  
Amman, Jordan

Infrastructure as code (IaC) is one of my favorite subjects; in this chapter, I’ll break it down and focus on the most important details regarding how it works with AWS.

In this chapter, I will cover IaC in general, the benefits of using IaC, and why you need to use it. I’ll also cover IaC tools, such as Terraform, CloudFormation, Pulumi, and Ansible, and the difference between them, as well as when you should use each one of these tools.

What Is Infrastructure as Code?

As a DevOps engineer, you will hear about IaC ...

Get A Complete Guide to DevOps with AWS: Deploy, Build, and Scale Services with AWS Tools and Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.