Wakeup stopped compute instances in Yandex Cloud (usually spot instances).
You need to have service account and create trigger (as cron job) to launch this function periodically.
Tune folderID
in wakeup.go
variable with your Folder ID value in Yandex Cloud where compute instances works.
Also sleep.go
is used to stop running instances (e.g. at weekend period).
-
Notifications
You must be signed in to change notification settings - Fork 0
glavk/yc-serverless-wakeup
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Yandex Cloud function for wakeup compute instances