/autospotting

Generate up to 90% savings on AWS EC2 by converting existing AutoScaling groups into reliable fleets of mixed spot and on-demand instances, with easy and minimalistic configuration changes

Primary LanguageGoMIT LicenseMIT

AutoSpotting

BuildStatus GoReportCard CoverageStatus CodeClimate IssueCount ChatOnGitter

A simple and easy to use tool designed to significantly lower your Amazon AWS costs by automating the use of the spot market.

Once enabled on an existing on-demand AutoScaling group, it launches an EC2 spot instance that is cheaper, at least as large and configured identically to your current on-demand instances. As soon as the new instance is ready, it is added to the group and an on-demand instance is detached from the group and terminated.

It continuously applies this process, gradually replacing any on-demand instances with spot instances until the group only consists of spot instances, but it can also be configured to keep some on-demand instances running.

All this can be seen in action below.

Workflow

Read here for more information and implementation details.

Frequently asked questions about the project are answered in the FAQ, please read this first before asking for support.

If you have additional questions not covered there, they can be easily added to the crowdsourced source of the FAQ and we'll do our best to answer them either there or on Gitter.

Getting Started

Just like in the above animation, it's as easy as launching a CloudFormation (or Terraform) stack and setting one or more tags on your AutoScaling group. It should only take a few minutes to get started.

Launch

For more detailed information you can read this document

Compiling and Installing

Even though you should normally be fine with the provided binaries, for local development or in case you have some special needs it's relatively easy to build, run or install your customized binaries.

More details are available here

Contributing

This project was developed by volunteers in their own spare time. If you find it useful please consider contributing to its development, any help would be greatly appreciated.

You can do it by trying it out and giving feedback, reporting bugs, writing code, improving the documentation, assigning a colleague to work on it for a few hours a week, spreading the word or simply contacting us and telling about your setup.

Non-trivial work should be submitted according to the contribution guidelines

Support

Community support is available on the gitter chat room on a best effort basis.

The main author also offers paid enterprise-grade support, sponsored feature development as well as AWS-related consulting. For more information on pricing, terms and conditions feel free to get in touch.

Users

Autospotting is already used by hundreds of individuals and companies around the world, such as:

License

This software is distributed under the terms of the MIT license.