Skip to content

App Engine to create schedules starts and stops for Compute Engine

License

Notifications You must be signed in to change notification settings

123erfasst/gcloud-instance-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

App Engine to create schedules starts and stops for Compute Engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published