Provisioning Cloud Infrastructure with Terraform

In the previous chapter, we introduced the tools, practices, and benefits of Infrastructure as Code (IaC) and its impact on DevOps culture. Out of all of the IaC tools that have been mentioned, one that is particularly powerful is Terraform, which is part of the HashiCorp tools suite.

In this chapter, we will look at the basics of using Terraform to provision a cloud infrastructure, using Azure as an example. We will start with an overview of its strengths compared to other IaC tools. We will see how to install it in both manual and automatic mode, and then we will create our first Terraform script to provision an Azure infrastructure with the use of best practices and its automation in a CI/CD ...

Get Learning DevOps 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.