Skip to content

Chapter 5 of 8

Networking in AWS

Networking in AWS centers on the Virtual Private Cloud, or VPC, which lets customers provision a logically isolated section of the AWS cloud. Within a VPC, customers define IP address ranges, create subnets, configure route tables, and attach gateways to control how resources communicate. Because a VPC is logically isolated, traffic between resources in different VPCs is separated just as it would be in different on-premises networks, which gives customers strong control over their network architecture.

A subnet is a range of IP addresses within a VPC and is always associated with a single Availability Zone. Subnets are typically classified as public or private depending on whether they have a route to an Internet Gateway. An Internet Gateway is a horizontally scaled, redundant component that connects a VPC to the public internet, enabling resources in public subnets to send outbound traffic and accept inbound connections. For resources in private subnets that need occasional outbound access, such as for downloading software updates, a NAT Gateway provides Network Address Translation. A NAT Gateway allows instances in a private subnet to reach the internet while preventing unsolicited inbound connections, preserving the security of the private environment.

Elastic Load Balancing, or ELB, automatically distributes incoming application traffic across multiple targets such as EC2 instances, containers, and IP addresses. AWS offers three main types of load balancers, each tuned for a specific use case. The Application Load Balancer, or ALB, operates at the HTTP and HTTPS level and is ideal for web applications that need content-based routing. The Network Load Balancer, or NLB, handles TCP, UDP, and TLS traffic at extreme scale and very low latency. The Gateway Load Balancer, or GWLB, is designed for deploying and scaling third-party virtual appliances such as firewalls and intrusion detection systems.

Beyond the VPC, two services handle global traffic management and content delivery. Amazon Route 53 is a scalable Domain Name System, or DNS, web service that supports domain registration, health checks, and traffic routing policies such as latency-based routing and geolocation routing. Amazon CloudFront is a content delivery network that caches static and dynamic web content at Edge Locations around the world, reducing latency for end users and offloading traffic from origin servers. Together, Route 53 and CloudFront form the outer layer of an AWS network architecture, directing users to the closest, healthiest entry point for an application.

All chapters
  1. 1Foundations of Cloud Computing and AWS
  2. 2AWS Global Infrastructure
  3. 3Security, Identity, and Governance
  4. 4Core Compute Services
  5. 5Networking in AWS
  6. 6Storage and Databases
  7. 7Monitoring, Messaging, and Application Services
  8. 8Pricing, Optimization, and Best Practices

Drill it

Reading is not remembering. These come from the AWS Cloud Fundamentals deck:

Q

What is AWS?

Amazon Web Services (AWS) is a comprehensive, secure, and scalable cloud computing platform provided by Amazon, offering over 200 fully featured services from d...

Q

What are the main benefits of using AWS cloud?

AWS provides benefits like agility, scalability, elasticity, global reach, pay-as-you-go pricing, security, and high reliability through its global infrastructu...

Q

What is cloud computing?

Cloud computing is the on-demand delivery of IT resources over the internet with pay-as-you-go pricing, instead of buying, owning, and maintaining physical data...

Q

What are the three main cloud service models?

The models are Infrastructure as a Service (IaaS) for virtualized computing resources, Platform as a Service (PaaS) for development platforms, and Software as a...