GCP auto shutdown and startup using Google Cloud Schedulers

0 votes
I want to start/stop a set of Compute engine instances in Google Cloud Platform using Google Cloud Scheduler. How can I do it?
Mar 19, 2022 in GCP by Rahul
• 3,380 points
1,359 views

1 answer to this question.

0 votes

In order to start and stop a compute engine using the Cloud Scheduler you can follow Google this tutorial. Here are the steps to follow:

1. Set up your Compute Engine Instance.

2. Deploy the starter Cloud Function. Here is an example.

3. Deploy the stop Cloud Function. Here is an example.

4. Set up the Cloud Scheduler jobs 

answered Mar 20, 2022 by Korak
• 5,820 points

Related Questions In GCP

+1 vote
1 answer

Schedule startup and shutdown of a VM instance on GCP.

With the recent release of Google Cloud ...READ MORE

answered Nov 6, 2019 in GCP by Sirajul
• 59,230 points
5,889 views
0 votes
1 answer

Differentiate between spring cloud gcp pub sub and google cloud pub sub

The difference is whether you prefer to ...READ MORE

answered Apr 6, 2022 in GCP by Korak
• 5,820 points
552 views
0 votes
0 answers

How to protect your GCP apps from bad bots using Cloud Armor and Load Balancer?

I have the Google Cloud Platform load ...READ MORE

Apr 7, 2022 in GCP by Rahul
• 3,380 points
618 views
0 votes
1 answer

Does Google cloud platform (GCP) offer IaaS ? Or just PaaS?

GCP provides IaaS as well, although it ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
7,006 views
0 votes
1 answer

How do I create a Google Cloud Platform (GCP) account?

In order to access the services provided ...READ MORE

answered Sep 20, 2019 in GCP by Sirajul
• 59,230 points
2,745 views
0 votes
1 answer
0 votes
1 answer

Google Cloud: New shared BigQuery datasets and GCP projects is not visible for my user

Let's suppose you have project1 and project2 and ...READ MORE

answered Mar 20, 2022 in GCP by Korak
• 5,820 points
614 views
0 votes
1 answer

Google Cloud: New shared BigQuery datasets and GCP projects is not visible for my user

Let's suppose you have project 1 and ...READ MORE

answered Apr 5, 2022 in GCP by Korak
• 5,820 points
802 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP