Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

💝 Valentine's Sale! Get 30% OFF Any Reviewer. Use coupon code: VDAYSALE2026 & 5% OFF Store Credits/Gift Cards

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

Home Forums AWS AWS Certified Solutions Architect Professional Spot Fleet with Diversified Allocation Strategy – with Auto Scaling Enabled?

Tagged: ,

  • Spot Fleet with Diversified Allocation Strategy – with Auto Scaling Enabled?

  • virasana

    Member
    July 22, 2025 at 3:12 am

    Hi All

    How can a spot fleet have “auto-scaling enabled”. I understand that fleets do not enable auto scaling?

    Many Thanks!

    A company is hosting a multi-tier web application in AWS. It is composed of an Application Load Balancer and EC2 instances across three Availability Zones. During peak load, its stateless web servers operate at 95% utilization. The system is set up to use Reserved Instances to handle the steady-state load and On-Demand Instances to handle the peak load. Your manager instructed you to review the current architecture and do the necessary changes to improve the system.

    Which of the following provides the most cost-effective architecture to allow the application to recover quickly in the event that an Availability Zone is unavailable during peak load?

    ANSWER:
    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.

  • JR-TutorialsDojo

    Administrator
    July 24, 2025 at 1:38 pm

    Hello virasana,

    Thanks for reaching out to us.

    Automatic scaling is supported for Spot Fleet through a combination of AWS services: Amazon EC2, CloudWatch, and Application Auto Scaling.

    While Spot Fleet doesn’t have built-in Auto Scaling like ASGs, you can enable automatic scaling by:

    • Creating a Spot Fleet request via Amazon EC2
    • Defining CloudWatch alarms to monitor metrics like CPU utilization
    • Configuring scaling policies using Application Auto Scaling

    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-automatic-scaling.html

    So, in the context of the given question, the answer refers to using a Spot Fleet with a diversified allocation strategy and enabling automatic scaling per AZ, which is entirely valid, even if the scaling mechanism is external to the fleet itself.

    Hope that helps clarify!

    Best regards,
    JR @ Tutorials Dojo

  • virasana

    Member
    July 28, 2025 at 4:24 pm

    Thank you,
    Yes, I see that AutoScaling is in fact supported. Note that the fleet must be of type “maintain”, it must be registered as a scalable target and there must be appropriate CloudWatch alarms and IAM permissions in place:

    – Video: https://youtu.be/rlYLbs33Ofs?si=WXDFV9UUuzQ19bVY
    – AWS Docs:
    https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet-automatic-scaling.html
    https://docs.aws.amazon.com/autoscaling/application/userguide/services-that-can-integrate-ec2.html

    • JR-TutorialsDojo

      Administrator
      July 30, 2025 at 10:16 am

      Glad the clarification helped! Thanks for adding those important details and resources.

      Let us know if you need further assistance.

      Best regards,
      JR @ Tutorials Dojo

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
Skip to content