Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop or shut down a Google Dataproc cluster?

The Dataproc clusters I created always show status as "running" on web portal. Is there a way to stop/deprovision a cluster when it is not in use so that it does not burn resources and $$?

like image 987
sermolin Avatar asked Feb 02 '18 02:02

sermolin


3 Answers

We recently launched the ability to stop and start clusters.

https://cloud.google.com/dataproc/docs/guides/dataproc-start-stop

like image 64
Mikayla Konst Avatar answered Sep 22 '22 01:09

Mikayla Konst


As described in the Dataprod documentation you can delete a running Dataproc cluster either by choosing the "Delete" option from the Dataproc dashboard, by running the Cloud SDK command gcloud dataproc clusters delete cluster-name or by calling the clusters.delete REST method.

like image 29
Yannick MG Avatar answered Sep 22 '22 01:09

Yannick MG


You can achieve the AZURE "STOP" functionality described by you in GCP as well. However, its just not click of the button, whereas you need to go to Compute engine and stop all the Vm's associated with your cluster. You will be only charged for the disk space used by the cluster

like image 21
Rohith Konduri Avatar answered Sep 22 '22 01:09

Rohith Konduri