VIRTUAL PRIVATE CLOUD (VPC) BASICS Flashcards
What are some considerations for VPC structure before creation ?
what size should the VPC be
Are there any networks we can’t use
VPC minimum /28(16 IPs) , maximum /16(65456 IPs)
Avoid common ranges
reserved 2+ networks per region being used per account
your business Animals 4 Life has offices in 3 us regions regions, 1 Europe region, and 1 Australia region what would there total IP ranges be ?
40 IP Ranges
custom VPC
regional service All AZ in the region
isolated network
Northing in or out without explicit configuration
Default or Dedicated Tenancy
Default Tenancy
you can decide on a per resource level weather it goes on shared or dedicated hardware
Dedicated Tenancy
on a VPC level any resource that you create has to be on dedicated hardware which is a cost premium
AWS configuration Custom VPC
IPv4 Private CIDR block and Public IPS
! Primary Private IPv4 CIDR Block
Min/28(16IP) Max /16 (55,536 IP)
optional secondary IPv4 Block
optional single assigned IPv6/56 CIDR Block(IPv6 are only public)
DNS in a AWS custom VPC
provided by R53
VPC Base IP +2 address
enableDnsHostnames
gives instances DNS names
enableDnsSupport
enables DNS resolution in VPC
VPC Subnets
subnets are what services run from inside VPC’s and their are how you add structure, functionality and resilience to VPC’s
VPC Subnet resiliency
AZ resilient
Can a subnet be in Multiple AZ ?
No, one subnet is created in a specific AZ in a region and it can never be changed.
Auto Assign public IPv4
decided if the subnet assigns public IPv4 in addition to their private subnet automatically
auto assign IPv6
decides if the subnet assigns IPV6 addresses the subnet and the VPC has to have that allocated also for to work
How many subnets can a AZ have ?
One AZ can have 0 to many Subnets
How does a subnet handle networking ?
By default the subnet is allocated an IPv4 CIDR
What are the constraints of a Subnet CIDR
has to be a subset of the VPC CIDR
Can the CIDR range of two subnets in the same VPC overlap?
no, subnets can’t overlap with other subnets
Can two subnets within a VPC communicate with each other ?
free communication between subnets by default
What are the 5 unusable addresses in a subnet ?
- Network Address (start of network)
- Network +1 - VPC Router
- Network +2 - Reserved(DNS*)
- Network +3 - Reserved Future Use
- Broadcast Address (Last IP in Subnet )
DHCP option set
Dynamic Host Configuration Protocol how computing devices receive IP addresses Automatically.