Skip to content

hantoine/aws-cli-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS CLI utils

Scripts to quickly request and manage EC2 spot instances from the command line.

  • aws-list: List EC2 instances currently running.
  • aws-request: Request an EC2 Spot instance and SSH to it. Use the cheapest availability zone and instance type from configuration.
  • aws-ssh: SSH to an EC2 instance. By default connect to the first instance returned by aws-list.
  • aws-price: Display the current Spot price of an instance type in an availability zone. Support glob patterns.
  • aws-list-requests: List Spot Fleet requests.
  • aws-cancel-requests: Cancel Spot Fleet requests.
  • aws-terminate: Terminate EC2 instances.

Installation:

  1. If you don't already have it, install AWS CLI and configure it.
  2. Download the Wheel file from the latest Github Release.
  3. Install it using pipx or pip: pipx install ./aws_cli_utils-*.whl.

About

Bash scripts for faster AWS CLI usage

Resources

License

Stars

Watchers

Forks