AWS ECS Fargate: the serverless container service – Nginx “ready to deploy”

AWS ECS is a container orchestrator service that comes with two types: EC2 and Fargate.
EC2 type allows for more visibility into the application infrastructure by running it on containers that live on EC2 instances.
However, still the user has to do some heavy lifting in terms of managing EC2 instances, right?

Enter Fargate, a service that takes care of the underlying infrastructure and allows users to deploy and run applications quickly.

It’s been a while I am playing with ECS and had the opportunity to create ECS Fargate application that runs a simple Nginx application.

Note: SSL was not enabled and the application is accessible only on HTTP.

The whole application is created through Terraform and is divided into base and application infrastructure.

Want to check out the code? Visit my GitHub repository:
https://github.com/Naseerjamali/my-aws-ecs-fargate-nginx


More to come!

Cheers!


Posted

in

by

Tags: