QuestionQ51

VerifiedDesign Cost-Optimized Architectures

A solutions architect notices that a nightly batch processing job automatically scales up for 1 hour before the required Amazon EC2 capacity is reached. The peak capacity is the same every night, and the batch jobs always begin at 1 AM.

The solutions architect must identify a cost-effective solution that allows the required EC2 capacity to be available quickly and lets the Auto Scaling group scale down after the batch jobs are finished.

What should the solutions architect do to meet these requirements?

Explanation

Scheduled scaling is the correct approach for predictable demand that occurs at a known time. Amazon EC2 Auto Scaling scheduled actions can set the group's desired capacity at specific times, so the Auto Scaling group can scale out before the 1 AM batch job begins and scale in after the job completes. That satisfies both the fast availability requirement and the cost-control requirement. Raising minimum capacity would leave excess instances running continuously, raising maximum capacity only changes the upper limit without proactively adding instances, and adding more instances per scaling step remains a reactive policy rather than a time-based pre-scaling method.

Learn more

Community Discussion

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