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. In our microservice implementation, there are two major components. One is virtual machines and the other is the container hosted on the virtual or physical machine. The following diagram shows a logical view of the microservice infrastructure:
![](https://static.packt-cdn.com/products/9781788393331/graphics/assets/822dfaa3-8e41-4a07-a959-c2afa78018bb.png)