In this section, we will visit all the layers of the microservice infrastructure and see them in relation to each other, that is, how each individual infrastructure layer can be scaled. For our microservice implementation, there are two major components. One is virtual machines and the other is the container hosted on virtual or physical machines. The following diagram shows a logical view of the microservice infrastructure:
Scaling virtual machines is quite simple and easy in Azure Cloud. This is where microservices shine through. With scale sets, you can raise the instances of the same virtual machine images in a short amount of time, and that automatically too, based on the ruleset. Scale sets are integrated with Azure autoscale.
Azure virtual machines can be created in a way that as a group, they would always serve the requests even if the volume of the requests increases. In specific situations, they can also be deleted...