View a markdown version of this page

Web Application Architecture on AWS - Web Application Architecture on AWS

Web Application Architecture on AWS

Publication date: November 19, 2021 (Diagram history)

This architecture shows how you can host a classic web application on AWS. You use multiple Availability Zones for high availability, Application Load Balancers for traffic distribution, and managed services for database, caching, and shared storage.

Web Application Architecture on AWS

Architecture diagram showing a web application hosted on AWS with Amazon Elastic Compute Cloud, Amazon RDS, Amazon ElastiCache, and Amazon Simple Storage Service.

The following steps describe the architecture:

  1. Route traffic from the web client based on the request path for static and dynamic content using Route 53.

  2. Use a content delivery network (CDN) like Amazon CloudFront to reduce latency when delivering your static content.

  3. Use Amazon Simple Storage Service to store static content and backups.

  4. Protect your web application from common web exploits with a web application firewall like AWS WAF.

  5. Simplify your SSL certificates management using AWS Certificate Manager (ACM).

  6. Use an internet-facing Application Load Balancer to distribute web traffic to your web servers spread across multiple Availability Zones.

  7. Use NAT gateways in each public subnet to enable Amazon Elastic Compute Cloud instances in private subnets to access the internet.

  8. Use an internal Application Load Balancer to distribute traffic to your application servers spread across multiple Availability Zones.

  9. Simplify your database administration by running your database layer in Amazon RDS.

  10. If database access patterns are read-heavy, take advantage of a caching layer like Amazon ElastiCache.

  11. Consider using a shared storage service like Amazon Elastic File System (Amazon EFS) if your servers access shared files.

Further reading

For additional information, refer to the following resources:

Diagram history

To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.

ChangeDescriptionDate

Initial publication

Reference architecture diagram first published.

November 19, 2021

Note

To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.