Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use n2 or n2d machine types with Cloud Dataproc?

I want to use Cloud Dataproc with n2 and other machine types that are not n1s. When I look at the Dataproc pricing and the Google Cloud Console it looks like I can only use n1 machine types.

Is there any way to use n2 and other machine types, like n2d? These machine types may save me money or be more appropriate for my workloads.

like image 551
James Avatar asked Jan 20 '26 05:01

James


1 Answers

Cloud Dataproc does support machine types other than n1 machine types when using the gcloud command line tool. If you specify a n2 (or other machine type) it should use that machine type appropriately. For example:

--master-machine-type=n2-standard-4 --worker-machine-type=n2-standard-4

Keep in mind, the machine type you want to use must be available in the zone and region you specify. Support for machine types other than n1 is coming soon in the Cloud Console.

Disclaimer - I am a PM for Dataproc and this is a common question as of Feb 2020.

like image 108
James Avatar answered Jan 23 '26 01:01

James



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!