aws networking Flashcards
what is an availability zone meant to represent?
a data center in a region, basically. could be one building (it’s not, really)
what partitions does a VPC encompass?
one region with a number of availability zones
what do subnets encompass?
one availability zone with a number of instances
what is the ip range of a VPC
the internal IP addresses available to instances
what IPs do instances receive?
both internal IP for internal routing, and public IP
how does internet access happen into instances in VPC?
through an internet gateway
what do security groups help with?
controlling what traffic can go to instances, and what traffic can go from instances.
they control traffic between instances.
they can be applied to many instances, across subnets.
they can control access to instances by ID, or by other security groups
they only have allow rules, implicit deny rule at end of rule set
what do network access control lists (NACLs) work with?
they control what traffic goes to subnets
what is a route table for?
specific routing of network traffic on subnets within the vpc, I think for just outgoing requests. also, assignment of public IPs here?
how is a subnet made private?
it blocks outgoing traffic, and does not have public IPs
why would a subnet want to talk to the internet?
by redirecting outgoing traffic via the route table to a network address translation (NAT) gateway. the NAT gateway translates private IP to public
what is the purpose of a CIDR block?
classless interdomain routing (CIDR) is notation for IP address ranges. it defines the IP addresses for the subnet. CIDR binary calculator
what does 192.168.0.1/X do?
X is the number of IP addresses that are fixed
what does 192.168.0.1/16 map to?
the whole range of 192.168.x.x
if I have a private subnet, why does it have routes to 0.0.0.0 in the route table? (mine go to an elastic network interface)
I dunno, subnet: https://us-east-1.console.aws.amazon.com/vpc/home?region=us-east-1#SubnetDetails:subnetId=subnet-e25377ed
what do 0’s in IP addresses mean? e.g. 172.31.0.0, or 0.0.0.0. also, is 0.0.0.0 special?
dunno
what is the network ID and host ID of 192.168.0.1?
network ID: 192.168.0, host ID 1
what subnet mask/network mask/netmask is 24 equivalent to?
255.255.255.0
what are the addresses you can use for hosts?
1 to 254. you can’t assign 0 to a host, and 255 is the broadcast address.
I think the host depends on the size of the subnet mask though, because /16 in CIDR means you can have 65,534 hosts
why can you have 126 networks in a class A network?
dunno