Scaling your architecture
Let's continue with the e-commerce website example by considering a modern three-tier architecture, and 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. Figure 3.3 shows a three-tier architecture diagram of the AWS cloud tech stack.
Figure 3.3: Scaling three-tier architecture
You can see a lot of components in this figure, including the following:
- Virtual server (Amazon Elastic Cloud Compute)
- 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 can be seen in Figure 3.3, there is a fleet of web and application servers behind the load balancer. In this architecture...