Microservices on the cloud
One of the capabilities mentioned in the microservices capability model is the use of the cloud infrastructure for microservices. Earlier in this chapter, we also explored the necessity of using the cloud for microservices deployments. So far, we have not deployed anything to the cloud. As we have eight microservices in total—Config-server
, Eureka-server
, Turbine, RabbitMQ, Elasticsearch, Kibana, and Logstash—in our overall BrownField PSS microservices ecosystem, it is hard to run all of them on the local machine.
In the rest of this book, we will operate using AWS as the cloud platform to deploy BrownField PSS microservices.
Installing Docker on AWS EC2
In this section, we will install Docker on the EC2 instance.
This example assumes that readers are familiar with AWS and an account is already created on AWS.
Perform the following steps to set up Docker on EC2:
Launch a new EC2 instance. In this case, if we have to run all the instances together, we may need a large...