Please run simple application (build & run from source). It should connect to the database and expose health-check endpoint.
- Create a Dockerfile for
Connection-app
- Provide a definition for
Connection-app
inside the filedocker-compose.yml
- Create ZIP file with all the files required to satisfy expectations.
In order to run the application please follow instruction below:
Build (fatjar):
gradle clean build
Run:
gradle bootRun
docker-compose -f docker-compose.yml up
Postgres should run on localhost
login: postgres
pass: postgres
After running docker-compose -f docker-compose.yml up
, then the endpoint http://localhost:8080/actuator/health
should return status 200.
- Provide a mark down formatted file
architecture.md
with: a. Architectural patterns/recommendations on how to deploy this solution on AWS. b. Infrastructure Provisioning tools/systems recommended, explaining why that tool vs any other options. - Provide a folder
iac/
with infrastructure as code definitions (templates) for the architecture recommendations to deploy on AWS.