It would have helped if there was a visual that shows the architecture diagram at the end.
@sysadmin-e6784 жыл бұрын
Why was a Classic LB used? Can this be done with an Application or Network LB? I understand that the steps may be different, but is the end result possible with the other two ELB types?
@parthbhoir37302 жыл бұрын
Yes, it can be done
@bezawadaashok70442 жыл бұрын
Thank you so much.. It helped a lot for me.
@SteepVisions3 жыл бұрын
It's sad that best practices on AWS are so damn expensive.
@uDubRiceBoy4 жыл бұрын
Why was the NAT Gateway need for this example? Was it only for patching and updating the EC2s? Thanks for the help in Advance!
@taiwobabalola47554 жыл бұрын
NAT Gateway enables internet connection to your private subnets
@aditya-garg3 жыл бұрын
@@taiwobabalola4755 1.I assume we can make it work without NAT GW as well right? 2.And AWS does not offer SNAT concept like Azure where LB Public IP can be used for private instances to access internet?
@lovelymikeb3 жыл бұрын
@@aditya-garg it shouldn't work without a NAT Gateway, no. Your private instances have no direct route to the internet (i.e your load balancer). The route table they use specifices that 0.0.0.0 (internet traffic) goes to the NAT gateway, and the ELB (behind the scene) knows that to route traffic to those instances, it has to be sent to the address of the NAT gateway. IMO this video should at least mention this concept, because this step IS happening, but you don't get to see it
@factaky4 ай бұрын
@@taiwobabalola4755 this demo is about connection to the private subnet through the LB. There is no need for a NAT gateway. Very sloppy video.
@deepakpaliwal57754 жыл бұрын
How do we connect to the EC2 server now since we do not have an public DNS , is it through ELB DNS ?? Can you please tell ?
@geetchoubey3 жыл бұрын
Once the health checks have passed for the target groups, you can use the Load balancer DNS as the ELB is hosted on a public subnet, it is always accessible. In case of 502 error, check back with the target groups again.
@huucyber5 жыл бұрын
You saved my life, thanks so much
@sysadmin-e6784 жыл бұрын
Not directly related to this video, but if an (external) App or Network LB is created, is there an internal IP address or FQDN we can reference? The goal is to be able to use the same ELB for both external and internal users without the internal users having to go out to the external interface of the ELB.
@liausdhfsdgfgf4 жыл бұрын
Suppose in a given scenario an EC2 instance is linked with an Elastic IP address and is obviously exposed to the internet. If i create an ELB, do I need to get rid of the Elastic IP and link that EC2 instance with the ELB? Can ELB be employed in this scenario without removing the Elastic IP address?
@KRaghavendar4 жыл бұрын
I do not think NAT GW is required here, it was created because its a mandatory attribute to create the VPC thru Wizard. You can try deleting it and try reaching your servers via ELB DNS
@noobmaster69-s4 жыл бұрын
First u need to understand what is ur requirment 1) you want ur servers to be private or public 2) do you want to load balance your traffic -> if u want ur servers to be public and you want a fix DNS use Elastic IP -> if u want Private servers and fix DNS and load balance -> use the Application Load balancer as ur using Elastic IP, i think ur scenario is that instance should be internet exposed
@BengaliStrings5 жыл бұрын
I was able to follow your instructions
@abdulwahabadi97875 жыл бұрын
You probably have them laughed in other VPCs in your account. How many VPCs do you have ??
@BengaliStrings5 жыл бұрын
@@abdulwahabadi9787 Are you trying to help or be sarcastic my friend, if you can help it would be very nice
@BengaliStrings5 жыл бұрын
@@abdulwahabadi9787 can i mail you my problem statement
@abdulwahabadi97875 жыл бұрын
@@BengaliStrings sure abdulwahabadi@gmail.com
@gustavoalvarezgomez4 жыл бұрын
What's happen when we use two EC2 instances each one in different AZ. Does the ELB works in this setup?
@noobmaster69-s4 жыл бұрын
First Thing in your scenario i can see -> that ur ec2 are in diff AZ's and u want to load balance so first thing u need to check is -> which az's ur Ec2 are if ur ec2 is in 2 az, like A and B zone u need to configure ur ELB where u also need to put ur load balancer on the Same AZ in which ur ec2 presents That would work
@sijoriasijoria3 жыл бұрын
You can add multiple AZs to your load balancers.
@rishiyyogi98244 жыл бұрын
If you want to see architectural diagram pause the video at 0:59 and if wondering why NAT "NAT Gateway enables internet connection to your private subnet", try this without the wizard.. that's where learning starts , still is there is a architectural diagram from the begining and step by step establishment tracking would be more helpfull. thank you i still cant understand why we choose default SG for EC2 instance and later why we are connecting it to ALB why dont we choose ALB connected SG from the first it self .. any one please help...
@factaky4 ай бұрын
Given that this is a demo of load balancing to a private ip address, she should have disabled the NAT. Very sloppy video.
@rakeshpandey4733 жыл бұрын
I have followed the exact same process, however, the status of the instance is showing out-of-service on Loadbalancer waited for 10 min still the same.
@damodaragottipalli54844 жыл бұрын
Excellent. Really It helped me. Can I create two more subnets in another zone? For pubic-subnet 10.0.2.0/24 and for the private 10.0.3.0/24 and launch the instances in the private subnet? will that work? I tried. But didn't.
@VonDutchyy4 жыл бұрын
You will need to add the 2 instances to the alb and make sure they both live in a new security group as they are in different regions, normally u add listeners for different rules.
@johnsamuels9583 жыл бұрын
Your voice is like sadie adler from rdr2😅
@regulardev2 жыл бұрын
Disappointed to see the wizard being used. We fail to learn many important concepts.
@MohanNIroula14 жыл бұрын
Perfect!!
@damodaragottipalli54844 жыл бұрын
Did u try adding one more zone for high availabity and try?
@haipingwang70759 ай бұрын
Worst presentation ever! things confused: 1) what is the role of NAT for this task 2) how the security group is described in rules 3) Route Table is not mentioned
@awssupport9 ай бұрын
Apologies for any confusion caused! This re:Post article gives instructions on how to connect a public-facing load balancer to EC2 instances: go.aws/44KfIoP. Feel free to use these other resources if this wasn't quite it: go.aws/get-help. ^LG