In this chapter, we have learned about the deployment patterns of microservices. We have discussed various deployment strategies, including the multiple instances of microservices per host pattern, the single instance of a microservice per host pattern, the single instance of a microservice per VM pattern, and the single instance of a microservice per container pattern. This gave you an understanding of the different structures, approaches, and strategies used when deploying microservices.
We have also seen how to deploy microservices using a serverless infrastructure such as AWS Lambda, or the Azure Function to resolve the issue of having to choose between using VMs and containers.
In Chapter 4, Inter-Service Communication, we'll gain an understanding of how services communicate with each other in the microservice architecture.