What is a VPC?

AWS VPC CIDR Range?
What can we do with a VPC?
NB: 1 subnet is always in 1 availabilty zone.

Exam Tips: How many internet gateways per VPC
What is a NAT Gateway?
You can use a network address translation (NAT) gateway to enable instances in a prvate subnet to connect to the internet or other AWS services while preventing the internet from initiating a connection with those instances.

5 Facts to remember about NAT Gateways.

What is a Security Group?
NB: Security Groups are stateful - if you send a request from your instance, the response traffic for that request is allowed to flow in regardless of the inbound security group rules
Responses to allowed inbound traffic are allowed to flow out; regardless of the outbound rules.
What is a Network ACL?
Network ACLs Tips
Blocking a specific IP address?

What are Ephemeral ports?
The example network ACL in the preceding section uses an ephemeral port range of 32768-65535. However, you might want to use a different range for your network ACLs depending on the type of client that you’re using or with which you’re communicating.
The client that initiates the request chooses the ephemeral port range. The range varies depending on the client’s operating system.
For example, if a request comes into a web server in your VPC from a Windows 10 client on the internet, your network ACL must have an outbound rule to enable traffic destined for ports 49152-65535.
If an instance in your VPC is the client initiating a request, your network ACL must have an inbound rule to enable traffic destined for the ephemeral ports specific to the type of instance (Amazon Linux, Windows Server 2008, and so on).
In practice, to cover the different types of clients that might initiate traffic to public-facing instances in your VPC, you can open ephemeral ports 1024-65535. However, you can also add rules to the ACL to deny traffic on any malicious ports within that range. Ensure that you place the deny rules earlier in the table than theallow rules that open the wide range of ephemeral ports.
What are VPC End Points?
A VPC endpoint enables you to privately connect your VPC to supported AWS services and VPC endpoint services powered by PrivateLink without requiring an internet gateway, NAT device, VPN connection or AWS Direct Connect connection.

Study Tip 1
Endpoints are Virtual Devices
What are the 2 types of endpoints?

What is a AWS PrivateLink?

VPC Peering?
What is AWS VPN CloudHub?
If you have multiple sites; each with it’s own VPN connection; you can use AWS VPN CloudHub to connect those sites together.

What is AWS Direct Connect?
AWS Direct Connect is a cloud service solution that makes it easy to establish a dedicated network connection from your premises to AWS.
The 2 types of Direct Connect Connection?

VPN vs Direct Connect
VPNs allow private communication, but it still tranverses the public internet to get the data delivered. While secure it can be painfully slow.
Direct Connect is:
AWS Transit Gateway?
AWS Transit Gateway connects VPCs and on-premises networks through a central hub. This simplifies your network and puts an end to complex peering relationships. It acts as a cloud router - each connection is only made once.

Transit Gateway Facts