Deploy Containers On AWS ECS Like A Pro

Devops Zero to Hero #7 — Deploying a 3-tier production application on AWS ECS

Akhilesh Mishra
9 min readMar 19, 2024

In my previous blogs on the series, Devops Zero to Hero, I have deployed containerized applications with docker and docker-compose. It was fine for testing the application but not good enough to deploy them In production.

Image generated with Gemini

If you want to deploy a container-based application in production, AWS provides two options —
1. ECS: Amazon Elastic Container Service — Ideal for users who want a simpler and fully managed container orchestration solution
2. EKS: Amazon Elastic Kubernetes Service — A better fit for users who require the flexibility and scalability of Kubernetes for container orchestration.

In this blog post, we will use ECS to deploy a WordPress application in a containerized way. I will use the AWS console to create all resources in this blog post.

I will cover the Terraform deployment in the next blog with another real-world example.

Interesting read:

--

--

Akhilesh Mishra

DevOps engineer with expertise in multi-cloud, and various DevOps tools.