Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

No project description provided

Project description

Spotr simplifies launching, snapshotting and destroying AWS spot instances.

It’s designed for users wanting to use a spot instance as a development box, and persist the state in between sessions.

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):

aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET

Then, launch an instance using:

$ spotr launch --type p2.xlarge --max-bid .30 --ami ami-4bf20033

When you’re done working, you can save the current state (take a snapshot) using:

$ spotr snapshot

And then to terminate the instance:

$ spotr destroy

Next time you launch an instance, leave out the –ami tag and you’ll restore the most recent snapshot taken with spotr.

$ spotr launch --type p2.xlarge --max-bid .30

You can specify default configurations in ~/.spotr/config:


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.15
Filename, size File type Python version Upload date Hashes
Filename, size spotr-0.0.15.tar.gz (6.9 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