AWS Cloud Architecture Overview¶
This page provides an in-depth look into the advanced AWS cloud architecture implementation.
Overview¶
The architecture is designed to deliver high scalability, security, and performance while minimizing costs.
Key Features:
Static Content Delivery with CloudFront: - Deliver static content (e.g., images, CSS, JavaScript) efficiently using AWS CloudFront. - Utilize CloudFront’s caching mechanism to reduce latency and improve user experience.
Secure API Routing: - API requests are routed through CloudFront to an Application Load Balancer (ALB). - HTTP headers are used to authenticate that requests originate from CloudFront, ensuring security.
Automated Scaling with ASG: - Auto Scaling Groups (ASG) automatically adjust the number of EC2 instances based on traffic. - Updates to instances are managed with Packer to create AMIs and update Launch Templates.
Architecture Diagram¶
Workflow Steps¶
Static Content: - Hosted on S3 and served through CloudFront. - Leverages CloudFront caching for reduced latency.
Dynamic API Requests: - Passed through CloudFront and routed to the ALB. - ALB forwards requests to the appropriate backend EC2 instances.
Continuous Deployment: - Packer automates the creation of machine images. - CI/CD pipelines update the ASG’s Launch Template with new AMIs.
Tools and Technologies¶
CloudFront
Application Load Balancer
Auto Scaling Groups
Amazon S3
Packer
CI/CD Pipelines