I am really lost for words man, i have browsed numerous articles and videos on the web - and most of them hurry on with explaining the ALB and just throwing a few bits and pieces on NLB... and be done with it. This is the first video i came across, where NLB was actually being drilled in depth... along with uncovering the "No Security Group" mystery. To you Sir.. i take a bow!!!
Finally understood the reason no security groups can be set in NLB is that the connection is not terminated at all from the client, only forwarded..Thanks for covering that aspect!!
Great video Sir... All your videos are simple and easy to understand.. All my colleagues have already become a fan of yours :).. Please continue uploading more of these :) Thanks a lot !!!
Reealy very good explination thery and lab such a wounderrfull thenk you for your valuable time to share your knowledge to other thank you so much need more videos.
Thank you. 😃😃 Please don't stop here, do check out 100+ awesome AWS videos on our channel.. I'm sure you will learn something good from these.. ✌️✌️ And if you like it, you can share with your friends and colleagues and help them learn as well. 🎉🎉
@@knowledgeindia Sure Sir! Could you please say how to connect to private Ec2 instance? I have launched ec2 instances one window and other linux in private subnet .Network Load balancer in public.
Hi, Great tutorial ! I have a question, Can we route HTTPS traffic through Network Load Balancer. I tried to configure same way using TLS on port 443 but not working for me. Please can you provide some info I had to use separate application LB for my https traffic while using NLB for SIP traffic. Thanks
Great tutorial. Thank you for the clean and easy explanation. Could you please also tell about the outbound traffic from ec2 instances to outside how its handled in both ALB and NLB scenarios?Does it go via load balancer only and do we need to add those rules or target group explicitly or is it by default it goes via Load balancer?
Hi,thanks for the video..amazing explanation with regards to the load balancer con concepts. Still I have got one question..NLB and application load balancer is fine.but is the normal ELB we called it as classic one ???
Hi there nice explanation can you please give a hint regarding the AWS NLB which does not support session affinity, how can I setup session Affinity on AWS NLB ? AWS ALB & ELB support session affinity.
Hi, such a nice tutorial. Keep the good work. Can you explain what is IAS, that you have mentioned at the begining of your tutorial, wrt linux and windows
hello I just have one question ? In the start of this video I saw that there are two instances launched in private subnets but my question how to connect to that instances which are in private subnets in order to install apache server on it on the same with windows ?
thanks for a helpful tutorial! Do you've a resource on distributing multiple input files across instances for parallel processing using a load balancer?
Please understand LB will not distribute files, it will only send requests. You may choose to store the file which needs to be processed in S3 and then it gets picked from there.
the good thing for nlb is that the encryption from client to server is enabled compared to alb, alb encryption just happens in client to alb, alb to server traffic is not encrypted.
Sir how you managed to get into both servers to open the ports which you have spinned inside private subnets as i understand to access those servers we either have to use public ec2 and then access it or need to enable nlb ?
Huge thanks for this very helpful video..! Can we assign Private Static IP (not EIPs) on NLB's external interface (instead of the external DNS name - which gets auto-generated) ?
Great Video Sir.. Can you guide us how to write custom HTTP responses in NLB. As in the latest UI we do not have that provision of writing custom HTTP Responses for health checks.
If I have docker swarm on my ec2 instances and I kept under nlb, can i have ssl along with it? Currently I use ALB and I get frequent 504 error on my website. My web application is written in php. Any idea?
That's because Security best practices suggest to keep your resources in private. Please watch other videos on Load balancer in playlist - ua-cam.com/video/zHOJvU8JM94/v-deo.html
Thanks for your appreciation. You can support our initiative of Free Practical Cloud Tutorials by sharing this video with your friends on Social channels, whatsapp etc. If it helped you solve a problem and you would like to applaud us, click the Applaud button :) For regular 1-1 interaction with me, check our Membership - ua-cam.com/channels/zpHRBVnkzBfSsXostYuW1g.htmljoin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi, one question...how can we install web server in private ec2 instances? You said u installed apache and iis in ec2, but they don't have a public ip..so how to do it? 🙄 Is it using the user data option while creating instance? Can anyone pls help me understand?🙏
Thanks for the response .. Can I change the existing setting of TCP to TLS on the existing NLB which is connect to internal ALB(via lambda) without any issues or do I need to consider any points ... we are trying to make the change to capture client ip in the NLB access logs
You cannot change vCPU for EC2 without a stop. EBS can be increased, i have a video for that in detail, please check on the channel :) Thanks for your support, keep sharing and loving us. :) Do join Linkedin group www.linkedin.com/groups/10389754/
@@knowledgeindia I have installed Apache-tomcat-7.0.54 and MySQL in Ubuntu 18.04. If I browse Ubuntu Instance public DNS URL I able login application , its working fine . Same instances I configured with classic load balancer. If I browse with load balancer DNS URL only application home page is coming. not fetching mysql database.Security group I gave all traffic allowed .
@@knowledgeindia I saw your ALB video . I have question In my ec2 instance have Apache-tomcat-7.0.54 and MySQL database . if login application using ec2 DNS database fetching and everything working fine. but If I login application with ALB DNS database not fetching . so may be I need to create centralized MySQL server for all Instance ? then only ALB will work ?
Good explanation. I have one issue, Current Project Setup: While on-boarding new client, New Instance has been created and deployed in JBoss Server. New Instance has been create on SQL Server Database. So, Like 100 Clients, 100 Instances deployed in JBoss Server and 100 Instances has been created on SQL Server DB. New Approach can be like, One EC2 Instance for web application, which can be connect to Multiple DB instances. Since it's very hard to migrate All DB Instances to one Instances, How can achieve one EC1 Instance with Multiple DB Instances? I hope, you got my point. - Thanks
yes, i should think about . in the meanwhile check our playlists.. Thanks for your appreciation. You can support our initiative of Free Practical Cloud Tutorials by sharing this video with your friends on Social channels, whatsapp etc. If it helped you solve a problem and you would like to applaud us, click the Applaud button :) For regular 1-1 interaction with me, check our Membership - ua-cam.com/channels/zpHRBVnkzBfSsXostYuW1g.htmljoin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
how do i allow NLB to talk to instances ? and how do i control access of NLB URL ? i don't want to allow all person to access my NLB , how do i set that ?
i still don't understand that sir , how do i allow particular ips/network to access my NLB & for internerl NLB , how do we allow NLB to access instances (particular ports)?
I am using a RHEL ami to launch an instance. When I create an ENI , it's getting attached but not coming up at the OS level. ec2-net-utils is not supported in RHEL so I have to manually configure the ENI for the instance. Though I have found some online blog for this but I am finding it very hard to follow. Can you please make a video on this ? Here is the url of the blog : findoutthat.com/configure-multiple-aws-ec2-elastic-network-interface-eni-in-linux/
I am really lost for words man, i have browsed numerous articles and videos on the web - and most of them hurry on with explaining the ALB and just throwing a few bits and pieces on NLB... and be done with it.
This is the first video i came across, where NLB was actually being drilled in depth... along with uncovering the "No Security Group" mystery.
To you Sir.. i take a bow!!!
Thank you Nikhil.. I'm sure you will check more playlists on our channel for various AWS topics ✌️✌️✌️
One of the best explaination. Articulated pretty well. Crisp, Clear and to the point.
Finally understood the reason no security groups can be set in NLB is that the connection is not terminated at all from the client, only forwarded..Thanks for covering that aspect!!
Welcome. Please share and support us
Best videos for new learner or any level cloud engineers... proper examples...all basics covered... awesome
Thanks a lot Swap !! Please help us by sharing the video with your friends on LinkedIn/FB. Please tag us.
This is the Best explanation with demo. I was in some confusion of NLB and got the exact point what I was looking for. Keep it up KI.
Happy to hear that Chirag. Do check out the pricing video of load balancers
@@knowledgeindia Yes , watching couple of videos to brush up my concepts.
Exactly what I needed. AWESOME!
for real time AWS scenarios, I think this is the best website in youtube.
Thanks a lot!!. please do LIKE & SHARE the videos.
You are The #BestTeacher for #AWS Concepts on UA-cam!!
#network #loadbalancer #Architecture
Thanks a lot my friend.. please share our video in your circle..
Great presentation. I always like your presentation and tone/voice. Thanks again you rock as useful.
Very nice video. Great idea to lead with the demo. 👍
Great video Sir... All your videos are simple and easy to understand.. All my colleagues have already become a fan of yours :).. Please continue uploading more of these :) Thanks a lot !!!
Thanks Sujith. Please write about KnowledgeIndia on LinkedIn/Facebook.
This is really great video and thanks for your effort for making this video
Reealy very good explination thery and lab such a wounderrfull thenk you for your valuable time to share your knowledge to other thank you so much need more videos.
Really appreciate. Clear and precise explanation. Keep going. Best wishes.
Thank you. 😃😃 Please don't stop here, do check out 100+ awesome AWS videos on our channel.. I'm sure you will learn something good from these.. ✌️✌️
And if you like it, you can share with your friends and colleagues and help them learn as well. 🎉🎉
Good representation of NLB in AWS. thanks for your video.
great video - understood alot compared to reading AWS site.
Thank you. Please share with your friends
Super clear. Awesome video!
Glad you think so! Please do share and help others to learn as well.
Best videos till so far I saw on AWS and Thank you so much!!
Thank you.. please share it with your friends
Great voice , phase.. awesome content as well
Too good explanation.Extremely helpful Sir
thanks Durba.. Please join us on LinkedIn.
@@knowledgeindia Sure Sir! Could you please say how to connect to private Ec2 instance? I have launched ec2 instances one window and other linux in private subnet .Network Load balancer in public.
Please check our video in vpc playlist.. about public and private instances
amazing tutorial, clears many confusions..cheers and thanks for the good work
Glad you liked it! Please share with your friends as well..
Keep up the great work.Truly appreciate the effort gone into making this.
Thanks Bharath. . you can support us by sharing this video with your friends and writing about us on LinkedIn.
very good video and this improved my understanding on elb.
thanks a lot. Please share and help us.
Thankyou sir. Well explained. But why do we keep webservers in private subnet?
Thanks a lot for making such Videos.
Who are you man!!!! Really great explanation, thanks for your time and effort
A person who is trying to help :)
But, doesn't get enough LIKES & SHARES :)
Really amazing Video!!
Excellent and Nicely explained.
Thanks Kathir. Looking for your support always, please let your friends know by SHARING this.
insanely lit explanation! Nailed it
Thank you .. keep supporting us by sharing our videos with your friends / colleagues.
What firewall, can I attached to NLB to filterout the malicious traffic? like we can attached WAF with ALB.
Hi, Great tutorial ! I have a question, Can we route HTTPS traffic through Network Load Balancer. I tried to configure same way using TLS on port 443 but not working for me. Please can you provide some info I had to use separate application LB for my https traffic while using NLB for SIP traffic. Thanks
Great tutorial. Thank you for the clean and easy explanation. Could you please also tell about the outbound traffic from ec2 instances to outside how its handled in both ALB and NLB scenarios?Does it go via load balancer only and do we need to add those rules or target group explicitly or is it by default it goes via Load balancer?
Please watch our complete networking playlist..
Hi Team, I didn't find handling of the traffic with Loadbalancer in the networking playlist
@@vamsigomatam4673 there is a video which covers that. If you watch it patiently, you will get the concept properly.
Really nice video. Great effort
very good explanation.
Hi,thanks for the video..amazing explanation with regards to the load balancer con concepts.
Still I have got one question..NLB and application load balancer is fine.but is the normal ELB we called it as classic one ???
Yes that's right. I would recommend watching our complete load balancer playlist
Hi there nice explanation can you please give a hint regarding the AWS NLB which does not support session affinity, how can I setup session Affinity on AWS NLB ? AWS ALB & ELB support session affinity.
its not there on NLB..
Really appreciate
But I have a doubt: how did you get into private instances because I see no public EC2 instance is launched in public subnets.
Thanks for superb explanation :)
Thank you. Please do check out our playlists for more such videos.
Suppose I launch an internal NLB and targets are two instances in private subnets. How can I assign an static IP to NLB? Please reply.
so for example if a VM is running services on many ports I need to add same VM in multiple target groups, right?
Hi Team,
U r doing a brilliant job keep it on, Please share ECS container videos also as its having too much requirement in the market
14:15 , Bro not able to choose the second instance. The selections in enabled for only one instance
Hi, such a nice tutorial. Keep the good work.
Can you explain what is IAS, that you have mentioned at the begining of your tutorial, wrt linux and windows
i guess you heard IaaS - Infrastructure as a Service.
hello I just have one question ?
In the start of this video I saw that there are two instances launched in private subnets but my question how to connect to that instances which are in private subnets in order to install apache server on it on the same with windows ?
Use bastion host. Check out networking playlist
Can we configure the NLB for AWS MSK endpoints?
If yes, is that straight forward like in your demo?
Many thanks 👍
Superb Explanation...
Excellent... Keep it up sir
Thanks Nitin. Please do share with your friends on LinkedIn/FB/Twitter.
Thanks, Generally all web-application run on HTTP:80, How NLB runs with TCP:80? Please clarify. Thanks
Great one
thanks for a helpful tutorial! Do you've a resource on distributing multiple input files across instances for parallel processing using a load balancer?
Please understand LB will not distribute files, it will only send requests. You may choose to store the file which needs to be processed in S3 and then it gets picked from there.
Do you think storing the files in S3 guarantees that LB distributes them across registered instances?
S3 will act as storage only.. Your application will have the logic which file to be downloaded.
I want to configure NLB which can transfer traffic to my ELK node group, not normal EC2. How do we make it?
awesome explanation !!
You are awesome man
Thanks Vinay. Please support us by sharing the videos.
the good thing for nlb is that the encryption from client to server is enabled compared to alb, alb encryption just happens in client to alb, alb to server traffic is not encrypted.
Great video sir. Thanks
Thanks Birjon. Keep spreading good resources, please share this video.
Superrrrrrrr
Glad it was helpful! Please do share with your friends..
Sir how you managed to get into both servers to open the ports which you have spinned inside private subnets as i understand to access those servers we either have to use public ec2 and then access it or need to enable nlb ?
Huge thanks for this very helpful video..!
Can we assign Private Static IP (not EIPs) on NLB's external interface (instead of the external DNS name - which gets auto-generated) ?
its very good , can you please make a video's of ECS and EKS.....
Great Video Sir.. Can you guide us how to write custom HTTP responses in NLB. As in the latest UI we do not have that provision of writing custom HTTP Responses for health checks.
If I have docker swarm on my ec2 instances and I kept under nlb, can i have ssl along with it? Currently I use ALB and I get frequent 504 error on my website. My web application is written in php. Any idea?
See if this helps aws.amazon.com/premiumsupport/knowledge-center/504-error-classic/
Hi , thanks for the concept , but can u explain why u r load balancing the instance in private subnet , why not for public subnet
That's because Security best practices suggest to keep your resources in private. Please watch other videos on Load balancer in playlist - ua-cam.com/video/zHOJvU8JM94/v-deo.html
Knowledge India , thanks once again for the clarification.
Knowledge India can you please show , an on premises load balen ing via AWS NLB
Hi I have one question when creating a LB why we have give the public subnet y not pvt subnet with nat why it won't work
You need to understand role of LB and NAT first. Check our networking playlist if you want to be crystal clear on this.
Thanks
That INTRO 😂😂 this channel is fire
Sorry, You didn't like it?
Hello
Please logic for the 8080 port entry for windows instance?!?
thank you
Thanks for your appreciation. You can support our initiative of Free Practical Cloud Tutorials by sharing this video with your friends on Social channels, whatsapp etc.
If it helped you solve a problem and you would like to applaud us, click the Applaud button :)
For regular 1-1 interaction with me, check our Membership - ua-cam.com/channels/zpHRBVnkzBfSsXostYuW1g.htmljoin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What fo you mean by when you say Layer 4 and Layer 7?
Hi, one question...how can we install web server in private ec2 instances?
You said u installed apache and iis in ec2, but they don't have a public ip..so how to do it? 🙄 Is it using the user data option while creating instance?
Can anyone pls help me understand?🙏
watch complete networking series.. use NAT
@@knowledgeindia
Oh ok...yes, I started following your videos...very informative and clearly explained...thank you sir...👍👍👍
Hi, Sir am very much thanking for your efforts making such simple clips, I would request you make some clips on AWS WAF, AWS SHIELD, AWS WAF MANAGER,
Thanks a lot. Please support our channel by sharing this video with your friends.
Nice one..Can you please create a video on private link and endpoint?how we can use both of them together?
Sure, can you share the videos and our channel on Linkedin/FB? Please tag us..
Nys one, But is there any option to attach SSl Certificate ? , like ALB
No.
This video needs to be updated with newer features of NLB. Like, SSL termination is supported in NLB now.
After enabling proxy protocol for NLB where can we get the client ip ? Can you please help me to figure it out. Thanks in advance
Network Load Balancer preserves the source IP of the client which in the Classic Load Balancer is not preserved.
Thanks for the response .. Can I change the existing setting of TCP to TLS on the existing NLB which is connect to internal ALB(via lambda) without any issues or do I need to consider any points ... we are trying to make the change to capture client ip in the NLB access logs
7:23 not able to change Elastic IP. Instead AWS is automatically assigning the IP , I'm using default VPC
hi,
may i know how to change ebs and ec2 cpu with out stoping ec2 instance and resizing and rescaling ebs volumes
You cannot change vCPU for EC2 without a stop.
EBS can be increased, i have a video for that in detail, please check on the channel :)
Thanks for your support, keep sharing and loving us. :) Do join Linkedin group www.linkedin.com/groups/10389754/
Sir, may i know that private subnet is connected to internet gateway .so the instances get connected ?
NLB is put in public subnet.
Do you create lamp server created
I have installed Apache-tomcat-7.0.54 and MySQL in Ubuntu 18.04.which load balancer can i use
If you want load balancing in front of your Apache tomcat, use ALB.
@@knowledgeindia I have installed Apache-tomcat-7.0.54 and MySQL in Ubuntu 18.04. If I browse Ubuntu Instance public DNS URL I able login application , its working fine . Same instances I configured with classic load balancer. If I browse with load balancer DNS URL only application home page is coming. not fetching mysql database.Security group I gave all traffic allowed .
I migrate ELB to ALB using ALB launch wizard still same issue
You are probably not setting things right -- Watch our playlist for Load Balancers and Networking on AWS..
@@knowledgeindia I saw your ALB video . I have question In my ec2 instance have Apache-tomcat-7.0.54 and MySQL database . if login application using ec2 DNS database fetching and everything working fine. but If I login application with ALB DNS database not fetching . so may be I need to create centralized MySQL server for all Instance ? then only ALB will work ?
Greattttttt
Now the NLB support TLS termination
Where is SG setting for this NLB ?
Why is layer 4 load balancer called network load balancer when in OSI layer, layer 4 is Transport layer?
Cause the layer 4 and the layers below it make basic tcp/ip network model. It is actually tcp/ip network load balancer.
Can we configure autoscaling in this
Yes you can.
Tnx for replying, but when i am editing details of autoscaling ( where we put the id of load balancer) it is only showing ELB.
Watch my video of ALB. you will learn how to use target groups.
Good explanation.
I have one issue,
Current Project Setup:
While on-boarding new client,
New Instance has been created and deployed in JBoss Server.
New Instance has been create on SQL Server Database.
So, Like 100 Clients, 100 Instances deployed in JBoss Server
and 100 Instances has been created on SQL Server DB.
New Approach can be like,
One EC2 Instance for web application, which can be connect to Multiple DB instances.
Since it's very hard to migrate All DB Instances to one Instances,
How can achieve one EC1 Instance with Multiple DB Instances?
I hope, you got my point.
- Thanks
Sorry I don't get it. For consulting engagement, there is a different engagement model.
@@knowledgeindia How can i reach Consulting Engagement?
Can you give the auto scaling scenarios and red shift scenarios for realtime
Sure , can you help us by sharing the videos and our channel on Linkedin/FB? Please tag us..
Great work,
Why dont u create a complete course and post them in udemy, so that we can have all as a single course...
yes, i should think about . in the meanwhile check our playlists..
Thanks for your appreciation. You can support our initiative of Free Practical Cloud Tutorials by sharing this video with your friends on Social channels, whatsapp etc.
If it helped you solve a problem and you would like to applaud us, click the Applaud button :)
For regular 1-1 interaction with me, check our Membership - ua-cam.com/channels/zpHRBVnkzBfSsXostYuW1g.htmljoin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Classic video
how do i allow NLB to talk to instances ? and how do i control access of NLB URL ? i don't want to allow all person to access my NLB , how do i set that ?
You can do that filtering with Security Group of instances (behind NLB). There is no SG at NLB level.
i still don't understand that sir , how do i allow particular ips/network to access my NLB & for internerl NLB , how do we allow NLB to access instances (particular ports)?
Please see the video again . the IP restriction needs to be done at the instance security group.
Is that possible to set listener on Port: 3389 for RDP?
I guess yes. But I don't see a practical usage
Always getting unhealthy instances (linux + win) in NLB. Not sure why :-( allowed everything in security groups.
Can't solve from here unfortunately :( ..
Please try to see that service is running on your instance on correct port.
can someone please explain SSL offloading?
Watch our load balancer playlist
It is not mandatory to have port open 0.0.0.0/0 in HTTP.
I am using a RHEL ami to launch an instance. When I create an ENI , it's getting attached but not coming up at the OS level. ec2-net-utils is not supported in RHEL so I have to manually configure the ENI for the instance. Though I have found some online blog for this but I am finding it very hard to follow. Can you please make a video on this ?
Here is the url of the blog : findoutthat.com/configure-multiple-aws-ec2-elastic-network-interface-eni-in-linux/
if anyone is facing similar issue : stackoverflow.com/questions/52044907/manually-configuring-secondary-elastic-network-interface-on-red-hat-ami-7-5
nlb supports ssl termination now
yes it does now :)
Sir you should increase the font and also your tone
Brilliant Explanation. Keep up the Great Work Sir!