A REST API designed in Java for real-time metrics and monitoring. This project is being developed with a Cloud-Native approach, utilizing Docker for containerization and production environments on Amazon Web Services (AWS).
The primary objective is to master the modern deployment lifecycle: from local containerized development to data persistence in cloud-managed databases.
- Backend: Java 17+ / Spring Boot (Spring Web, Spring Data JPA)
- Containers: Docker & Docker Compose
- Database: PostgreSQL
- Cloud (AWS): Amazon RDS (Relational Database Service) & AWS EC2
The data flow is structured as follows:
- The client sends monitoring metrics via HTTP requests (JSON) to the API.
- The API (running inside a Docker container) processes the incoming information.
- Data is persisted into a PostgreSQL database (local container for development, AWS RDS for production).
Follow these steps to spin up the development environment on your local machine using Docker.
- Java 17 or higher installed
- Docker and Docker Compose installed
To avoid installing PostgreSQL directly on your operating system, run the preconfigured container:
docker-compose up -d