Proof of Concept (POC) on AWS Elastic Container Service (ECS) fronted By Application Load Balancer (ALB) and Storing Docker Images on Elastic Container Registry (ECR)

<p>During this hands-on project, I delved into the intricate world of cloud architecture and deployment. My task revolved around the HumanGov application, which was to be modernized, containerized, and deployed onto the AWS Cloud environment. I started by creating necessary IAM roles, followed by initializing the AWS Cloud 9 environment and cleaning up outdated directories. This set the stage for our application transition, as I then containerized the HumanGov application using Docker. Next, I built and pushed our Docker images to AWS ECR for both our Flask app and the NGINX application. The meticulous step-by-step process ensured each layer was built properly with the right configurations.</p> <p>Using Terraform, I provisioned an AWS S3 Bucket and a DynamoDB table. Terraform&rsquo;s Infrastructure as Code capability streamlined this process, allowing me to instantiate, modify, and version infrastructure safely and efficiently. With AWS S3 and DynamoDB ready, it was then onto the Elastic Container Service (ECS). After creating an ECS cluster, I formulated a Task Definition for our ECS deployment.</p> <p>This definition detailed the containers, their roles, and necessary configurations, from environment variables to port settings.</p> <p><a href="https://terencecheatom21.medium.com/proof-of-concept-poc-on-aws-elastic-container-service-ecs-fronted-by-application-load-balancer-c69c26355fc8"><strong>Click Here</strong></a></p>