Running BrownField services on EC2
In this section, we will set up BrownField microservices on the EC2 instances created. In this case, the build is set up in the local desktop machine, and the binaries will be deployed to AWS.
Perform the following steps to set up services on an EC2 instance:
- Install Git via the following command:
sudo apt-get install git
- Create a Git repository on any folder of your choice.
- Change the Config server's
bootstrap.properties
to point to the appropriate Git repository created for this example. - Change the
bootstrap.properties
of all the microservices to point to the config-server using the private IP address of the EC2 instance. - Copy all
*.properties
from the local Git repository to the EC2 Git repository and perform a ...
Get Spring Microservices now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.