Project archive
SYS-07 / Cloud · infrastructure as code

SmartClass IaC

Turn a manual full-stack deployment into declarative, repeatable infrastructure on AWS.

STATUSImplemented academic project
ROLEContainerization, Terraform and AWS deployment
FLOW / SYS-07
  1. 01Aplicação
  2. 02Imagens
  3. 03Registry
  4. 04Terraform
  5. 05ECS
  6. 06Fargate
  7. 07Deploy
EXECUTIVE SUMMARY

SmartClass combines a React/Nginx frontend, Node.js/Express/Prisma backend and PostgreSQL, runs locally through Docker Compose and is provisioned with Terraform on AWS ECS Fargate. The repository documents adaptations required by AWS Academy constraints.

  • Terraform
  • AWS ECS
  • Docker
  • React
  • Node.js
  • Prisma
  • PostgreSQL
SYS-07.01

Context and problem #

The exercise replaces manual configuration with versioned infrastructure to make deployment repeatable and auditable.

SYS-07.02

My contribution #

The work integrates the application, Docker images, networking, task definition and ECS service, with documentation of the deployment journey.

SYS-07.03

Architecture #

One ECS Fargate task groups PostgreSQL, backend and frontend. Terraform declares networking, security and execution; Docker Compose supports local development.

  • Terraform 1.x
  • AWS ECS Fargate
  • React servido por Nginx
  • Express + Prisma + PostgreSQL
SYS-07.04

Evaluation and quality #

Evidence comes from Terraform files, Dockerfiles, the runnable application and documentation of services and academic-environment constraints.

SYS-07.05

Limitations #

The architecture keeps the database in the same task because of AWS Academy constraints; production would require managed persistence and stronger credential policies.

SYS-07.06

Next steps #

Add remote Terraform state, a deployment pipeline, observability and a production architecture with a managed database.