VPC Flashcards

1
Q

VPC

A

Virtual Private Cloud

*A virtual data center in the cloud

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

3 tier VPC architecture

A

Web:

  • public facing subnet
  • http port 80
  • http port 443

Application:

  • private subnet
  • can only speak to web tier and database

Database:

  • private subnet
  • can only speak to application tier
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Hardware VPN (VPN)

A

Connection between your corporate data center and your VPC to leverage the cloud as an extension of your corporate data center.
- needs a virtual private gateway hardware device

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

CIDR IP Addresses*

A

CIDR.xyz is a tool to visualize IP address ranges

  • block sizes must be between /16 (largest) and /28 (smallest) net mask*
  • 10.0.0.0 (10/8 or 10/16) - used by most corporations
  • 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
  • 192.168.0.0 - 192.168.255.255 (192.168/16 prefix) - most common for home networking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What can you use to block specific IP addresses?*

A

NACLs (not security groups)

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

Default VPC

A
  • user friendly
  • all subnets have a route out to the internet
  • each EC2 instance has both a public & private IP address
  • every account in AWS has a default VPC for every region (172.31.0.0/16)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How many AZ can a subnet be in?

A

only one. Subnets cannot span multiple AZs

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

Day before exam

A

Re-watch VPC Demo 1 & 2 and build your own VPC from scratch.

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

Tenancy

A
  • Default

- Dedicated - dedicated host (costly)

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

When you create a custom VPC it creates:*

A
  • default security group
  • route table
  • main network ACL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Subnet

A
  • a virtual firewall
  • public (internet accessible)
  • private
  • naming convention: 10.0.1.0-us-east-1a
    (where 10.0.1.0 is the CICR address range and us-east-1a AZ)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly