Skip to content

bobby060/lightswitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightswitch

A command line utility for starting/stopping Ec2 instances.

AWS CLI doesn't offer convenient ways to start/stop instances, so I created lightswitch to make it easier.

Usage

Requires that AWS CLI is installed and configured.

See here for instructions.

aws-lightswitch
    list: List all instance

    start [-i <instance_id> | -n <name>]: Start an instance
    stop [-i <instance_id> | -n <name>]: Stop an instance

    configure: set the aws region

If you run stop or start with no options, lightswitch will list all instances in current region and let you pick which to start

Install from cargo

cargo install aws-lightswitch

Build yourself

cargo build --release

After that you can run via ./aws-lightswitch

About

A command line utility for starting/stopping Ec2 instances

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages