Skip to content

carlosvargas/AWSLauncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Launch Wrapper

Small wrapper around boto to make calls to AWS EC2.

This was originally developed in order to spin up spot instances quickly. I got interested on how to run games on EC2 [post here] and got tired of doing it through the AWS UI.

Config

Open the config.py file and update it with your information.

region = <region-to-connect-to>
access_key_id = <your-access-key>
secret_key = <your-secret>

The next settings are optional. If you don't provide them, the CLI will ask for them when appropriate. They're there for convenience so that you don't have to type them every single time.

For example, to set up the same instance as required by the post above, your settings will look like:

default_os = "Windows"
default_instance_type = "g2.2xlange"
default_security_group_id = <group-id>

Usage

> python .\run.py spot
Usage: run.py spot [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  cancel
  create
  images
  prices
  running
  terminate

About

CLI tool to interact with AWS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages