Cfsh

npm-link Github link

Node.js, AWS

Cfsh is a shell that mimics the Bash terminal and allows you to traverse AWS components just like you would directories in a file system with "cd" and "ls". It is built using Node.js and the AWS API. There are over 30 built-in commands that allow you to traverse, interact and monitor AWS components. Using this tool should be natural to any developer that is familiar with a Linux terminal. This tool has mostly replaced the AWS console from my workflow.

'cd' and 'ls' to different AWS resources.

npm-link

'ssh' into instances.

npm-link

'rm' and 'mk' Cloudformation stacks.

npm-link

Get info from AWS resources.

npm-link

Cfsh comes with over 30 commands

mk, rm Remove or delete stacks.
cat Cat a file on an instance.
ls List AWS resources.
stats Inspect the CPU and memory usage of an instance.
vols List all the volumes that are attached to the instances in an ASG.
ssh Start ssh sessions to an instance.
sshall Ssh into all the instances in the ASG.
sshrand Ssh into a random instances in the ASG.

And many more.