/node-jungle

AWS operations by cli should be simpler (node.js port)

Primary LanguageJavaScriptMIT LicenseMIT

node-jungle

Greenkeeper badge

NPM version NPM downloads Build Status Dependency Status DevDependency Status License

node.js port of jungle

Installation

npm install -g node-jungle

Configuration

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_KEY

You 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-1

Usage

EC2

Listing all EC2 instances

jungle ec2 ls

Filtering EC2 instances by Name tag

jungle ec2 ls blog-web-server-01

Filtering EC2 instances by Name tag using wildcard

jungle ec2 ls '*web*'

Listing EC2 instances and output table style

jungle ec2 ls -t

Starting instance

jungle ec2 up i-xxxxxx

Stopping instance

jungle ec2 down i-xxxxxx

Elastic Beanstalk

Listing all Elastic Beanstalk environments

jungle eb ls

jungle eb ls has same options as jungle ec2 ls. But, filtering target is EnvironmentName.

Elastic MapReduce

Listing all Elastic MapReduce Clusters

jungle emr ls

jungle emr ls has same options as jungle ec2 ls. But, filtering target is Name.

RDS

Listing all RDS instances

jungle rds ls

jungle 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 jg from jungle
  • Add update-notifier