Amazon Web Services
Compute
- AWS EC2
- EC2 Instance Types
- EC2 Pricing Models
- EC2 Auto Scaling
- Elastic Load Balancing-ELB
- AWS Lambda – Serverless Computing
- Amazon Lightsail
- AWS Elastic Beanstalk
- AWS Fargate
- Amazon ECS (Elastic Container Service)
- Amazon EKS (Elastic Kubernetes Service)
Storage
- S3 vs. EBS vs. EFS
- Amazon S3 (Simple Storage Service)
- Amazon S3 Storage Classes
- Amazon EBS (Elastic Block Store)
- Amazon EFS (Elastic File System)
- AWS Storage Gateway
- AWS Snowball
- Amazon FSx
- AWS Backup
Database Services
- Amazon RDS
- Amazon Aurora
- Amazon DynamoDB
- Amazon ElastiCache
- Amazon Redshift
- AWS Database Migration Service (DMS)
- Amazon Neptune
- Amazon DocumentD
Networking and Content Delivery
- Amazon VPC
- Subnets
- Internet Gateway
- AWS Direct Connect
- AWS Route 53
- AWS CloudFront
- AWS Transit Gateway
- Elastic IP Addresses
DynamoDB
- DynamoDB Global Table vs Regular DynamoDB Table
- DynamoDB Streams
- Athena query data to DynamoDB
- Athena Query Results with DynamoDB
- PySpark DataFrame to DynamoDB
Redshift
Lambda
Glue
Lambda
Security
AWS CloudFront vs AWS Global Accelerator
AWS CloudFront and Global Accelerator both improve global application performance, but they serve different purposes and use different architectures.
Feature | AWS CloudFront | AWS Global Accelerator |
---|---|---|
Purpose | Content delivery (CDN) | Global traffic routing and acceleration |
Optimized for | Caching static and dynamic content | Directing users to the closest AWS region |
Use Case | Web assets (images, videos, APIs) | Multi-region applications needing low-latency traffic routing |
Latency | Reduced through caching | Reduced by routing traffic via AWS backbone |
Protocol | Works over HTTP/HTTPS | Works over TCP/UDP |
Routing Method | Uses Edge Locations worldwide | Uses Anycast IPs to route traffic dynamically |
1. : Global Website with Static and Dynamic Content
- A news website serves articles, images, and videos to users worldwide.
- Solution with CloudFront:
- Static content (images, CSS, videos) is cached in CloudFront Edge Locations.
- Dynamic content (API responses) is also delivered with low latency by integrating with origin shielding.
- Benefit: Improves performance by reducing direct origin requests.
Architecture
User Requests --> CloudFront Edge Location (Cache) --> Origin (S3 or EC2)
2. : Multi-Region API for a Banking Application
- A banking app needs users in Europe and Asia to access an API hosted in us-east-1 and ap-southeast-1.
- Solution with Global Accelerator:
- Users are routed to the nearest healthy region (e.g., Europe → eu-west-1, Asia → ap-southeast-1).
- If us-east-1 fails, traffic is automatically rerouted to ap-southeast-1.
- Benefit: Ensures low-latency and high availability.
Architecture
User Request --> Global Accelerator Anycast IP --> Closest AWS Region API Endpoint
3. : Gaming Application with Real-Time Multiplayer
- A global multiplayer game requires real-time responsiveness.
- Solution with Global Accelerator:
- Players connect using Global Accelerator Anycast IPs, which route them to the closest Game Server.
- Low-latency network paths ensure minimal lag.
- Benefit: Global users get a seamless gaming experience.
Architecture
User Request --> Global Accelerator Anycast IP --> Nearest Game Server Region
When to Use?
✅ Use CloudFront when serving static or dynamic web content (CDN use case).
✅ Use Global Accelerator for multi-region applications needing low latency (e.g., APIs, real-time systems).