gcloud-instance-scheduler
v1.2.0
Published
App Engine in Node.js, that will start and stop Compute Engine instances automatically.
Downloads
2
Readme
gcloud-instance-scheduler
This is an App Engine in Node.js, that will start and stop your Compute Engine instances automatically.
Usage
Download and unzip the latest release
Run
npm i
to install the dependencies.Configure the Scheduling in
cron.yaml
. You can find more information about scheduling an App Engine here.The configuration may look like this:
cron: - description: daily start job url: /start/instance1-zone:instance1-name|instance2-zone:instance2-name schedule: every mon,tue,wed,thu,fri 07:00 - description: daily stop job url: /stop/instance1-zone:instance1-name|instance2-zone:instance2-name schedule: every mon,tue,wed,thu,fri 18:00
Deploy your App Engine. You can find more information about deploying your App Engine here