Creating and Testing an Availability Set with Terraform
Explore how to create and test Azure VM availability sets with Terraform to build fault-tolerant infrastructure. Learn to deploy multiple VMs behind a load balancer, understand traffic distribution, and verify redundancy through remote desktop connections. Gain practical skills in automating Azure resource provisioning for high availability.
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 ...