The Oracle OCI cloud and Juju

This document describes details specific to using your existing Oracle OCI cloud with Juju.

See more: Oracle OCI

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

As the differences related to (1) are already documented generically in the rest of the docs, here we record just those that follow from (2).

Notes on juju add-cloud

Type in Juju: oci

Name in Juju: oracle

Notes on juju add-credential

Authentication types

httpsig

Attributes:

  • user: Username OCID (required)

  • tenancy: Tenancy OCID (required)

  • key: PEM encoded private key (required)

  • pass-phrase: Passphrase used to unlock the key (required)

  • fingerprint: Private key fingerprint (required)

  • region: DEPRECATED: Region to log into (required)

Notes on juju bootstrap

|You have to specify the compartment OCID via the cloud-specific compartment-id model configuration key (see below).
Example: juju bootstrap --config compartment-id=<compartment OCID> oracle oracle-controller.

Cloud-specific model configuration keys

address-space

The CIDR block to use when creating default subnets. The subnet must have at least a /16 size.

type

string

default value

“10.0.0.0/16”

immutable

false

mandatory

false

compartment-id

The OCID of the compartment in which juju has access to create resources.

type

string

default value

“”

immutable

false

mandatory

false

Supported constraints

CONSTRAINT

conflicting:

supported?

- allocate-public-ip

TBA

- arch


Valid values: [amd64, arm64].

- container

- cores

- cpu-power

- image-id

- instance-role

- instance-type

- mem

- root-disk

- root-disk-source

- spaces

- tags

- virt-type

- zones

Supported placement directives