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):
CLOUD
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.)
CREDENTIAL
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:

- CLOUDSDK_COMPUTE_REGION

- GOOGLE_APPLICATION_CREDENTIALS=<link to JSON credentials file>

CONTROLLER
notes on bootstrap:
other (alphabetical order:)
CONFIGURATION (model)
cloud-specific: base-image-path
Sets the base path to look for machine disk images.
Type: string
CONSTRAINT
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:
PLACEMENT DIRECTIVE
<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.

:negative_squared_cross_mark:

Hello hello Juju team - quick question for yinz. I was wondering what happened to the HOWTO documentation for setting up GCP with Juju? I noticed that this page has been recently updated to remove the set up information, so I have been going into the revision history to find the commands that I am looking for.

Could you please point me to where the GCP set up instructions has moved to in the Juju documentation? Thank you!