How to create an ECS Service with Application Load Balancer
ฝัง
- เผยแพร่เมื่อ 21 ก.ค. 2024
- ► ▬▬▬▬▬▬ About 🧾 ▬▬▬▬▬▬
Learn how to create an Amazon ECS service with a load balancer in this step-by-step tutorial. This video will guide you through the process of setting up an ECS service and deploying your containers, then show you how to attach a load balancer to ensure high availability and manage incoming traffic to your application. Whether you're new to ECS or an experienced user, this video will provide you with the knowledge and skills you need to get started with Amazon ECS and load balancing. Watch now!
► ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 Introduction
03:39 Create security groups
06:29 Create an ECS cluster
08:29 Create a Task Definition
10:17 Create an ECS service with Load Balancer
► ▬▬▬▬▬▬ Useful Links 👩🏫 ▬▬▬▬▬▬
ECS documentation: docs.aws.amazon.com/AmazonECS...
► ▬▬▬▬▬▬ Subscribe 🚀 ▬▬▬▬▬▬
/ @gstutorials8544
► ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
/ gauri-shirkande-9610801a9
► ▬▬▬▬▬▬ Disclaimer 💁♀️ ▬▬▬▬▬▬
This video is solely made for educational purposes
► ▬▬▬▬▬▬ Email 📩 ▬▬▬▬▬▬
gaurishirkande11111@gmail.com
#docker #aws #ecs #service #cloud #applicationloadbalancer
THANK You, this was an livesaver.
Glad it helped you 😊
THANK YOU !! You really helped me to understand the key parts. I was struggling with the loadBalancer part till I found your channel haha
Glad it helped ! ☺️
Nice explanation with demo, I too have tried the way you did and really worked, Thanks !
You're welcome!☺️
👏👏👏👏AWESOME EXPLANATION AS ALWAYS
Thanks again!
@@codewithgauri WC
I am following your ecs videos the way of explaining easy to understand everything thank you for sharing. I have one doubt in my case I have 4 services need to deploy theses are running in different ports 3000, 3001, 3002, 3004 . Here how to configure do I have separate load balancer for each service or how to configure. Thank you...
Hi Saikrishna, thank you! You don't need to have a separate loadbalancer for each service considering these services are not different. What you need to do is to add the required ports (3000, 3002, etc) for the inbound rules in the security group of your cluster. And do the rest of the things the same as what I did in this video. Hope this helps!
@@codewithgaurithank you got it . Here for every service do I have to create separate task definition for every service all we need to use same task definition.
@@saikrishnajonnala9290 Yes I think, you will have to create a separate task definition since you're working with different ports
What happens when the ECS eliminate the instance and creates another one? The target group automaticaly add it?
Yes it does
Hello,Just want to confirm 1 thing. IF we have 2 tasks/containers running on same instance then load balancing on same EC2 between 2 containers is not possible according to AWS. We need 2 EC2 with 1 container on each. AWS says for load balance between 2 containers on 1 (same) EC2 ,you need your custom mechanism. Is it correct ?
Not sure
In Target group, u haven't added 2 ECS container instances to registered for health checks, but even miss that, how can u get output?
I didn't get the problem. Can you please explain?
at 13:14, the default health checks is enabled.....
please do videos on eks
Sure, will try to make videos on the same.