1.4.3. Networking Services: VPC, Route 53, ELB (Lean List)
💡 First Principle: AWS provides essential networking services that form the backbone of any cloud architecture, each serving a distinct purpose for communication, traffic management, and security.
AWS provides essential networking services that form the backbone of any cloud architecture, each serving a distinct purpose for communication, traffic management, and security.
-
VPC (Virtual Private Cloud): Provides an isolated virtual network within AWS, giving you complete control over your network environment.
- Practical Relevance: Essential for defining cloud network topology, including subnets, IP addressing, and gateways, ensuring secure, private resource deployment.
- Key Characteristics: Isolated, customizable network, private IPs, public/private subnets.
-
Route 53 (Amazon Route 53): A highly available and scalable cloud Domain Name System (DNS) web service.
- Practical Relevance: Routes end-users to internet applications, performs health checks, and enables efficient management of domain names and DNS records.
- Key Characteristics: Global DNS, various routing policies, health checks, domain registration. The routing policies are simple, weighted, failover, geolocation, geoproximity, latency-based, IP-based and multivalue answer. Latency-based routing answers each DNS query with the Region whose endpoint gives that user the lowest network latency. It works purely through DNS answers, unlike AWS Global Accelerator, which gives the application static anycast IP addresses and carries traffic over the AWS network for an additional hourly and data-transfer charge.
-
ELB (Elastic Load Balancing): Automatically distributes incoming application traffic across multiple targets, such as EC2 instances, containers, and IP addresses.
- Practical Relevance: Crucial for enhancing application availability and scalability by preventing single points of failure and efficiently managing traffic.
- Key Characteristics: Traffic distribution, health checks, high availability, supports multiple load balancer types (ALB, NLB).
Scenario: You are building a web application and need to establish a private network for your servers, direct user traffic to your application via a custom domain name, and distribute incoming requests evenly across multiple web servers for scalability.
⚠️ Common Pitfall: Not properly configuring security groups or network ACLs within a VPC, leaving resources unnecessarily exposed or creating unintended connectivity issues.
Key Trade-Offs:
- Flexibility (VPC) vs. Complexity: VPCs provide immense flexibility but require careful planning of IP ranges, subnets, and routing, which can be complex.
Reflection Question: How would you combine Amazon VPC, Amazon Route 53, and Elastic Load Balancing (ELB) to meet these networking requirements for a web application?