Skip to content

ypodlesov/yacloud-instance-revival

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yandex Cloud Instance Revival

This is a service for revival of interruptible compute instances in Yandex Cloud Service

How to use

  1. Get Oauth token. How to.
  2. Paste it in file systemd/env
YANDEX_OAUTH_TOKEN=<tour_token>
CONFIG_PATH=/etc/yacloud_revival/config.yaml
  1. Get desired instance_id list and place it in configs/config.yaml.

  2. Run sudo chmod +x setup.sh && ./setup.sh

  3. To check everything is ok You can run sudo systemctl status yacloud_revival.service

Configuration

In file configs/config.yaml You can configure how often the Instance Revival should ping your desired hosts. You can set general value check_health_period and override it for each instance.

Problems

If something went wrong you can view logs in file /etc/yacloud_revival/general.log. This file is erased once a day by log_eraser.service on log_eraser.timer.

About

🌕 Instance revival for interruptible VMs in Yandex Cloud https://yandex.cloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published