Skip to main content

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.

Source Distribution

spotr-0.0.2.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

spotr-0.0.2-py2.7.egg (16.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page