Jakobovski/aws-spot-bot
소개
A simple script to automate the creation of the cheapest and most stable AWS spot instances.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalThis 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
관련 프로젝트 살펴보기
불러오는 중…