Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional Question on spot fleet Reply To: Question on spot fleet

  • JR-TutorialsDojo

    Administrator
    April 9, 2025 at 10:14 am

    Hello nyque,

    Based on the given question, the most suitable solution would be the option that says: “Launch a Spot Fleet using a diversified allocation strategy, with Auto Scaling enabled on each AZ to handle the peak load instead of On-Demand instances. Retain the current setup for handling the steady-state load.”

    This option leverages the cost-effectiveness of Spot Instances for handling temporary peak loads. Setting up a diversified allocation strategy for your Spot Fleet is a best practice to increase the chances that a spot request can be fulfilled by EC2 capacity in the event of an outage in one of the Availability Zones.

    Additionally, AWS can terminate Spot Instances at any time when there’s a surge in demand for On-Demand instances of the same type. For example, if there’s a surge in demand for m5.large On-Demand instances, AWS may terminate your m5.large Spot Instances, leaving you without capacity, which can affect the performance of your application.

    Spot Fleet allows you to specify various EC2 instance types across different families. This helps ensure that other instance types are still available if there is a demand surge for a particular instance type.

    Please refer to these:

    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-best-practices.html
    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html
    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Fleets.html

    I hope this helps!

    Regards,
    JR @ Tutorials Dojo

Skip to content