Understanding NAT Gateways - AWS Training

  Рет қаралды 78,848

QA North America

QA North America

Күн бұрын

Пікірлер: 88
@hritujbansod4019
@hritujbansod4019 6 ай бұрын
you sorted out so many things by relating them. great video
@bharatchandrahanumanthavaj9430
@bharatchandrahanumanthavaj9430 3 жыл бұрын
got a clear picture of NAT , feeling refreshed!!! .thank you
@stuartscott6368
@stuartscott6368 3 жыл бұрын
Thank you Bharat1287!
@jasper5016
@jasper5016 Жыл бұрын
Wow this is the fantastic video. I have watched so many videos but this explanation was very precise and clear.
@stuartscott6368
@stuartscott6368 Жыл бұрын
Thank you Jasper5016!
@jasper5016
@jasper5016 Жыл бұрын
@@stuartscott6368 - Just to tell you, I cleared my SAA exam and your videos had a great contribution to it.
@stuartscott6368
@stuartscott6368 Жыл бұрын
@@jasper5016 Congratulations to you, that's an awesome achievement! Great work, and thank you for letting me know! 👍
@readonlylogin
@readonlylogin 10 ай бұрын
Quite short and clear explanation! Well done!
@Brownmumba8973
@Brownmumba8973 3 жыл бұрын
Ok… wow. You gave context, a clear explanation and made it very easy to understand through reinforcement. Smashing instructor
@stuartscott6368
@stuartscott6368 3 жыл бұрын
Thank you very much Fahad Ali, I appreciate the feedback
@ohsquirrels3727
@ohsquirrels3727 4 ай бұрын
Love it, so clear
@smamind
@smamind 3 жыл бұрын
Short videos are always good for refreshing the concept.
@juliansalas8513
@juliansalas8513 2 жыл бұрын
Thanks! finally, I got the reason why a NAT needs a public subnet to work. Very clear your explanation!.
@stuartscott6368
@stuartscott6368 2 жыл бұрын
Hi Julian, thank you! I'm pleased to hear it cleared up any confusion you had!
@synchronizingsynchronize3066
@synchronizingsynchronize3066 3 жыл бұрын
you are my hero it is so helpful I'm doing project this content is really helpful and KZbin is really helpful since I found first since 2015
@mikeycodes
@mikeycodes 8 ай бұрын
Fantastic explanation. This cleared things up for me. Thank you!
@anilkommalapati6248
@anilkommalapati6248 2 жыл бұрын
No bullshit. Straight to the point. crystal clear.
@shraddhasable5416
@shraddhasable5416 2 жыл бұрын
thank you so much for making it so easy, very well explained
@samk_jg
@samk_jg 2 жыл бұрын
Awesome tutorial👋
@malang-aks
@malang-aks 3 жыл бұрын
why people dislike.. while there is no point of doing this.. excellent video
@chris0628
@chris0628 2 жыл бұрын
Excellent, to-the-point video!
@stuartscott6368
@stuartscott6368 2 жыл бұрын
Thank you Chris, appreciate the feedback!
@MeidanMeshulam
@MeidanMeshulam Жыл бұрын
Great stuff!
@armena2866
@armena2866 4 жыл бұрын
Amazing explanation - thanks!
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Thank you Armen!
@rkotcher
@rkotcher 4 жыл бұрын
Wow you're very good at explaining things. subscribed.
@stuartscott6368
@stuartscott6368 3 жыл бұрын
Thank you Robert, appreciate the feedback!
@arithex
@arithex 3 жыл бұрын
Great walkthrough -- I got my answer before the 3min mark. For some reason I was thinking of the NAT gw's as belonging to the private subnet, not the public. The way my NAT router at home belongs to me, not my cable company. Subscribed!
@stuartscott6368
@stuartscott6368 3 жыл бұрын
Happy to hear you got your answer arithex!
@Mohcine3tt
@Mohcine3tt 2 жыл бұрын
Well explained
@Hackenbaker
@Hackenbaker 4 жыл бұрын
Very well explained!!! Thank you
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Thank you Mario
@diegoandreeporrasrivas1155
@diegoandreeporrasrivas1155 4 жыл бұрын
Very clear and well explained!
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Thank you Diego!
@awaznipi2709
@awaznipi2709 Жыл бұрын
Cloud Made easy! 👍
@avisworld745
@avisworld745 Жыл бұрын
What if I want a Internet traffic eg azure power apps traffic to reach Private subnet.. Will nat gw allow the inbound traffic cmng from the Internet gw to the private subnet ?
@sergiodanielsaade4457
@sergiodanielsaade4457 3 жыл бұрын
thank you!!! Very clear... one question, can the EIP of the Nat gateway be reached from the internet, for example, can I ping it? or everything is denied from the Internet? Thank you in advance
@Gionawii
@Gionawii 2 жыл бұрын
How is the software download being done to the ec2 instance in private subnet without Nat accepting traffic from the internet?
@indian3197
@indian3197 2 жыл бұрын
Great video. One question. While receiving the patch or update data from the Internet, will NAT gateway allow the return traffic towards the private subnet instances which originated the traffic to the Internet?
@stuartscott6368
@stuartscott6368 2 жыл бұрын
Yes, the NAT Gateway will manage the communication
@belfunkk
@belfunkk 4 жыл бұрын
What rules do you have to add to the security group of the private instances to allow for connectivity via the nat gateway?
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Hi belfunkk, this largely depends on what you want the private instances to access. For example, if the private instances are communicating using HTTP, then you would use port 80 as the port on the outbound ruleset, pointing to the Private IP of the NAT G/W as the destination.
@scottscott232
@scottscott232 2 жыл бұрын
Fantastic explanation. A quick question though: if there is no inbound traffic allowed to the private subnet, then how are the instance OS's patched / updated?
@stuartscott6368
@stuartscott6368 2 жыл бұрын
Hi Steve, the request has to be initiated from the instance requiring the update first. As long as the request comes from an internal resource first, in this case, the instance, the NAT will forward the request externally and then receive the reply and allow comms between the outside world and the private instance. The NAT just doesn't accept inbound connections being initiated to internal resources. Thank you for the positive feedback too! Much appreciated!
@scottscott232
@scottscott232 2 жыл бұрын
@@stuartscott6368 That makes sense. Many many thanks.
@susanrussel1409
@susanrussel1409 3 жыл бұрын
Does Cloud Academy have an AWS Sandbox to go along with their courses. I am currently using A Cloud Guru but your lecture is soooo much easier to understand.
@QANorthAmerica
@QANorthAmerica 3 жыл бұрын
Hey Susan, you can find here cloudacademy.com/search/?platform=amazon-web-services&product=lab&q=labs all of our AWS labs where you can practice your skills in a live AWS environment. If you prefer, you can register here info.cloudacademy.com/free-courses-list and start training for free with our selection of free content. Don’t hesitate to reach out if you have any other questions. Thanks, Cloud Academy Team.
@carlitos081
@carlitos081 9 ай бұрын
perfect
@keyntankeye
@keyntankeye 5 жыл бұрын
This is very well explained. Thanks a bunch
@stuartscott6368
@stuartscott6368 4 жыл бұрын
A pleasure, thank you Keyntankeye
@EwertonSilveira
@EwertonSilveira Жыл бұрын
Tks 🎉
@TheTravelingMonkey
@TheTravelingMonkey 4 жыл бұрын
Nice tutorial! Quick question though. The NAT Gateway sends a request to an internet resource. Hence it allows response from that resource only?
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Correct, the NAT GW will contact the resource requested from the source client, in this example, the private EC2 instance
@viskal-cg1dd
@viskal-cg1dd Жыл бұрын
Wow what is the tool u used for drawing crystal clear drawings
@stuartscott6368
@stuartscott6368 Жыл бұрын
Thank you, I just used a GAOMON digital drawing board with a drawing app
@jota.8868
@jota.8868 3 жыл бұрын
Thank you!
@cselphenator
@cselphenator 4 жыл бұрын
AWSome job thanks!
@stuartscott6368
@stuartscott6368 3 жыл бұрын
Thank you Christopher!
@debabhishek
@debabhishek 3 жыл бұрын
you are suggesting 1 net gateway per public subnet , per availability zone,, as route tables does not take duplicate entries for same entry . we need separate route table for each private subnet in each availability zone. Correct me I am wrong.
@stuartscott6368
@stuartscott6368 3 жыл бұрын
Hi Abhishek, you are correct, so if you have a multi-AZ infrastructure with more than one public subnet, then to maintain high availability you should create a NAT Gateway in each of the public AZs and update the routing accordingly for each of the private subnets.
@luismora1017
@luismora1017 5 жыл бұрын
whats the difference between a NAT gateway and a NAT instance? (is it that a NAT gateway is manage by AWS?)
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Hi Luis - You can find a summary table comparing the 2 here: docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-comparison.html
@alexoteg7536
@alexoteg7536 Жыл бұрын
How many Ec2 can be in one subnet
@nivincp
@nivincp 4 жыл бұрын
Nice tutorial! Thank you. What's the drawing pad program you are using?
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Thank you Nivin - I was using Sketchbook by Autodesk with a Gaomon digital drawing tablet.
@k7babu555999
@k7babu555999 4 жыл бұрын
Nice video 👍 thanks for sharing
@vinayreddy4728
@vinayreddy4728 4 жыл бұрын
Is there a way to use NAT gateway between 2 different VPC's...
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Hi Vinay, a NAT gateway is used to allow instances in a private subnet to initiate a connection to the internet, while preventing connections being made inbound. NAT Gateways are not used to connect or exchange data flow between 2 VPCs. If you want to route connect to VPCs together, consider using VPC Peering or the AWS Transit Gateway. One point to remember is that NAT Gateways are not able to route any traffic through a VPC peering connection, a Site-to-Site VPN connection, or AWS Direct Connect. Even when you have 2 or more VPCs connected via peering or Transit gateway, the NAT gateway can't be used by resources on the other side of these connections by other VPCs.
@vinayreddy4728
@vinayreddy4728 4 жыл бұрын
@@stuartscott6368 Thanks a lot ... Explained clearly..
@SYEDFERHANHAIDER
@SYEDFERHANHAIDER 5 жыл бұрын
Can't we get this done by a network ACL rule simply(rule that allows all outbound traffic but denies all inbound traffic)? why do we need the NAT gateway?
@luismora1017
@luismora1017 5 жыл бұрын
that is if your looking at it from the network layer rules, but the function of the NAT gateway is also to translate the private IP address into Public IP adress (At least thats what the theory says)
@sthoyyeti
@sthoyyeti 4 жыл бұрын
1. Security Groups of EC2 instances has to allow outbound traffic 2. ACL also has to allow which ports and CIDR block are allowed to be reached at Subnet level. 3) Now How your private subnet is connected to internet which is addressed by NAT instance or NAT gateway in public subnet, which gives you a public IP. which inturn talks to Internet Gateway.
@rakesh4642
@rakesh4642 4 жыл бұрын
NACL is managed by aws and all the traffics are allowed by default,,,,u cant change that
@stuartscott6368
@stuartscott6368 4 жыл бұрын
@syed Farhan Haider. If you created a NACL and associated it with the private Subnet that blocked ALL inbound traffic, then no communication could be made to any resource within that Subnet from outside of that subnet. All the traffic will be blocked at the network layer. This would essentially isolate your subnet from every other subnet in your VPC, obviously, this is not ideal. NACLs control network traffic using ports and protocols at the subnet level. Luis is also correct in stating that the NAT will perform translation as well.
@stuartscott6368
@stuartscott6368 4 жыл бұрын
@@rakesh4642 Hi Rakesh, that is not strictly true. AWS will create a default NACL for your VPC that does not have any restrictions configured at all and effectively allows ALL traffic. However, you can create your own NACLs that contain far more restrictive controls, and this is recommended. You can then associate different restricted NACLs to different Subnets within your VPC. Only 1 NACL can be associated with 1 subnet, however, you can associate the same NACL to multiple subnets
@jonathankohn9231
@jonathankohn9231 3 жыл бұрын
why does a NAT gateway need an elastic IP?
@prakash2179
@prakash2179 4 жыл бұрын
Very useful 👍
@fooked1
@fooked1 Жыл бұрын
So why are they so expensive?
@TheSidhussain
@TheSidhussain 5 жыл бұрын
too good !!!
@QANorthAmerica
@QANorthAmerica 5 жыл бұрын
Glad you like this video TheSidhussain!
@stuartscott6368
@stuartscott6368 4 жыл бұрын
Thank you TheSidhussain
@antwanwimberly1729
@antwanwimberly1729 Жыл бұрын
USA 🇺🇸
@joanale609
@joanale609 3 жыл бұрын
so expensive.... $50 per month
@lesmonsaluta
@lesmonsaluta 8 ай бұрын
Amazing explanation! Thank you so much!
@danishuddin9752
@danishuddin9752 2 жыл бұрын
Thank you!
@singhamita
@singhamita 4 жыл бұрын
Very well explained Thank you !!
@stuartscott6368
@stuartscott6368 3 жыл бұрын
A pleasure, thank you Amita!
What is an Internet Gateway? AWS VPC Essentials
15:03
Be A Better Dev
Рет қаралды 48 М.
AWS Networking Basics For Programmers | Hands On
27:14
Travis Media
Рет қаралды 148 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 32 МЛН
小路飞和小丑也太帅了#家庭#搞笑 #funny #小丑 #cosplay
00:13
家庭搞笑日记
Рет қаралды 8 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
AWS VPC Endpoints (What You Need To Know)
15:12
Go Cloud Architects
Рет қаралды 45 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 327 М.
AWS Identity and Access Management (IAM) Basics | AWS Training For Beginners
19:13
Tiny Technical Tutorials
Рет қаралды 98 М.
Virtual Machine (VM) vs Docker
8:52
IBM Technology
Рет қаралды 217 М.
What is an API Gateway?
10:19
IBM Technology
Рет қаралды 324 М.
IPv4, CIDR, and VPC Subnets Made Simple!
23:47
Ryan Schachte
Рет қаралды 198 М.
Amazon Virtual Private Cloud (VPC) Routing Deep Dive
10:31
Digital Cloud Training
Рет қаралды 37 М.
Amazon/AWS VPC (Virtual Private Cloud) Basics | VPC Tutorial | AWS for Beginners
9:50
Intro to AWS - The Most Important Services To Learn
50:07
Be A Better Dev
Рет қаралды 450 М.
NAT and Firewall Explained
9:24
IBM Technology
Рет қаралды 109 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 32 МЛН