Schedule startup and shutdown of a VM instance on GCP.

+1 vote
I'm using GCE for a small R&D project with restricted budget.

We would prefer to be able to start/stop instances automatically on a schedule

Example: To run database instances throughout office hours however shut them down out of hours to avoid wasting cost. Is there an instance scheduler for this purpose?
Nov 6, 2019 in GCP by anonymous
• 18,440 points
2,344 views

1 answer to this question.

0 votes

With the recent release of Google Cloud Scheduler, this is possible. 

Here's a step-by-step tutorial on using Cloud Scheduler to schedule start/stop of GCE VM instances. 

https://cloud.google.com/scheduler/docs/scheduling-instances-with-cloud-scheduler

Hope this helps!

answered Nov 6, 2019 by Sirajul
• 58,130 points

Related Questions In GCP

0 votes
1 answer

How to add a PTR record to my VM instance on gcp?

If your VM instance uses the primary ...READ MORE

answered Sep 26, 2019 in GCP by Sirajul
• 58,130 points
476 views
0 votes
1 answer

How to add a regional persistent disk to a VM instance on GCP?

You must first create the regional persistent ...READ MORE

answered Oct 18, 2019 in GCP by Sirajul
• 58,130 points
559 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 58,130 points
524 views
0 votes
1 answer
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23, 2019 in GCP by Sirajul
• 58,130 points
348 views
0 votes
1 answer

Error while boot of a VM instance on GCP

Secure Boot helps ensure that the system ...READ MORE

answered Oct 22, 2019 in GCP by Sirajul
• 58,130 points
365 views
0 votes
1 answer