Skip to content

Deploying on GCP

Only what differs on GCP. The deployment flow itself is Deploying a data plane, and the commands are the same on every cloud.

xratu dataplane install prepare acme edge-eu dp-eu-west1 \
  --provider gcp \
  --dp-count 2 \
  --artifact-registry <region>-docker.pkg.dev/<gcp-project-id>/<repository> \
  --artifact-bucket gcs://<bucket>/<prefix> \
  --project-id <gcp-project-id> \
  --region <region>

Values in angle brackets are yours to supply, so replace every one before running a command. Names without brackets, such as the organization, pool and dp_install, are the ones you choose in Xratu.

What GCP asks for

The shortest required set of the three clouds: project_id and region, plus gcp_iamcredentials_endpoint, which carries a public default.

In this section

Walkthrough

The two things to settle early

The registry and the bucket must already exist. Terraform creates identities and grants; it creates no repository and no bucket. A path naming something absent fails at apply.

Workload Identity must be enabled on the cluster. The bundle renders the annotation and the IAM binding, and the cluster feature is yours to turn on.