Skip to main content

Utility for managing AWS spot resources.

Project description

# Awspot: AWS Spot Resource Manager Command line utility to easily manage Amazon AWS spot resources. NOTE: Spot fleet management not implemented yet. EMR management partially implement. The only fully available resource type is `ec2`.

## Setup 1. Install and configure aws_cli: https://aws.amazon.com/cli/ 2. Add [this repo](https://github.com/rob-dalton/homebrew-tap) as a homebrew tap: brew tap rob-dalton/homebrew-tap 3. Run brew install awspot

## Basic Usage Commands follow this pattern: awspot <resource_type> <command> <args>.

resource_type - ec2 - fleet

command - launch - terminate - list_running - ssh

args: - -s | –specifications: Path to JSON file with launch specifications. - -u | –userdata: Path to userdata script (runs on instance boot). - -p | –price: Max spot resource bid price. - -n | –name: Spot resource name.

## Learn More - Launch specifications: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-request-examples.html - User data scripts: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html#user-data-shell-scripts - Max bid price: https://aws.amazon.com/ec2/spot/pricing/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AWSpot-0.0.4.tar.gz (6.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page