- Execute
mvn clean install
on the root directory - Build docker image for
apigw
,eureka-server
,service-a
andservice-b
by executingdocker build -t <directory-name> .
on each directory - Go to the root directory and spin-up the services using
docker-compose up -d
- Run everything using
docker-compose up -d
- Go to apigw folder and execute
mvn clean verify
- To ensure our gateway is scalable we need to ensure it has at least 2 instances on different region with Auto Scaling enabled (with 60% CPU threshold)
- For monitoring we can use AWS Alarm or even integrating it with New Relic.