Skip to content

Helper scripts for maintaining AWS resources using the Resalloc project

License

Notifications You must be signed in to change notification settings

praiskup/resalloc-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Allocate machine in AWS

When allocating/removing machine in AWS/EC2 from command-line, there are many non-trivial options in the 'aws-cli' command. This project provides a simplified variant.

The 'resalloc-aws-new' script is able to (a) start the machine, (b) wait till SSH is available and (c) run a specified playbook.

The 'resalloc-aws-delete' removes the machine started by 'resalloc-aws-new' script.

API

The scripts provide the compatible API with closely related to Resalloc [1] project:

  • The '*-new' script either succeeds (provides the specified, configured, and fully working machine) or fails (and all the byproducts are cleaned-up from EC2).
  • Upon '*-new' success, the IP address of the machine is printed to stdout.
  • The '*-delete' script does it's best to remove the selected machine, even repetitively (to avoid paying for unused resources).

Installation

Just do: $ dnf install resalloc-aws (Fedora or EPEL).

Pre-release RPMs are available in dnf copr enable praiskup/resalloc repository.

References

[1] https://github.com/praiskup/resalloc

About

Helper scripts for maintaining AWS resources using the Resalloc project

Resources

License

Stars

Watchers

Forks

Packages

No packages published