Please enable JavaScript.
Coggle requires JavaScript to display documents.
π 10.AWS Global Infrastructure - Coggle Diagram
π 10.AWS Global Infrastructure
πΉ
Why Build Global Applications?
Decreased Latency:
Closer deployments improve response times.
Disaster Recovery (DR):
Failover to other regions during outages.
Attack Protection:
Distributed systems are harder to compromise.
πΊοΈ
AWS Global Infrastructure Components
Regions:
AWS deployment areas.
Availability Zones (AZs):
Multiple data centers within regions.
Edge Locations:
Content delivery close to users.
πΉ
Global AWS Services
Amazon Route 53 (DNS):
Routes users to the nearest resource.
Ensures high availability with failover.
CloudFront (CDN):
Content caching at edge locations.
Reduces latency and improves user experience.
S3 Transfer Acceleration:
Speeds up S3 uploads/downloads via Edge Locations.
AWS Global Accelerator:
Directs traffic globally via AWSβs internal network.
π
Amazon Route 53 (DNS)
DNS Records:
A Record:
Maps hostname to IPv4.
AAAA Record:
Maps to IPv6.
CNAME:
Maps hostname to another hostname.
Alias:
Maps to AWS resources (ELB, CloudFront).
Routing Policies:
Simple:
Basic routing.
Weighted:
Distribute traffic based on percentage.
Latency-Based:
Routes to lowest latency.
Failover:
Directs to standby on primary failure.
π
Amazon CloudFront (CDN)
Purpose:
Caches content at Edge Locations.
Benefits:
DDoS protection, lower latency.
Origins:
S3 Buckets (Static Sites).
Custom Origin (ALB, EC2, HTTP).
Security:
Origin Access Control (OAC) for private S3 buckets.
π
CloudFront vs. S3 Cross-Region Replication
CloudFront:
Distributes content globally with caching.
S3 Cross-Region Replication:
Real-time replication of S3 data between regions.
β‘
AWS Global Accelerator
Purpose:
Routes traffic globally, reduces latency by up to 60%.
Features:
2 Anycast IPs for routing through Edge Locations.
Use Cases:
Low-latency apps and failover solutions.
π
AWS Global Accelerator vs CloudFront
Commonalities:
Both use AWSβs global network and Edge Locations.
DDoS protection through AWS Shield.
CloudFront:
Caches static content (images, videos).
Global Accelerator:
Directs TCP/UDP traffic to apps.
Better for dynamic content and failover.
π’
AWS Outposts
Definition:
On-prem AWS infrastructure for hybrid cloud.
Benefits:
Low latency, compliance, local data processing.
Services:
EC2, S3, RDS, ECS, EKS.
π‘
AWS Wavelength
Purpose:
AWS services at 5G network edges.
Use Cases:
IoT, gaming, AR/VR, smart cities.
Benefits:
Ultra-low latency for real-time apps.
π
AWS Local Zones
Definition:
Extends AWS regions to run low-latency apps near users.
Benefits:
Supports EC2, RDS, EBS, ElastiCache.
ποΈ
Global Application Architectures
Single Region, Single AZ:
Basic, least fault tolerance.
High Availability:
β
Global Latency:
β
Difficulty
: Easy
Single Region, Multi-AZ:
Better fault tolerance.
High Availability:
βοΈ
Global Latency:
β
Difficulty
: OK
Multi-Region (Active-Passive):
Failover setup.
Global Reads'Latency:
βοΈ
Global Writes'Latency:
β
Difficulty
: Moderate
Multi-Region (Active-Active):
High availability with distributed traffic.
Reads'Latency:
βοΈ
Writes'Latency:
βοΈ
Difficulty
: Hard
πΉ
Summary of Global AWS Services
Route 53:
DNS for routing users.
CloudFront:
Delivers content globally.
Global Accelerator:
Routes global traffic dynamically.
Outposts:
Extends AWS services on-premises.
Wavelength:
5G network integration for ultra-low latency.
Local Zones:
Deploy services closer to end-users.
Transfer Acceleration
:
Increase transfer speed by transferring file an AWS edge location.