This chapter will explore manually deploying microservices in AWS EC2 instances and using CloudFormation scripts. You will learn here how to run a Docker-enabled Spring Boot microservice application on the Amazon Elastic Compute Cloud (EC2) instances.
In previous chapters, we have discussed different aspects of the microservices architecture and its benefits, such as it is highly scalable, fault-tolerant, and so on. However, there are many challenges with the microservices architecture, such as managing the deployment of microservices and infrastructure dependencies for distributed applications. Containerization comes with a solution for these problems. Docker provides a containerization approach to develop and deploy microservices without infrastructure dependencies. We have already discussed Docker in Chapter 12, Containerizing Microservice. We can easily...