The Google GCE cloud and Juju

List of supported clouds > Google GCE

This document describes details specific to using your existing Google GCE cloud with Juju.

See more: Google GCE

When using the Google GCE cloud with Juju, it is important to keep in mind that it is a (1) machine cloud and (2) not some other cloud.

See more: Cloud differences in Juju

As the differences related to (1) are already documented generically in our Tutorial, How-to guides, and Reference docs, here we record just those that follow from (2).

Juju points of variation Notes for the Google GCE cloud
setup (chronological order):
requirements: Permissions: Service Account Key Admin, Compute Instance Admin, and Compute Security Admin.
> See more: Google | Compute Engine IAM roles and permissions
definition: Already known to Juju. Run juju clouds --all to confirm. (Pre-defined cloud name in Juju: google.)
definition: auth-type: jsonfile or oauth2
> See more: Google | Authenticate to Compute Engine, Google | Create and delete service account keys

If you want to use environment variables:


- GOOGLE_APPLICATION_CREDENTIALS=<link to JSON credentials file>

notes on bootstrap:
other (alphabetical order:)
cloud-specific: base-image-path
Sets the base path to look for machine disk images.
Type: string
conflicting: [instance-type] vs. [arch, cores, cpu-power, mem]
allocate-public-id :white_check_mark:
arch :white_check_mark:
container :white_check_mark:
cores :white_check_mark:
cpu-power :white_check_mark:
instance-role :negative_squared_cross_mark:
instance-type :white_check_mark:
mem :white_check_mark:
root-disk :white_check_mark:
root-disk-source :negative_squared_cross_mark:
spaces :negative_squared_cross_mark:
tags :negative_squared_cross_mark:
virt-type :negative_squared_cross_mark:
zones :white_check_mark:
<machine> TBA
subnet=... :negative_squared_cross_mark:
system-id=... :negative_squared_cross_mark:
zone=... :white_check_mark:
RESOURCE (cloud)

Consistent naming, tagging, and the ability to add user-controlled tags to created instances.


Last updated a month ago.