VPC Flashcards
Vpc’s consist of
Subnets Route tables Internet gateways Virtual private gateways Network access control lists Security groups
How many availability zones can one subnet be assigned to?
One
Security groups are……….whereas network access control list are……
Stateful
Stateless
Vpc peering does not permit……….
Transitive peering
By default when you create a new vpc, what are the following components that get created?
Default security group
Default NACL
Default route table
How many subnets can you assign to one network access control list.
As many as you need to.
When creating any cider range in aws, how many is addresses does aws reserve, and what are their purposes?
Five Network broadcast address DNS server address The router address The network address One reserved for future usage.
How many internet gateways can you assign to a vpc?
Only one.
What is the core difference between a Nat gateway and a Nat instance?
The Nat gateway is highly available service provided by Amazon whereas the Nat instance is an ec2 instance you need to maintain yourself.
What is the reason we use Nat instances/gateways?
To enable route of public traffic into a private subnet without exposing it to the outside world.
Where must a Nat instance be deployed in a vpc architecture to work?
The a public subnet associated with the vpc to which the private subnet also belongs.
Because Nat instances are essentially an ec2 instance do they sit in front or behind security groups?
Behind them.
What are the two benefits a Nat gateway offers over a Nat instance?
High throughput and no maintenance or patching required unlike an ec2 instance.
Are Nat gateways associated with security groups?
No
True or false, Nat gateways are always assigned a public in address?
True
Nat gateways are only single AZ, if you wanted to create a fault tolerant solution you should?
Deploy Nat gateways in other AZs for protection.
Why might you not choose a Nat instance?
They struggle with high throughput and are a single point of failure in a vpc architecture.