Project created to learn how to deploy a Java and Spring application in an Amazon EC2 container with Docker and Terraform.
Specifications:
- Java 11
- Docker 3
- Gradle 7.6.1
- SpringBoot 2.7.4
- SpringCloud 2021.0.4
- Database: PostgreSQL
- MVC Arquitecture
Level 1
This level I'm learned how to run a Docker container with Postgres using a docker-compose file and connect my springboot app on it. This level I'm learned how to too:
- Run a Docker container with Postgres using a docker-compose file
- Connect your springboot app with Postgres database container.
Level 2
This level I'm learned how to:
- Run a Docker build in my application image
- Configure my image to docker-compose file
- Run my image on a docker container
- Access my application using swagger and postman
- Upload my api image to dockerhub
Level 3
This level I'm learned how to:
- Understand AWS basic infraestructure
- Create IAM user
- Configure aws cli profile
- Create terraform files needed
- Create ssh key pair
- Configure userdata template file
- Terraform commands
- Access ec2 host from local machine
- Access my api running on ec2 using swagger and postman