A digital marketing firm is moving its media processing application to the AWS Cloud. The application currently processes video uploads in a sequential manner, where a failure in the rendering module causes the upload module to stop responding. To address this, the firm wants to modernize the architecture using AWS Cloud design principles to improve resilience and cost efficiency.
Which design decisions should the firm implement to achieve these goals? (Select TWO.)
- Implement an Amazon Simple Queue Service (Amazon SQS) queue to decouple the front-end upload interface from the back-end rendering serviceAnswer
- Use Amazon EC2 Auto Scaling to dynamically provision and terminate rendering instances based on the volume of videos in the queueAnswer
- CDeploy all application components onto a single, vertically scaled Amazon EC2 instance to eliminate network latency
- DStore uploaded videos and intermediate rendering state on local instance store volumes to ensure high performance
- EManually scale the rendering fleet to a fixed, maximum-capacity size to handle the highest expected peak traffic of the year at all times
Answer
Implementing an Amazon Simple Queue Service (Amazon SQS) queue to decouple the front-end upload interface from the back-end rendering service, and using Amazon EC2 Auto Scaling to dynamically provision and terminate rendering instances based on the volume of videos in the queue.
Implementing an Amazon SQS queue ensures the front-end upload interface and the rendering backend are decoupled, allowing them to scale and fail independently (loose coupling). Integrating Amazon EC2 Auto Scaling based on queue size allows capacity to automatically adjust to demand, ensuring both performance and cost-efficiency (elasticity).
Step-by-Step Solution
Key Concept
AWS Cloud Design Principles: Loose Coupling and Elasticity