Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


Google Compute Engine

To add a GCE cloud to ClearGLASS you will need the project name ID plus a JSON key file. You can get both items from your Google account: https://console.cloud.google.com

Make sure that the API is enabled, otherwise on the main dashboard of the API manager select ENABLE API.

[image]

First, you will need to select the correct project. The project name in our case is “API Project”, we take a note of it's id “api-project-1023838283680”, this is the project id we will provide on ClearGLASS.

[image]

Next, click on API Manager on the left sidebar and then Credentials.

[image]

Select Credentials, then Create credentials, and choose Service account key'.

[image]

Select Compute Engine Default Service Account (or give it another name if you want to distinguish the key).

[image]

Select the default option ( JSON) and then Create.

[image]

The key is now created! Save the file.

Now use the ClearGLASS add cloud wizard to add the Project ID and JSON key file.

[image]

Click Add.

[image]

ClearGLASS will automatically pull in all your VMs so you can see them alongside your other clouds.

content/en_us/cg_adding-google-compute-engine.txt · Last modified: 2018/03/12 21:15 by cjones

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Acg_adding-google-compute-engine&1710847942