MemberDecember 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.
AdministratorDecember 24, 2022 at 4:50 am
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
Log in to reply.