gcloud-instance-scheduler

1.2.0 • Public • Published

gcloud-instance-scheduler

npm-version

This is an App Engine in Node.js, that will start and stop your Compute Engine instances automatically.

Usage

  1. Download and unzip the latest release

  2. Run npm i to install the dependencies.

  3. 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
  4. Deploy your App Engine. You can find more information about deploying your App Engine here

Readme

Keywords

none

Package Sidebar

Install

npm i gcloud-instance-scheduler

Weekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • 123erfasst