Sign in to your Google account.
If you don't already have one, sign up for a new account.
- Select or create a Cloud Platform project.
- Enable billing for your project.
- Enable the Google Cloud Dataproc API.
- Install and initialize the Cloud SDK.
Set up a VM (optional)
If you plan to run Cloud SDK from a Compute Engine virtual machine instance, the virtual machine must be set up to access Google Cloud Platform services.
To test whether your virtual machine is set up correctly, run
gcloud compute instances describe <your-vm-instance-name> from the command line.
A service account must be listed that includes the scope
https://www.googleapis.com/auth/cloud-platform. If you can't find the scope,
see Setting the scope of service account access for instances.