1.0.18 • Published 5 years ago

aws-cool-cli v1.0.18

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

AWS COOL CLI

Provides easy to use AWS access.

Installation

sudo npm install aws-cool-cli -g

Common Arguments

ArgumentDescription
regionThe AWS region
profileShared AWS credentials profile. Optional. Cannot be used with key and secret.
keyAWS credentials key. Optional. Should be used with secret if provided. Cannot be used with profile.
secretAWS credentials secret. Optional. Should be used with key if provided. Cannot be used with profile.

Searching for EC2 Instances by Name

Usage:

aws-cool-cli-ec2-find-by-name --region <region> --name <name>

Starting EC2 Instance

Usage:

aws-cool-cli-ec2-start --instanceId <id> --region <region> [--wait]

Stopping EC2 Instance

Usage:

aws-cool-cli-ec2-stop --instanceId <id> --region <region> [--wait]

Getting EC2 Instance State

Usage:

aws-cool-cli-ec2-state --instanceId <id> --region <region>

Waiting SSM Agent Ready

Usage:

aws-cool-cli-ssm-wait-ready --instanceId <instance-id> --region <region>

Running SSM Commands on AWS EC2 Instances

Usage:

aws-cool-cli-ec2-run-command --command <command> --instanceId <instance-id> --region <region> --s3Bucket [log-output-s3-bucket] --task [task-name] --timeout [execution-timeout-seconds]

Fetching S3 File Contents

Usage:

aws-cool-cli-s3-fetch --region <region> --bucket <bucket-name> --path <path>

Running SSH Commands on AWS EC2 Instances using SSH

Usage:

aws-cool-cli-ec2-ssh-command --command <command> --user <user> --pk <path-to-pk-pem-file> --instanceId <instance-id> --region <region>

Shutdown AWS EC2 Instances using SSH

Usage:

aws-cool-cli-ec2-ssh-shutdown --user <user> --pk <path-to-pk-pem-file> --instanceId <instance-id> --region <region>

Running SSH Commands on Remote Host using SSH

Usage:

aws-cool-cli-ssh-command --command <command> --user <user> --host <host> --pk <path-to-pk-pem-file>
1.0.18

5 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago