Let's continue with the e-commerce website example by considering a modern three-tier architecture. Let's see how we can achieve elasticity at a different layer of the application. Here, we are only targeting the elasticity and scalability aspects of architecture design. You will learn more about this in Chapter 6, Solution Architecture Design Patterns.
The following diagram shows a three-tier architecture diagram of the AWS Cloud tech stack:
Scaling three-tier architecture
In the preceding architecture diagram, you can see a lot of components, such as the following:
- Virtual server (Amazon EC2)
- Database (Amazon RDS)
- Load balancer (Amazon Elastic Load Balancer)
- DNS server (Amazon Route53)
- CDN service (Amazon CloudFront)
- Network boundary (VPC) and object store (Amazon S3)
As shown in the preceding diagram, there is a fleet of web servers and application servers behind the load balancer. In this architecture, the user sends an application request to...