Skip to content

Pay up to 10 times less on EC2 by automatically replacing on-demand AutoScaling group members with similar or larger identically configured spot instances.

License

Notifications You must be signed in to change notification settings

phils/autospotting

 
 

Repository files navigation

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

License

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

About

Pay up to 10 times less on EC2 by automatically replacing on-demand AutoScaling group members with similar or larger identically configured spot instances.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.6%
  • HCL 2.2%
  • Makefile 2.2%