From the course: Microsoft Azure Solutions Architect Expert (AZ-305) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Using scale sets

Using scale sets

- [Instructor] When building resilient and scalable applications in Azure, we could simply build two or more virtual machines and place them behind a load balancer. However, doing it this way, you always have to manually build new VMs if you wanted to scale out. Another alternative is VM scale sets which are a specific type of VM that automatically deploy new copies of an image in response to rules that you set. You build the VM scale set and then define the rules that state when new instances are created. So for example, if the CPU of a VM reached 70% for longer than 10 minutes, you could tell it to spin up a new instance. Typically, you'd create a custom image that has your application already installed. And this is because a marketplace image would be a Vanilla OS build that is it's got no software other than the basic OS installed. Whereas if you create an image, you can then install the software you need…

Contents