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.
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:
In this example, the following Ubuntu AMI image is used: ubuntu-trusty-14.04-amd64-server-20160114.5 (ami-fce3c696)
.
sudo apt-get update sudo apt-get install docker.io
docker version