Jump to content

AWS Workflow


Recommended Posts

I am a heavy user of Amazon Web Services. I usually need to stop/start instances as I am developing or hacking at something, and often I need to get the IP address of a server so I can ssh into.

 

So I started a little project that uses python and boto.  It is not tested. I don't think you need anything other than the default python. 

 

If you're interested, give it a try and let me know if it works.

 

https://github.com/stonefury/aws-alfred

 

Example Usage:

 

Set the region you want to search:

    ec2 config region=us-west-2

 

Search for EC2 instances. It will search all properties of the EC2 instance. You can use a single keyword, or multiple keywords to refine the search.  The pubic IP address will go into your clipboard.

    ec2 find killroy running

 

Stop/Start Instances

 

    ec2 stop killroy

    ec2 start killroy

Edited by stonefury
Link to comment
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...