Discover Packages
github.com/alantang888/ec2_degraded_instances_restarter
command
module
Version:
v0.0.0-...-98d355a
Opens a new window with list of versions in this module.
Published: Aug 30, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
EC2 Degraded Instances Restarter
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
.
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.