Reply
Highlighted
New Contributor
Posts: 3
Registered: ‎01-29-2016
Accepted Solution

Deploying CM and CDH on Google Compute Engine

[ Edited ]

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

 

Cloudera Employee
Posts: 76
Registered: ‎10-28-2014

Re: Deploying CM and CDH on Google Compute Engine

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

New Contributor
Posts: 3
Registered: ‎01-29-2016

Re: Deploying CM and CDH on Google Compute Engine

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
Cloudera Employee
Posts: 76
Registered: ‎10-28-2014

Re: Deploying CM and CDH on Google Compute Engine

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.

 

New Contributor
Posts: 3
Registered: ‎01-29-2016

Re: Deploying CM and CDH on Google Compute Engine

Got it. Thanks David !