AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

Urgent Capacity with Spot instances

Its mentioned that spot instances can be used for urgent capacity. My question is if there is an urgency then how spot can help? Because the user has to wait for that specific price spot before the instances can be allocated.

2 Answers

The lecture states spot instances are not good candidates for persistent workloads, critical jobs and databases, so I wouldn’t use spot instances for urgent tasks.

You are correct in that there may not even be the type or quantity of spot instances you want at a price you are willing to pay. Spot Fleets can help you get a pool of instances and even mix on demand instances with spot instances. You can also set strategies to look for available instance types and AZs.

In addition you can use Spot Blocking to delay termination of running instances if the spot prices goes above your bid price.

If your workload is stateless (i.e. you can easily bring new instances online/offline) then having a base load of on demand instances supplemented with a spot fleet to manage peak load makes sense.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-on-demand-walkthrough.html
Shaswata Mukherjee

But in the lecture, it states that "Users with an urgent need for large amounts of additional computing capacity" should use spot instances. I could not understand this part how can spot instances be of help.

It could refer to using a fleet of Spot Instances for web applications and servers during peak traffic for lower costs. Your website could be experiencing a surge of traffic and you need instances quickly, but want low cost. Source: https://aws.amazon.com/ec2/spot/getting-started/#WebApplicationsandServicesonSpotInstances

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?