Skip to content
/ reka Public

A Cloud Resource management Tool to destroy, stop, resume, or clean up unsed resources

License

Notifications You must be signed in to change notification settings

MeNsaaH/reka

Repository files navigation

reka

Never forget that instance running again


Build Status

A Cloud Infrastructure Management Tool to stop, resume, clean and destroy resources based on tags

Project Name

REKA is derived from a Native Nigerian Language, Igbo, meaning Reap|Tear Down.

BEWARE!

This tool is HIGHLY DESTRUCTIVE and can deletes all resources! This should be used in environments with WITH CAUTION.

What Does this tool do?

  • Stop/Resume resources based on configuration (activeDuration) for instance stopping an EKS cluster would mean resizing all nodegroups to 0 and resuming will be restoring back to original size
  • Destroy resources that have specific tags/labels or after a certain Duration(terminationDate)
  • Clean Up unused resources (such as EBS volumes, Elastic IPs)

TODO

Supported Resources

Here is a list of all supported resources

Development

Copy config/config.example.yaml to config/config.yaml and make all necessary changes

cp config/config.example.yaml config/config.yaml
# One time run
go run main.go --config ../config/config.yaml

Installation

Using go

go get -u github.com/mensaah/reka

Usage

Reka loads default config from $HOME/.reka.yaml if --config param is not passed. Copy config/config.example.yaml to config/config.yaml and make all necessary changes

cp config/config.example.yaml config/config.yaml
# Run reka using configuration. Stops stoppable resources, resume resumable resources and terminate
# resources dues for termination
reka --config config/config.yaml

Authentication

Reka uses the default authentication method for all providers