Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Deploying CM and CDH on Google Compute Engine

avatar
New Contributor

Hi Everyone, 

 

When setting a new cluster, on the "Add Environment" page, I'm asked to provide SSH credentials. 

According the CDH documentation, those credentials are created as part of the AWS configuration .. not GCE, so I'm quite confused .. which SSH keys should I use ? 🙂

 

http://www.cloudera.com/documentation/director/latest/topics/director_get_started_gcp_install_cm_cdh...

"Copy the SSH private key you created in Launching an EC2 Instance for Cloudera Director"

 

Could someone shed some light over this subject ? 

 

Thanks ! 

Ram

 

1 ACCEPTED SOLUTION

avatar
Expert Contributor

You can specify any username and private key combination. Director will extract the public key and attach it to the instance. Director will use the specified username and private key to ssh into the instance when setting up the instance for CM or CDH.

 

In general, you can also ssh into the instance with any of the keys listed in "Compute Engine --> Metadata --> SSH Keys". You don't have to specify a single keypair to associate with the instance as in AWS.

 

View solution in original post

4 REPLIES 4

avatar
Expert Contributor

Ram,

 

This is an error in the documentation. Please use your Google keys, not your AWS keys. I noticed some other similar issues further down on that documentation page. Please replace any AWS concepts you see on that page with their appropriate Google counterparts.

 

Thank you for pointing this out to us. We'll get the documentation fixed shortly.

 

Also, please note that we have a Known Issue affecting the default rhel6 image used by the director-google-plugin.

http://www.cloudera.com/documentation/director/latest/topics/director_rn_known_issues.html

If you are planning to use rhel6, then use the latest image https://www.googleapis.com/compute/v1/projects/rhel-cloud/global/images/rhel-6-v20160119 instead of the default rhel6 image.

 

 

David

avatar
New Contributor
I figured there's a small mixup in the CDH documentation. Thanks for approving that.
Still, unfortunately, my problem remains. When creating a new GCE instance, there is no SSH configuration.. Could you please let me know which key should I use ?
Thanks

avatar
Expert Contributor

You can specify any username and private key combination. Director will extract the public key and attach it to the instance. Director will use the specified username and private key to ssh into the instance when setting up the instance for CM or CDH.

 

In general, you can also ssh into the instance with any of the keys listed in "Compute Engine --> Metadata --> SSH Keys". You don't have to specify a single keypair to associate with the instance as in AWS.

 

avatar
New Contributor

Got it. Thanks David !