AWS Fargate with ECS Tutorial: How to Deploy Microservices with a Load Balancer
ฝัง
- เผยแพร่เมื่อ 26 ม.ค. 2025
- In this tutorial, you'll learn how to deploy microservices using AWS Fargate with ECS. I'll cover everything from setting up a Cluster to deploying a containerized Flask app, and how to use a load balancer for efficient traffic management. This video is perfect for beginners wanting to understand how AWS Fargate works. By the end, you'll be confident in deploying applications through AWS ECS Fargate.
The resources for deletion in the end:
1) Backend and Frontend Service
2) ECS Cluster
3) Deregister revisions in backend and frontend task definitions
4) Namespace in AWS Cloud Map
5) Load Balancer
6) Target group
7) 2 VPC Interface Endpoints
8) 1 VPC Endpoint Gateway
9) Images in the ECR repository
The files from the video: github.com/dev...
Nice tutorial, thank you. It would be good to explain more about settings you chose - like why to uncheck logs and why to use only one subnet.
It's a demo video. The purpose of the actions you mentioned is to optimize costs.
you havent mentioned the creation of routetables
Another banger serge! 💪🏽
Love this tutorial! Any chance you can show us how to do this through Terraform?
Maybe in the future)
Hi Serge. How do I create a container with volume like PostgreSQL?
Hi, in this case, you can use data volumes:
docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html
could you please share the code ?
Yes, sure. Here it is github.com/devops-serge/fargate-with-ecs