node-jungle v0.4.2
node-jungle
node.js port of jungle
Installation
npm install -g node-jungleConfiguration
You can create the credential file yourself. By default, its location is at ~/.aws/credentials
[default]
aws_access_key_id = YOUR_ACCESS_KEY
aws_secret_access_key = YOUR_SECRET_KEYYou may also want to set a default region. This can be done in the configuration file. By default, its location is at ~/.aws/config
[default]
region = us-east-1Usage
EC2
Listing all EC2 instances
jungle ec2 lsFiltering EC2 instances by Name tag
jungle ec2 ls blog-web-server-01Filtering EC2 instances by Name tag using wildcard
jungle ec2 ls '*web*'Listing EC2 instances and output table style
jungle ec2 ls -tStarting instance
jungle ec2 up i-xxxxxxStopping instance
jungle ec2 down i-xxxxxxElastic Beanstalk
Listing all Elastic Beanstalk environments
jungle eb lsjungle eb ls has same options as jungle ec2 ls.
But, filtering target is EnvironmentName.
Elastic MapReduce
Listing all Elastic MapReduce Clusters
jungle emr lsjungle emr ls has same options as jungle ec2 ls.
But, filtering target is Name.
RDS
Listing all RDS instances
jungle rds lsjungle rds ls has same options as jungle ec2 ls.
But, filtering target is DB Indentifier.
Todo
- Add ec2 ssh command
- Add ELB Sub commands
- Refactor Internal libs
- Add docs (#17)
- Add tests
- Replace command to
jgfromjungle - Add update-notifier