Amazon EC2 Spot Fleet API – Manage Thousands of Spot Instances with one Request

Amazon EC2 Spot Fleet API – Manage Thousands of Spot Instances with one Request


Related discussions:

I was really excited when I saw this, but it doesnt currently work with ASGs/ELBs. As soon as they add that functionality I will be using this in almost every environment!

This doesn’t replace ASGs, but works alongside them. This is more for distributed computing tasks, not your baseload.

You’d still want your ASGs/ELBs for your synchronous work (anything customer facing), but then you’d have that system interface with a queueing system that managed distributing that work to spot fleets in an async manner.

Disclaimer: I work in the distributed computing space; I’m spinning up a spot fleet now to replace on-demand instance.s

Yea, I understand that. I am hoping that I can essentially attach a spot fleet to an ASG, and then scale to spot instances when it can, but keep a baseload of ondemand/reserved instances going.

Unfortunately I don’t believe that feature set is going to be provided :frowning: You’ll need two setups: ASGs, your spot fleet, and then a separate process to describe your spot instances and programmatically add them to your ELB(s).

If it ends up that way, DM me. We’re already doing that as of today.

I would be interested in anything you could share, I am setting up an environment like this now actually.

I was kind of hoping that the following statement means you can have a mixture of spot and ondemand/reserved.

“As is often the case with new AWS features, this is an initial release and we have a healthy backlog of features in the queue. For example, we plan to add a weighting system. It will allow you to express the relative power of each of your launch specifications in numeric form. The target capacity will also be expressed in these units; this will allow you to indicate that you need a certain amount of “horsepower” in a fleet.”

Check out https://www.spotinst.com/. They existed before fleet and if you work with their engineers they may be able to implement it!