AI Features

Creating and Testing an Availability Set with Terraform

Learn how to create and test an availability set with Terraform.

Let’s actually create an availability set and see how they work. In this chapter project, you’re going to build an availability set along with all of the usual resources that come with it, such as a set of VMs and a load balancer.

Project overview

This chapter project is going to cover all of the bases that you need covered to create and take advantage of VM availability sets. Since a VM availability set isn’t very good on its own (i.e., if you’re using it to host a web service), you need a load balancer too. To ensure this chapter provides a real-world perspective of availability sets, we’ll also create a load balancer. And since this is a DevOps course, after all, we’re not going to create all of this stuff in the Azure portal. Instead, we’ll build everything with Terraform ...

Ask