QuestionQ75

VerifiedDesign Resilient Architectures

A company recently migrated its web application to the AWS Cloud. The company uses an Amazon EC2 instance to run multiple processes that host the application. The processes include an Apache web server that serves static content. The Apache web server sends requests to a PHP application that uses a local Redis server for user sessions.

The company wants to redesign the architecture to be highly available and to use AWS managed solutions.

Which solution will meet these requirements?

Explanation

A highly available managed redesign should decouple the web tier into managed services: Amazon S3 with Amazon CloudFront is the standard managed pattern for static content, Amazon ECS with AWS Fargate behind an Application Load Balancer provides highly available managed compute for the PHP application across Availability Zones, and Amazon ElastiCache for Redis can provide managed session storage with Multi-AZ capabilities. Keeping the application on a single EC2 instance does not satisfy high availability, and Lambda plus API Gateway is not the appropriate direct replacement for hosting this kind of stateful PHP web tier with separate static assets. Therefore the architecture in choice D is the one that meets both requirements.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!