Skip to content
/ mist Public

AWS Cog commands written in Python

License

Notifications You must be signed in to change notification settings

cogcmd/mist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e0bbab7 · Oct 26, 2016

History

90 Commits
Feb 17, 2016
Apr 9, 2016
Mar 2, 2016
Mar 10, 2016
Mar 13, 2016
Apr 11, 2016
Feb 3, 2016
Apr 22, 2016
Feb 4, 2016
Apr 22, 2016
Feb 4, 2016
Oct 26, 2016
Oct 26, 2016

Repository files navigation

⚠️ Deprecated ⚠️

Mist has been rewrittten as two separate bundles built for Cog 0.13+:

Mist - AWS Bundle for Cog

What's included?

Mist uses python's boto library to run a suite of commands.

mist:ec2-create
mist:ec2-destroy
mist:ec2-find
mist:ec2-reboot
mist:ec2-start
mist:ec2-stop
mist:ec2-tag
mist:keypairs-list
mist:s3-bucket-acl
mist:s3-bucket-list
mist:s3-buckets
mist:vpc-list

We also include some fine-grained permissions to control access to these commands.

mist:view
mist:change-state
mist:destroy
mist:create
mist:manage-tags
mist:change-acl

Building

To build the bundle you will need python, pip. Then just run the following:

make install && make

This should create a mist.cog file in the current directory.

Installing and Configuring

You'll need to have python and pip available before installing.

To install the bundle, copy this file to Relay's pending/ directory.

Once it's installed, you'll need to add your AWS credentials to config.json in the COG_COMMAND_CONFIG_ROOT/mist directory.

Here's an example config.json:

{"AWS_ACCESS_KEY_ID": "ABCDEFGHIJKLMNOPQRST",
 "AWS_SECRET_ACCESS_KEY": "U/nV0+l/Some0Obvious1Fake2Key3For4AWS5"}