Lesson 4 AWS Networking
Lesson 4 AWS Networking
AWS Networking
A Day in the Life of a Cloud Consultant
You're a cloud consultant for a Fortune 500 company. Your client wants
to transition to the cloud and needs networking solutions for:
Now, your task is to find the relevant solutions. This lesson will provide
you with the necessary concepts to meet these requirements.
Learning Objectives
AWS scalable networking services provide diverse networking solutions that are on-demand and
accessible with a click. Users can quickly access, develop, and alter building blocks to handle any
workload they choose.
Networking in AWS
Amazon Virtual Private Cloud helps launch AWS resources into a virtual network. This virtual
network closely matches a typical network that runs in the user’s data center, with the added
benefit of AWS' scalable infrastructure.
IPv4 and
IPv6
address
blocks
Other Subnet
networking creation
services
Network
Route
or
tables
subnet
security
Elastic IP Internet
addresses connectivity
Elements of Amazon VPC
The VPC can communicate over IPv4 or IPv6, or both, in dual-stack mode. IPv4 and
IPv6 addresses are different and must be configured independently in your VPC.
Subnet
A subnet is a range of IP addresses in your VPC. You can launch AWS resources, such
as EC2 instances, into a specific subnet.
Elements of Amazon VPC
Route table
A default route table comes with a user’s VPC. It is responsible for routing subnets not
explicitly linked to another route table.
Internet connectivity
An EC2 instance requires internet connectivity within an Amazon Web Services (AWS)
Virtual Private Cloud (VPC). Internet access is enabled by default in the default VPC.
Elements of Amazon VPC
Elastic IP address
A static public IPv4 address created for dynamic cloud computing is known as an
Elastic IP address. An Elastic IP address can be assigned to any instance or network
interface in any VPC in a user’s account.
Security groups and network ACLs are two capabilities that AWS offers to help
secure users’ VPCs. Security groups manage inbound and outbound traffic for the
instances.
Subnets
A subnet is a collection of IP addresses within a user’s VPC. A VPC can contain all available
subnets or a mix of public and private subnets.
Subnets can be classified as public, private, or VPN-only, depending on how the VPC is configured.
Public Subnet
VPC Peering refers to a network connection linking two VPCs, enabling routing between them via
private IPv4 or IPv6 addresses.
One use case is granting complete access to resources through peering with multiple VPCs.
For example:
Another scenario involves granting access to centralized resources by peering with a single VPC.
For example:
An internet gateway is a service that facilitates internet traffic flow through a VPC. It's a logical
connection bridging an AWS VPC and the internet.
Resources cannot be accessed from the internet without an internet gateway attached to the VPC.
Internet Gateway
API Gateway allows you to create RESTful APIs and WebSocket APIs that enable real-time two-
way communication.
Amazon CloudFront
Amazon CloudFront is a fast content delivery network (CDN) service that securely distributes
data, videos, applications, and APIs to customers globally.
Features of Amazon CloudFront
AWS Direct Connect provides a networking service that enables users to connect to AWS by
bypassing the internet.
Traffic that would have typically passed over the internet now traverses a private data pathway
between the premises and AWS through Direct Connect.
Amazon Route 53
Problem Statement:
You have been assigned a task to create and configure the VPC (Virtual Private Cloud) in AWS
Assisted Practice: Guidelines
Steps to be followed:
The VPC router directs traffic within the VPC and to external subnets based on the specified
route tables.
Amazon VPC Routing: Examples
A route table is a set of rules or routes that dictate where network traffic from your subnet or
gateway is directed.
At AWS, cloud security is a paramount priority. As an AWS user, you gain access to a data center and
network architecture that cater to the needs of the most security-sensitive organizations.
Traffic that would have typically passed over the internet now traverses a private data pathway
between the premises and AWS through Direct Connect.
Amazon VPC Security: Features
Amazon VPC offers several features to enhance and monitor security such as:
• Flow Logs
• IP Addressing
• Ingress Routing
• Network Access Analyzer and Control List
• Reachability Analyzer
• Security Groups
VPC Feature: Flow Logs
1. Flow Logs
• Flow Logs track traffic entering and leaving instances, identifying the direction of traffic flow
to and from network interfaces.
• These must be configured independently in your VPC.
VPC Feature: IP Addressing
2. IP Addressing
• It enables resources within a VPC to connect with one another and with resources on the
internet.
• When creating a VPC, users can assign it an IPv4 CIDR block (a group of private IPv4
addresses), an IPv6 CIDR block, or both (dual stack).
VPC Feature: Ingress Routing & Network Access Analyzer
3. Ingress Routing
Organizations can use Amazon VPC Ingress Routing to facilitate the integration of network
and security appliances into their network topology.
5. Reachability Analyzer
• It provides hop-by-hop details when the destination is reachable and identifies the
blocking component when the destination is unreachable.
VPC Feature: Security Groups
6. Security Groups
• It functions as a virtual firewall for your instance, controlling inbound and outbound
traffic. Up to five security groups can be assigned to an instance when it's launched in
a VPC.
• It operates at the instance level, not the subnet level. Thus, each instance in a VPC
subnet can be assigned to a different set of security groups.
Network Traffic Control: Traffic Mirroring
Traffic Mirroring is a feature of Amazon VPC that enables the replication of network traffic from
an Amazon EC2 instance's Elastic Network Interface (ENI).
Network Traffic Control: Features
Network routing refers to the process of determining a path across one or more networks.
Network 2 Network 4
AWS Network Firewall
The AWS Network Firewall is a managed service that simplifies the setup of essential network
security across your Amazon VPCs.
DDoS mitigation refers to the process of effectively protecting a targeted server or network
from a Distributed Denial-of-Service (DDoS) attack.
DDoS Attack Mitigation: Stages
Detection
Response
Routing
Adaptation
DDoS Attack Mitigation: Stages
Detection
Response
Upon detecting a DDoS attack, the DDoS protection network intelligently discards
malicious bot traffic while absorbing the rest of the traffic.
DDoS Attack Mitigation: Stages
Routing
A successful DDoS mitigation solution breaks down the remaining traffic into
manageable chunks, intelligently routing traffic to prevent service disruption.
Adaptation
An effective network looks for traffic patterns such as repeated offending IP blocks,
specific attacks from certain countries, or the misuse of certain protocols.
Key Takeaways