VizuriBlogHero.jpg

An Open View

How to Connect Red Hat Cloud Forms to Google Compute Engine

Red Hat Cloud Forms is a policy-controlled Cloud management engine that provides self-service environments for Cloud users seamlessly across several popular Cloud providers.

In this tutorial, I will demonstrate the ease in which you can connect your Cloud Forms to Google's Compute Engine (GCE).

This exercise is appropriate for a beginner knowledge level in both Cloud Forms and Google Compute Engine.

You will need:

  • Red Hat Cloud Forms installed
  • Red Hat Cloud Forms admin credentials
  • Google Compute Engine account
  • Google Compute Engine admin credentials

 

  1. Login to Google Compute Engine.
  2. Create the Service Account by clicking IAM & admin -> Service Accounts -> [+] CREATE SERVICE ACCOUNT.
  3. Google Cloud screenshot.png

  4. Give your new GCE Service Account a name. Set the role to Project-> Owner (you will be able to reduce permissions as appropriate) and select the JSON radio button-> Create.

  5. The GCE Project ID and the GCE Service Endpoint JSON will have to be acquired from the GCE portal  and placed into the Cloud Forms “Add new cloud provider” dialog.

  6. The JSON file will be automatically downloaded to your local machine.

  7. In the GUI for the Red Hat Cloud Forms, go to Compute-> Infrastructure-> Clouds-> Providers.

  8. Go to Configuration -> "Add a New Cloud Provider."

  9. add a new cloud provider.jpg
  10. From the Google Cloud Platform (GCE) go to IAM and admin -> Service accounts -> Service account ID. Copy the part of the service account ID underlined below on the right and paste to CFME on the left under “Project ID.”

  11. Open the JSON file in an editor.

  12. Copy that JSON text from your editor into the Endpoints-> Service Account JSON field above on the left in CFME.



  13. Click Validate-> Save.

    You now have your Cloud Forms connected to Google Compute Engine and will be able to use it as a provisioning resource from Cloud Forms!


    It may take considerable time to populate your Google Cloud metadata into Cloud Forms, so my last recommended step would be: be patient!

Brian Keyes

Brian has over 20 years of experience as a Systems Engineer with a strong background in VMware, storage, networking and security. Brian has worked for variety of US Govt. entities over the years;DOD,NGA,NNSA and others. Currently focused on Docker technologies