Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

No project description provided

Project description

Spotr simplifies launching and destroying an AWS spot instance.

Quick Start

First, install the library and set a default region:

$ pip install spotr

Next, set up credentials and region (in e.g. ~/.aws/config):

[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET
region=us-west-1

Then, from a Python interpreter:

$ spotr launch --type p2.xlarge --ami ami-4bf20033 --max-bid .030 --key-name aws-key-fast-ai

When you’re done with the instance, create a snapshot and detroy it with:

$ spotr destroy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for spotr, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size spotr-0.0.2-py2.7.egg (16.8 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size spotr-0.0.2.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page