A team is jointly designing a multi-tier application on AWS and needs to ensure that the web tier can scale independently of the database tier. Which architectural pattern best supports this requirement?
-
A
Tightly coupled monolith with shared RDS instance
-
B
Decoupled architecture using Auto Scaling groups with SQS between tiers
-
C
Single EC2 instance running all application components
-
D
Direct database connections from each web server without connection pooling