Networking Flashcards
Classful vs classless
A /8, B /16, C /24
CIDR
Classless inter domain routing
second VPC range cannot be bigger than the original range
Block size has to be between /16 and /28
CIDR cannot overlap
with VPC, VPC peers, or on direct connect
dual stacking
using both IPV4 and V6 on a host.
Two types of end points
Interface end point and gateway end point
Interface end points
Are a virtual ethernet interface to connect AWS private link
Gateway endpoints
are a target for a specific route in your route table. S3 and dynamoDB
elastic network interface is different from elastic network adapters.
ENA is a custom interface used to optimize network performance on some interface types.
3 types of placemnet groups
cluster(low latency, high netk throughput)same AZ, Partition PG(workload not placed on different hw) spread PG( small number of critical instances that needs to be kept away from each other high availability )
spread PG can have upto how many instances
7
Types of VPN connectivity
Site-to-Site
AWS Client VPN
AWS VPN CloudHub
Site to site
IPSec VPN connection between a VPC and customer network. The AWS side of the network uses a virtual private gateway(VGW).. The VGW provides two different end points running of two different AZ for auotmatic failover.
AWS client VPN
Client managed. client based VPN service used to securely access AWS resources from your on premise network. Sessions are connected using a secure TLS VPN session and an open VPN based client
AWS VPN CloudHub
If you have multiple remote customer offices the VGW can act as a hub for site-to-site communication between the networks
VPN can be used in two ways
connect VPC to on-premise data center
Connect two different VPC’s in same or different regioun
Site to site
IPSec VPN connection between a VPC and customer network. The AWS side of the network uses a virtual private gateway(VGW).. The VGW provides two different end points running of two different AZ for automatic failover. Note customer GW is a SPOF
AWS client VPN
Client managed. client based VPN service used to securely access AWS resources from your on premise network. Sessions are connected using a secure TLS VPN session and an open VPN based client.
AWS Managed VPN or AWS client managed VPN. Connects over Internet gateway
VPN can be used in two ways
connect VPC to on-premise data center
Connect two different VPC’s in same or different regioun
IKE
Internet Key exchange is a protocol used to manage keys used by IPSec hosts
IKE vs IPSec
IKE UDP port 500
IPSec IP protocol 50
AWS client to site VPN
Client managed. client based VPN service used to securely access AWS resources from your on premise network. Sessions are connected using a secure TLS VPN session and an open VPN based client.
AWS Managed VPN or AWS client managed VPN. Connects over Internet gateway
Client-to-Site VPN connectivity gives clients the ability to connect to a variety of resources including the VPC
On-Premises site-to-site VPN, and Peer VPCs.
Client to site VPN
user needs to install OpenVPN based client on their PC.
Establish a client VPN endpoint in AWS one in each AZ in a target within a VPC. The target is essentially a subnet within a VPC. In this case 2 subnets one in each AZ.
User gets access to VPC and peered VPC and onpremise networks across VGW, user gets access to the internet through IGW and public aws services like S3