Udemy Netowking course Flashcards
(52 cards)
Amazon VPC Fundamentals: Scope of VPC with Respect to AWS Account, Region & AZ
VPCs are region-specific but span across Availability Zones. Subnets are specific to AZs, and services like ELB can span across all AZs within the VPC.
Amazon VPC Fundamentals: VPC Building Blocks - Core Components
A VPC contains subnets. Each subnet can contain EC2 instances, and security groups can be applied to EC2s while NACLs can be used to secure entire subnets.
Amazon VPC Fundamentals: VPC Addressing (CIDR)
CIDR notation defines how IP addresses are allocated in a network. For example, 192.168.0.0/16 means the first 16 bits are reserved for the network portion.
Amazon VPC Fundamentals: VPC Route Tables
VPCs are assigned a default route table, which allows communication between subnets. To connect to the internet, add an Internet Gateway and modify the route table.
Amazon VPC Fundamentals: IP Addresses - Private vs Public vs Elastic & IPv4 vs IPv6
Elastic IPs retain their IPs even if the instance is stopped. Public IPs are reassigned when the EC2 instance is terminated.
Amazon VPC Fundamentals: VPC Firewall - Security Group
Security Groups are stateful firewalls that allow two-way communication between instances. By default, all inbound traffic is blocked, and all outbound traffic is allowed.
Amazon VPC Fundamentals: VPC Firewall - Network Access Control List (NACL)
NACLs are stateless firewalls that require inbound and outbound rules to be set. They allow you to control traffic based on IP and port.
Amazon VPC Fundamentals: Hands-On: Creating VPC with Public Subnet
This video guides you through creating a VPC with a public subnet and setting up an EC2 instance with a key pair.
Amazon VPC Fundamentals: NAT Gateway
NAT allows outbound traffic from private subnets. It translates the private IP of instances to a public IP for internet access while blocking unsolicited inbound traffic.
Additional VPC Features: Extending VPC Address Space
You can add a second CIDR range to your VPC if you run out of IPs in the first one. However, overlapping ranges are not allowed as secondary CIDR.
Additional VPC Features: Elastic Network Interface (ENI) Deep Dive
ENIs are the building blocks of AWS networking. They provide IPs and enable communication across the network.
VPC DNS and DHCP: How DNS Works
DNS (Domain Name System) translates domain names to IP addresses, allowing you to access websites using human-readable addresses.
VPC DNS and DHCP: Amazon VPC DNS Server (Route53 Resolver)
Route 53 DNS Resolver is automatically added to each VPC. Its IP address is the base address + 2, and there’s also a virtual IP for internal VPC use.
VPC DNS and DHCP: VPC DHCP Option Sets
By default, when a VPC is created, the DHCP option set is configured. For DNS resolution, Route 53 Resolver is used for instances within the VPC.
VPC Traffic Monitoring: VPC Flow Logs - Permissions
To allow flow logs to go to CloudWatch, ensure the VPC has an IAM role with the appropriate permissions.
VPC Traffic Monitoring: VPC Flow Logs
To create flow logs, set up an IAM role to allow VPC logs to be sent to CloudWatch or other destinations. Logs are created every 10 minutes.
VPC Traffic Monitoring: VPC Traffic Mirroring
Traffic mirroring lets you monitor all inbound and outbound traffic routing logs to networking tools without affecting latency.
VPC Traffic Monitoring: VPC Reachability Analyzer
The Reachability Analyzer helps test if two sources can communicate. It’s a useful troubleshooting tool for connectivity.
VPC Traffic Monitoring: VPC Network Access Analyzer
The Network Access Analyzer ensures services in different VPCs (e.g., prod and dev) can’t reach each other unless specified.
VPC Private Connectivity: VPC Peering
VPC peering can be done between VPCs in different regions or accounts, but the VPCs must have non-overlapping CIDR blocks. You also need to update the route table in both VPCs.
VPC Private Connectivity: VPC Peering - Invalid Scenarios
No overlapping CIDR
Peering ends within the VPC, so you can’t access external resources (e.g., internet gateway) via the peering connection.
VPC Private Connectivity: VPC Gateway Endpoints - Hands-On to Access S3 Bucket
Make sure to create an IAM role for your EC2 instance and grant permissions like AmazonS3FullAccess to allow it to access S3.
VPC Private Connectivity: VPC Gateway Endpoint - S3 Bucket Policy
You can restrict access to an S3 bucket using a policy that only allows specific endpoints to access it.
VPC Private Connectivity: VPC Gateway Endpoint - Hands-On to Access S3 Bucket
To set up a VPC Gateway endpoint for accessing S3, add a policy to the VPCE to restrict access to specific S3 buckets.