Skip to content
项目

关于

A simple script to automate the creation of the cheapest and most stable AWS spot instances.

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

This repository is no longer relevant given the changes to AWS spot instance pricing.

AWS-SPOT-BOT

A tool for finding and launching the cheapest and most reliable AWS spot instances. Using an unsophisticated algorithm it launches instances in regions that have have a low price and a low price variance so that your instance is less likely to get shut down by changes in demand. It is primarily intended for machine learning researchers to be able to spawn GPU instances without incurring large costs.

Usage

Edit user_config.py to your specifications then run main.py.

Ansible

For convenience Ansible is integrated into this tool. This allows one to automatically run tasks on the servers after they are launched. This saves one from needing to rebuild AMIs every time a change is required. See user_config.py and main.py for more details. Be warned that hosts are not automatically removed from the Ansible hosts file.

DISCLAIMER

This library is something I threw together for my personal use. The code is not well tested and is in no way production worthy. Feel free to contribute.

Requested contributions

  • add a check to report how many instances you currently have running
  • add to pypy
  • search the project for "todo" and improve those items

License

MIT

探索相关项目

加载中…