Skip to content

RamanaK/aws

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aws

AWS Tools

Here's a couple of things I've written to manage AWS deployments.

AWS Shell

The AWS Shell honors the standard AWS profiles. You can specify which profile on the command line. The command prompt shows the current profile and region.

Its main advantage over the standard aws program is that it does wildcards and tab completion. It's also a good (imho) example of boto application programming.

--------------------------------------------------
| Welcome to awsh, the AWS shell                 |
| docs: https://github.com/marhar/aws            |
| type "help" for help                  build<6> |
--------------------------------------------------
mhmathadm@us-west-2> help
  ec2:
        instances : print information about instances
           launch : launch an instance
     reservations : display reservations
            start : start one or more instances
             stop : stop one or more instances
          volumes : print information about volumes
  elb:
    loadbalancers : list load balancers
  sqs:
            queue : queue commands
           queues : list queues
  devops:
           config : print information about this profile
          console : open an AWS web console
             curl : curl commands for testing running nodes
             myip : what's my ip address according to amazon?
              ssh : open ssh sessions in tabs
             ssh0 : show ssh commands for running nodes
  awsh:
             help : print help information
             quit : quit the program
            shell : invoke a shell command
  devel:
             div0 : divide by zero, test case for runtime error reporting

Instance Watcher

Dynamically refreshing full-screen status. The profile can be specified.

ec2: (mhmathadm) Wed Sep 23 21:20:17 2015                            build<6>
        id Name          addr     type       zone   state
i-d3464216  adm  52.89.219.53 t2.micro us-west-2b running
i-60a2e6a6 www1 52.24.245.202 t2.micro us-west-2a running
i-c0357606 www2          None t2.micro us-west-2a stopped

elb:
mhmath
    mhmath-1305260662.us-west-2.elb.amazonaws.com
        i-60a2e6a6 : InService (N/A)
        i-c0357606 : OutOfService (Instance)

About

my various aws fiddlings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.1%
  • Shell 30.3%
  • Perl 12.3%
  • HTML 0.3%