Springboot (CRUD) on ECS Fargate

A simple springboot application with CRUD operations deployed in ECS Fargate.The data from springboot application is persisted in RDS database.

Architecture

Key Features

  • Springboot Application deployed in ecs fargate.

  • ECR for storing the dokerized image.

  • RDS database for storing data.

  • Secrets for storing database credentials.

  • Configuring security groups.

  • Configuring load balancer and ecs service.

Challenges Solved

  • The ecs task stopped immediately after launch.Used Cloud watch to debug and resolve.

  • Security Groups configuration was bit challenging.

  • ECS tasks was not reachable through ALB because of subnet and AZ configuration.