Building your first DevOps Blue/Green pipeline with Amazon ECS

Development Teams around the world struggle with getting cloud benefits of traditional monolith applications. Complete modernization or re-architecting monolith with say Microservice Architecture takes months if not years. Instead of settle with lift and shift cloud migration aprroach having limited cloud benefits, one can start with re-platforming on cloud with containers and other AWS managed services. Idea is to start small and experience speed and agility that AWS provides, along with performing zero-downtime deployments with distributed development team working on a shared codebase.

In this workshop, we will first autogenerate online ticketing monolith system (Trip Management) based on Java platform. We will then containerize “Trip Management” monolith application with hosting database on Amazon Relational Database Service (RDS) and implement DevOps continuous integration/continuous deployment (CI/CD) pipeline with blue-green architecture on AWS using Amazon Elastic Container Service (Amazon ECS).

We will deploy containerized Monolith Application on Amazon ECS with

  1. Amazon EC2, where you manage EC2 fleet of servers hosting containers, and
  2. AWS Fargate, which is a serverless compute for containers and you don’t have to manage any EC2 fleet of servers.

Before we begin let’s get brief overview on Monolith Applications, Containers, DevOps and Amazon ECS.