/autospotting

Easy to use tool that automatically replaces some or even all on-demand AutoScaling group members with similar or larger identically configured spot instances in order to generate significant cost savings on AWS EC2, behaving much like an AutoScaling-backed spot fleet.

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.

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.

License

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