Metadata-Version: 1.1
Name: spotr
Version: 0.0.7
Summary: UNKNOWN
Home-page: https://github.com/samuelreh/spotr
Author: Samuel Reh
Author-email: samuelreh@gmail.com
License: UNLICENSE
Description: ===============================
        Spotr
        ===============================
        
        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:
        
        .. code-block:: sh
        
            $ pip install spotr
        
        Next, set up credentials and region (in e.g. ``~/.aws/config``):
        
        .. code-block:: ini
        
            [default]
            aws_access_key_id = YOUR_KEY
            aws_secret_access_key = YOUR_SECRET
            region=us-west-1
        
        Then, launch an instance using:
        
        .. code-block:: sh
        
          $ spotr launch --type p2.xlarge --max-bid .30 --key-name aws-key-fast-ai --ami ami-4bf20033
        
        When you're done working, you can save the current state (take a snapshot) and destroy the instance using:
        
        .. code-block:: sh
        
          $ spotr destroy
          
        Next time you launch an instance, leave out the `--ami` tag and you'll get the snapshot of where you left off.
        
        .. code-block:: sh
        
          $ spotr launch --type p2.xlarge --max-bid .30 --key-name aws-key-fast-ai
        
        You can specify default configurations in ``~/.spotr/config``:
        
        .. code-block:: ini
        
            [config]
            key_name=aws-key-fast-ai
            max_bid=.30
            type=p2.xlarge
        
Keywords: cli
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Topic :: Utilities
Classifier: License :: Public Domain
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
