Thanks this video is very crisp and easy to understand
@Flexclone4 жыл бұрын
Thank you for putting this together it really help me understand load balancing, vpc, and security groups.
@rajeshkannan13912 жыл бұрын
Very clear and helpful. Thanks for this video. If you have mentioned to replace the > symbol in user data it would have been little easier as well as I blindly copy pasted it and instance was not healty.
@sudhakaramineni60905 жыл бұрын
Thanks a lot Chetan for this video. it was clear explanation how path based routing works .!!!
@foxezekiel7863 жыл бұрын
i know Im kind of off topic but do anybody know of a good site to stream new movies online ?
@Krishnakumar-vu3qc3 жыл бұрын
Thank you..its really helpful.!!
@synchronizingsynchronize30663 жыл бұрын
such a cool to understand!
@hamedkhajat59164 жыл бұрын
Thanks for the great tutorial. I have a problem hope you can help: I don't have a web app and I need to forward traffic based on the port numbers, is it possible? For example, if the traffic received in ports [3001 to 3200] of the Load balancer forward them to instance A, and if they received in ports [3201 to 3400] forward them to instance B (so I can not specify a specific number in the URL or a string like hi and bye which you did, it is a range of port numbers). And it would be great if they get forwarded to the same port of the instances as they received on the load balancer. It is very important for me, please help.
@puneetsaneja30074 жыл бұрын
Do Application load balancer also manage to distribute request to different instance of an microservice ?
@AWSwithChetan4 жыл бұрын
Yes, you can have ECS and EKS containers behind ALB with dynamic port mapping
@tyronefrielinghaus34672 жыл бұрын
Why have you disabled cc? I find having captions very useful...
@AWSwithChetan2 жыл бұрын
I will try adding those
@balajipraveen72874 жыл бұрын
Could you please take gateway load balancer demo and aws firewall topic please
@saranyasanapala10493 жыл бұрын
Thanks Chayan very useful can you please share document of this
@davidpccode4 жыл бұрын
Hi, Thank you very much. One question.. Why do you create a different subnet one for LB and one for EC2'c. Would the LB be placed in the same subnet as the EC2's subnet?
@AWSwithChetan4 жыл бұрын
Typically for Web applications ALB should be in Public Subnet and EC2 should be in Private subnets so that EC2 can not be reached directly.
@davidpccode4 жыл бұрын
@@AWSwithChetan great tks!! Can I contact you directly.. we need some help for our company
@puneetsaneja30074 жыл бұрын
I noticed , ALB is path based load balancer. Which load balancer is for instance based i.e request distribute to different instance?
@AWSwithChetan4 жыл бұрын
Its optional to use path based load balancing. Normally ALB will just distribute the load across all ec2 instances
@samrat22954 жыл бұрын
Hi, What changes we need to make if the ec2 instances are in private subnets?
@AWSwithChetan4 жыл бұрын
Ideally EC2 should be in private subnets only however you need to make sure EC2 has the required application running when they boot up. There are 2 choices: 1. Add a NAT and provide outbound internet access to EC2 instance so that they can execute userdata and download required packages from internet 2. Use custom AMI which has applications preinstalled. In that case EC2 instances do not need internet connectivity
@puneetsaneja30074 жыл бұрын
How we determine , which all target groups associate with my ALB. Is ALB automatically linked all target group which are within the ALB's VPC ?
@AWSwithChetan4 жыл бұрын
You have explicitly route the ALB traffic to TGs. You can see this in ALB listeners rules.
@sureshkavuri64845 жыл бұрын
Thanks Chetan for videos.Good explanation.BTW,what is the software you are using for drawing Architecture diagrams.
@AWSwithChetan5 жыл бұрын
I used google slides only. Earlier I used to use gliffy but now I am used to google presentation (slides)
@souvikadak7315 жыл бұрын
thanks Chetan, for clear view of application loadbalancing, but when im completing the the whole thing, it is giving "503 service temporary unavailable, is it a problem with AZ or I have any mistake, can you please assist me.
@AWSwithChetan5 жыл бұрын
This means you don’t have healthy ec2 instance. Go to target group and check instances health. If you have launched ec2 instances in Public subnet and Security group allowa port 80 traffic for everyone then also try to hit the ec2 public ip directly via browser and see if website is on. If not, probably you misconfigured your ec2 instances
@bhakta_rg5 жыл бұрын
thanks Chetan, you could have given the ALB security group as source for EC2 instances (in the EC2 instance security group), instead of putting the subnets of the ALBs as best practice
@dhanwadc5 жыл бұрын
ibmuser13 nacl can be applied to subnet instead of sg
@wyangwong49944 жыл бұрын
Hello, thanks for the video, is it possible to create 2 EC2 instances with hosting 2 different web application, but same index file "/hi/index.html". I tried configured the target groups to have the same health check path, but I got error 404 when I tried to go to the domain.elb.amazon.com/bye/ path
@AWSwithChetan4 жыл бұрын
Yes, just that you need to define on what parameters the decision is made to route request to either of web application. You can do that with 1. Hostname e.g app1.mydomain.com and app2.mydomain.com 2. Path based /app1 or /app2 3. Different ports e.g mydomain.com:8080 to app1 and mydomain.com:8081 to app2
@thaophuong-jo9bn3 жыл бұрын
if 2 app ec2 are web servers with the same content. So what is solution to synchronize code data? please tell me fact solution. Thank you
@AWSwithChetan3 жыл бұрын
Ideally your apps should be stateless with no data or session stored locally. For data you can have database, for file sharing you may use EFS and for session sharing you can use session store like Redis or dynamoDB. In case your app still has some state then you can enable the stickiness on ALB to route requests from a client to particular web server only.
@thaophuong-jo9bn3 жыл бұрын
@@AWSwithChetan maybe you dont understan what i means. 2 my web server are the same code and database. Please dont care about database. for example, i run wordpress on 2 servers (server1 and server2). Some times, i will change code in wordpress on server1, so what is solution to sync changes to server2
@kavacham2224 жыл бұрын
While creating a target i am not able to see the subnets, why can u tell me. I have selected and registered as well in load balancer. But able to see in target . Plzz help me
@AWSwithChetan4 жыл бұрын
Make sure you are using same VPC while creating load balancer and target groups and EC2 instances.
@kavacham2224 жыл бұрын
@@AWSwithChetan yes i am using same Vpc.but still not able to see.And thank you for ur reply.
@kavacham2224 жыл бұрын
Thankyou its working.
@ektavij37785 жыл бұрын
I am receiving 503 Service Temporarily Unavailable, please help me.
@Mishaa2224 жыл бұрын
Thank you so much for this video.. Sir,I am getting 502 error..Can you please assist me with that?How to make 'healthy' target?
@phenomenaljay424 жыл бұрын
did u fix this?
@swapnilshingote87734 жыл бұрын
Just for ease of exercise you are launching instance in public , but you should have put some more effect and launched the instance in private subnet this would be the video for the real life scenarios......
@AWSwithChetan4 жыл бұрын
Yes that’s exactly it should be. Just for ease of setting this up I launched instances in public subnet so that we can setup Webserver using userdata. But you are right, ec2 instances must be in Private subnets.
@fbsoul14 жыл бұрын
thanks
@akhilesh1184 жыл бұрын
Do header based login Http Https String based login
@balajipraveen72874 жыл бұрын
Could you please take gateway load balancer demo and aws firewall topic please
@balajipraveen72874 жыл бұрын
Could you please take gateway load balancer demo and aws firewall topic please