Ends in

MID-YEAR 24-Hour Bonus Sale - 25% OFF Any Reviewer. Use Coupon Code: TDMIDYEAR-2024

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

Home Forums AWS AWS Certified Developer Associate Set 2, Question 63

  • Set 2, Question 63

  • tyzh

    December 22, 2022 at 11:16 pm

    An internal application with 100 employees, make it elastic and cost effective. Answer spot fleet and dynamodb.

    How can a user facing application run on spot? I know there’s a on-demand capacity, but if that capacity can serve user demand, you are really just running on-demand. If not and no cheap spot available, you are not “adequately match the supply of resources to the demand”

    Seems like a strange scenario.

  • Carlo-TutorialsDojo

    December 24, 2022 at 4:50 am

    Hello tyzh,

    Thanks for sharing your thoughts.

    I agree with you on the part where no spot instance is available means no added capacity. However, there’s a variety of workarounds that you can do to offset that effect for the sake of optimizing cost. First, you can diversify the instance types the application uses so there’s less chance of capacity running out. Second, as you said, you can mix on-demand and spot, with on-demand being the primary capacity so you can sustain capacity. Third, you can use ASG and enable instance hibernation so an instance resumes faster when disruption occurs. The scenario isn’t really that far-fetched from reality, as it’s a common case in the industry. Spot fleets are used more frequently in production environments than you might think.

    Let me know if this helps.


    Carlo @ Tutorials Dojo

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018