Network - VPC - Internet Gateways Flashcards

1
Q

What is an internet gateways?

A

horizontally scalabile; redundant; highly available component that allows communicaiton between your VPC and internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is purpose of an internet gateway?

A

provide route table target for internet-bound traffic; perform NAT for instances with public IP addresses; supports IPv4/v6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an egress-only internet gateway?

A

provides outbound internet access for IPv6 ([public by default) addresses, but prevents inbound IPv6 access

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does egress-only internet gateway forward traffic?

A

stateful- forwards traffic from instance to internet and then sends back the response

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How is an egress-only IG created?

A

must create a custom route for ::/0 to the egress-only IG; egress-only is used instead of NAT for IPv6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the NAT instance?

A

EC2 instance running a special AWS AMI which translates many private instances to a public and back

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some limitations of NAT instance?

A

doesn’t allow public internet initiated connections into private instances; not supported for IPv6 (egress-only)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some requirements for NAT instances?

A

must live on a public subnet with route to IG; private instances must have a route to the NAT instances, usually by default route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is NAT gateway?

A

fully-managed services which replaces the need for NAT instance EC2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does NAT gateway work?

A

must be created in a public subnet; uses an Elastic IP’ created in a specified AX with redundancy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are some features of a NAT gateway?

A

multi-AZ; scale from 5 Gbps to 45

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are some limitations of NAT gateway?

A

can’t use a NAT gateway to ccess VPC peering, VPN or Direct Connect, so be sure to include specified routes in the your routing table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

NAT Gateway vs Instance Availability?

A
Gateway = HA
Instance = on your own
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

NAT Gateway vs Instance bandwidth?

A
Gateway = up to 45 Gbps
Instance = depends on bandwidth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

NAT Gateway vs Instance maintenance?

A
Gateway = AWS managed
Instance = on your own
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

NAT Gateway vs Instance performance?

A
gateway = optimized for NAT
instance = Amazon linux AMI
17
Q

NAT Gateway vs Instance public IP?

A
Gateway= elastic cannot be detached
instance = elastic can be detached
18
Q

NAT Gateway vs Instance security groups?

A

gateway = cannot be associated with NAT gateway

instance = uses SGs