NAT Gateway Flashcards
NAT Instances
NAT Instance or NAT Gateway?
NAT Gateway always, unless you have a specific reason
NAT Instances
Why never use NAT Instances?
Old version of Amazon Linux; not specialized for high throughput networking
NAT Instances
How do you control what traffic can use a NAT Instance?
Security Groups and NACLs, just like anything else
NAT Instances
How can you use a NAT Instance to throttle performance?
Deliberately pick small instance size
NAT Instances
Are NAT Instances HA?
Not by default
NAT Instances
How can you make a NAT Instance HA?
important
Scripts that monitor instances and change routes when one fails
NAT Instances
How can you save money with a NAT Instance?
important
Use it for port forwarding and as a bastion host
NAT Instances
Can you use a NAT Instance across VPC Peers?
Yes, it’s just an EC2 instance
NAT Instances
Can you use a NAT Instance across S2S VPN?
Yes, it’s just an EC2 instance
NAT Instances
Can you use a NAT Instance across Direct Connect?
Yes, it’s just an EC2 instance
NAT Gateway
What’s the cross-AZ best practice for NATGW?
Use separate NATGW in each AZ
NAT Gateway
Why is this the best practice?
If AZ fails, other AZs aren’t affected
NAT Gateway
What’s the cost implication?
Multi-AZ NATGW means inter-AZ traffic charges.
NAT Gateway
How do I set up a NAT Gateway in my application’s subnet?
Can’t. NATGW need route table entries to direct traffic to it, so has to be separate Subnets.
NAT Gateway
What is the tiering/subnet rule when you add NAT Gateways?
Can’t have a NAT Gateway in the same subnet as a thing that uses it: need routing between subnets