Skip to content

glavk/yc-serverless-wakeup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple serverless Go cloud function for wakeup compute instances

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).

Trigger example

Trigger example

Links

About

Yandex Cloud function for wakeup compute instances

Topics

Resources

Stars

Watchers

Forks

Languages