ec2_degraded_instances_restarter

command module
v0.0.0-...-98d355a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

README

EC2 Degraded Instances Restarter

Docker Build Docker Pulls

This program is call AWS API to find is there any instance running on degraded hardware. If find them, will stop and start affected instance.
This program loop for every 10 minutes.

Config

You need to config AWS access token to environment variable:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION

Or use role and service account on EKS

Also you can specify SQLite DB file location

Set environment variable DB_LOC.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL