Skip to content

Google Cloud

Self-Hosted Only

NetBlueprint Forge on Google Cloud

Copyright (c) 1998-2026 DigitalPrez, LLC. All rights reserved.

How to run NetBlueprint Forge’s containers in a Google Cloud project: on Google Kubernetes Engine with the Helm chart, the main route, or on Cloud Run, the lighter one. The same steps serve a customer in its own project and DigitalPrez, LLC in its own (../README.md, “The three modes”). Read ../README.md first: it holds what the application needs from any cloud, the defaults chosen, the settings and the placeholders. Written 2026-11-22.

Status

The images this guide uses run in production on DigitalPrez’s own Kubernetes cluster since 2026-11-27 (../digitalprez/RELEASES.md), and under Docker Compose (../compose/README.md, Status). The modules in kubernetes/ and serverless/ pass tofu validate with OpenTofu 1.13.9, which checks every argument against the provider’s schema; the chart was rendered with Helm 4.3.2 (../README.md, Status). Services and versions were checked against Google’s documentation on 2026-11-22 (Sources); Google’s pages now live at docs.cloud.google.com. Steps that could not be checked carry Verify and a row in Open items.

The first real runs are walked step by step in VALIDATE.md, beside this guide: each step proves one thing this guide could only describe, and names the open item below that a pass closes.

What Runs Where

Part Cluster Route (kubernetes/) Serverless Route (serverless/)
API and worker GKE Autopilot on the Regular release channel (1.37 on 2026-11-22), Dataplane V2, the chart in ../helm/netblueprint-forge Cloud Run services, second-generation execution environment, instance-based billing
Load balancer and TLS A global external Application Load Balancer from the chart’s Gateway API route (gke-l7-global-external-managed), a Google-managed certificate from Certificate Manager A global external Application Load Balancer with a serverless network endpoint group, the same kind of certificate
How the API finds the worker The Kubernetes service forge-worker The worker’s Cloud Run address, with internal ingress, reached through the VPC
PostgreSQL Cloud SQL for PostgreSQL 18, Enterprise edition, private IP, one instance per NetBlueprint Forge instance The same
Cache Memorystore for Valkey 9.1, cluster mode disabled, Private Service Connect, token authentication, TLS The same
Folder of keys A Cloud Storage bucket per instance, mounted through the Cloud Storage FUSE CSI driver as user 1654 The same bucket, as a Cloud Run volume
Key-encryption key Cloud KMS, an HSM key per instance, used by the Kubernetes service account (“The key service”) The same key, used by the API service’s account
Secrets Secret Manager, one secret per instance, copied into a Kubernetes secret at install. The cache’s token is made by Memorystore and copied into Secret Manager by the operator (step 1) Secret Manager, each setting as a secret of its own (Cloud Run cannot pick one key out of a JSON secret; read), read into the environment, and the certificate authorities as files
Registry Artifact Registry, with scanning switched on by the module (it is off by default; read) The same
Logs Cloud Logging Cloud Logging
Network A VPC with a subnet for the cluster (Private Google Access on), Cloud NAT for the API’s way out, private services access for Cloud SQL, a service connection policy for Memorystore The same, with a subnet for Cloud Run’s direct VPC egress

How It Fits Together

Browser ──HTTPS──► Global external Application Load Balancer
session affinity cookie, 3600 s, /api/health
│
▼
API ── Cloud NAT ──► AI vendor, identity providers
│ │ │ │
│ │ │ └──► Cloud Storage bucket: the folder of keys
│ │ └──────────► Memorystore for Valkey (Private Service Connect)
│ └──────────────────► Cloud SQL for PostgreSQL 18 (private IP)
▼
Worker, port 5081: reached by the API only; egress denied

Before You Start

# What Why
P1 A Google Cloud project with billing, and Owner on it, or the roles to create a VPC, GKE or Cloud Run, Cloud SQL, Memorystore, Cloud Storage, Secret Manager, Artifact Registry, Certificate Manager and service accounts The modules create all of them
P2 OpenTofu 1.10 or later (or Terraform 1.10 or later), the gcloud CLI, jq, Docker with buildx, and for the cluster route kubectl and Helm 3.19 or later The steps below use them
P3 Two DNS names for each instance, the workspace’s and the console’s (ops.<domain> unless console_host says otherwise), and the right to add records to their zone Each certificate is authorized by DNS (../README.md, “The platform console”)
P4 A place to keep the modules’ state: a Cloud Storage bucket with versioning, or OpenTofu’s state encryption with a Cloud KMS key The state holds every generated password. The roots name no backend, so until you add one the state is a file in the route’s folder (deploy/.gitignore keeps it out of the repository). To add one, put a backend block in a file of your own named backend_override.tf, which is ignored too
P5 The engine archive named in worker/engine.lock.json, in .local/ The worker image will not build without it

Google Cloud Deployment Manager is not an option: it stopped taking new users on 2026-06-30 and is turned down after 2027-06-30 (read).

Build and Push the Images

Copy example.tfvars to my.tfvars in deploy/gcp/kubernetes or deploy/gcp/serverless and set project_id and region. The module’s name (default forge) is 3 to 8 characters and each instance’s key 1 to 14, which keeps service account names within Google’s 30. The first apply makes the project’s services, the network and the registry only; the GKE cluster comes with the first instance:

Terminal window
tofu init
tofu apply -var-file=my.tfvars -var 'instances={}'
REGISTRY=$(tofu output -raw registry)
gcloud auth configure-docker "${REGISTRY%%/*}"

Then from the repository root:

Terminal window
TAG=0.1.0
docker buildx build --platform linux/amd64 -f deploy/compose/Dockerfile.api -t "$REGISTRY/api:$TAG" --push .
docker buildx build --platform linux/amd64 -f deploy/compose/Dockerfile.worker -t "$REGISTRY/worker:$TAG" --push .

Write each image’s digest into the tfvars file (api_image, worker_image). Artifact Registry scans each image once per digest and again while it is in use (read). Binary Authorization can hold Cloud Run to signed images (read); the modules do not switch it on (Open item 10).

The Cluster Route: Google Kubernetes Engine

1. Apply the Platform and the Instances

Terminal window
cd deploy/gcp/kubernetes
tofu apply -var-file=my.tfvars

It makes the Autopilot cluster (Workload Identity, Dataplane V2 and the Cloud Storage FUSE driver come with Autopilot; the Gateway API is switched on; the control plane keeps a public endpoint that needs a Google sign-in, so step 2 works from outside), and per instance: a Cloud SQL instance with the login forge_admin, a Memorystore for Valkey instance with token authentication, a bucket for the keys, Secret Manager secrets for the settings and for the database’s and the cache’s certificate authorities, and a Certificate Manager certificate and map for the domain. The API’s Kubernetes service account, forge-api in forge-<instance>, is given roles/storage.objectUser on the bucket directly, as Google’s Cloud Storage FUSE page now gives it (read): no Google service account and no annotation.

Add every DNS authorization record in tofu output certificate_dns_records: a list per instance, the workspace’s first and, when the instance has a console, the console’s (_acme-challenge.ops.<domain>). The console has a certificate of its own, so a missing console record never holds back the workspace’s.

Then the cache’s token. Memorystore makes the token itself and the provider cannot read it (Memorystore’s API reference marks it output only; read). Copy it into Secret Manager without it being shown, then tell the module it is there:

Terminal window
gcloud memorystore instances token-auth-users auth-tokens list --instance="forge-$I" --location="$(tofu output -raw region)" \
--token-auth-user=default --limit=1 --format='value(token)' \
| gcloud secrets versions add "forge-$I-cache-token" --data-file=-
# In my.tfvars, set cache_token_stored = true for the instance, then:
tofu apply -var-file=my.tfvars

Until then the settings carry no Cache__Redis, and the API keeps its live channel, edit locks and revoked tokens in its own memory, which is right for one replica only (Verify the command, Open item 15).

2. Connect to the Cluster

Terminal window
gcloud container clusters get-credentials "$(tofu output -raw cluster_name)" --region "$(tofu output -raw region)"
kubectl get nodes

3. Install an Instance With the Chart

For an instance called acme:

Terminal window
I=acme
kubectl create namespace "forge-$I"
gcloud secrets versions access latest --secret="forge-$I-settings" \
| jq --arg n "forge-settings" '{apiVersion:"v1", kind:"Secret", metadata:{name:$n}, stringData:.}' \
| kubectl -n "forge-$I" create -f -
gcloud secrets versions access latest --secret="forge-$I-db-ca" \
| jq -Rs --arg n "forge-db-ca" '{apiVersion:"v1", kind:"ConfigMap", metadata:{name:$n}, data:{"db-ca.pem":.}}' \
| kubectl -n "forge-$I" create -f -
gcloud secrets versions access latest --secret="forge-$I-cache-ca" \
| jq -Rs --arg n "forge-cache-ca" '{apiVersion:"v1", kind:"ConfigMap", metadata:{name:$n}, data:{"cache-ca.pem":.}}' \
| kubectl -n "forge-$I" create -f -
tofu output -json helm_values | jq -r --arg i "$I" '.[$i]' > "$I.values.yaml"
helm upgrade --install forge ../../helm/netblueprint-forge -n "forge-$I" -f ../../helm/netblueprint-forge/values-gcp.yaml -f "$I.values.yaml"

The chart starts one API replica. When it is ready, raise api.replicas to 2 and upgrade again.

4. Point the Name At the Load Balancer

Terminal window
kubectl -n "forge-$I" get gateway forge -o jsonpath='{.status.addresses[0].value}'

Add an A record from the instance’s domain to that address, and another from its console host.

5. Check It

# Check Passes When
V1 curl -s https://<domain>/api/health "status":"ok" with the pinned engine release
V2 curl -sI https://<domain>/ content-security-policy and x-frame-options are present, and a GCLB cookie is set
V3 kubectl -n forge-$I exec deploy/forge-worker -- node -e "fetch('https://example.com').then(()=>process.exit(1),()=>process.exit(0))" It exits 0: the worker cannot reach out
V4 Two people on one model, two API replicas A change by one appears for the other
V5 An assistant draft that runs for more than five minutes The answer streams to the end
V6 Delete one API pod The page reconnects and nobody is signed out
V7 Twelve wrong sign-ins in a minute from one network, then one from another (../VALIDATE.md, A13 and A14) The first network is refused with 429 and the second is not: the API tells callers apart (need 7)

The Serverless Route: Cloud Run

1. Apply the Platform and the Instances

Terminal window
cd deploy/gcp/serverless
tofu apply -var-file=my.tfvars

Per instance it makes the same Cloud SQL instance, cache, bucket, secrets and certificate as the cluster route; the cache’s token is copied in the same way, after the first apply that makes the instance. And:

  • The worker, a Cloud Run service with internal ingress, the invoker check switched off (--no-invoker-iam-check; the API sends X-Worker-Key, not a Google identity token), direct VPC egress for all traffic with the network tag forge-worker, and a firewall rule that denies every egress from that tag.
  • The API, a Cloud Run service with ingress from the load balancer only (internal-and-cloud-load-balancing), the invoker check switched off too (the load balancer sends no identity token; an organization policy, run.managed.requireInvokerIam, can forbid this on both services, read), session affinity, a request timeout of 3600 seconds, 1000 concurrent requests an instance (each open WebSocket holds one), instance-based billing (the live channel and the six-hourly clean-up of drafts run between requests), direct VPC egress for all traffic so that it reaches the worker’s internal address, Cloud SQL and the cache, the bucket mounted at /var/lib/forge/keys, and the two certificate authorities mounted from Secret Manager as files. Each secret setting is a Secret Manager secret of its own, pinned to a version.
  • The load balancer, global and external, with a serverless network endpoint group for the API and the certificate map.

The API service starts with a minimum of one instance (api_min_instances = 1) and a maximum of one. Once /api/health answers, raise both and apply again.

2. The Domains, and Checks

Add every record in tofu output certificate_dns_records, and an A record from the instance’s domain, and another from its console host, to its load balancer’s address (tofu output load_balancer_addresses). The load balancer sends every host to the API, which tells the console’s from the workspace’s itself. V1, V2, V4, V5, V6 and V7 apply. For V3: Cloud Run has no shell into a running instance; the firewall rule and its tag are what keep the worker in, and the rule’s hits are not logged (read). The API’s commands run as a job instead (“The platform console” below).

What Cloud Run Cannot Do

Need What Happens
Read-only file system Not available: the container’s file system is writable and held in memory (read)
Capabilities dropped Not configurable
Sticky sessions Cloud Run’s own affinity is “best effort”: a person moves to another instance when theirs is at its limit or stops (read). The live channel then reconnects; long polling, if a browser fell back to it, starts again
A WebSocket open longer than the request timeout Closed at 60 minutes (read); the page reconnects by itself
The layout check Not available (default F)

How the Application’s Needs Are Met Here

Need (../README.md) On Google Cloud
1. PostgreSQL 18 and a login with CREATEROLE Cloud SQL’s default version is PostgreSQL 18, now 18.6, generally available since 2025-11-20 (read). Users made through Cloud SQL, as the module makes forge_admin, are members of cloudsqlsuperuser, which has “limited superuser privileges”; the postgres user has neither SUPERUSER nor REPLICATION, and has CREATEROLE and CREATEDB (read). Verify that forge_admin has rolcreaterole true. Google’s pages do not mention BYPASSRLS: Verify at the first install that select rolbypassrls from pg_roles where rolname = current_user answers f (Open item 3)
2. Releases at start The chart’s start-up probe and the API service’s start-up probe wait up to ten minutes
3. Shared folder of keys A Cloud Storage bucket per instance through Cloud Storage FUSE, mounted with user and group 1654, files 600 and folders 700. It has no file locking, and the last write wins (read). The keys are new files each time, and forge-kek.key is made once by the first instance, which is the reason for starting with one
4. Sticky sessions, WebSockets, long requests Cluster route: a GCPBackendPolicy gives the backend a 3600-second timeout and a generated-cookie session affinity; WebSockets need no setting (read). Serverless route: the load balancer’s own affinity does not apply to serverless endpoint groups, and their timeout is a fixed 60 minutes (read); Cloud Run’s affinity does the work
5. Cache over TLS with a password Memorystore for Valkey with token authentication, which cannot be switched off once on, and in-transit encryption (read). The token is Memorystore’s own, copied into Secret Manager in step 1. Its certificates come from an authority of its own, which the API must trust: the module stores that authority, it is mounted at /etc/forge/ca/cache-ca.pem, and SSL_CERT_DIR=/etc/ssl/certs:/etc/forge/ca adds it to the image’s own (Verify, Open item 4)
6. Worker with no way out Cluster route: a NetworkPolicy, enforced by Dataplane V2. Serverless route: the tag and the deny rule above (Verify that nothing gets past it, Open item 5)
7. Forwarded headers The load balancer appends two addresses to X-Forwarded-For, the caller’s and its own (read), and connects from Google’s front-end ranges 35.191.0.0/16 and 130.211.0.0/22. So Proxy__KnownNetworks__0 and __1 are those ranges, Proxy__KnownProxies__0 is the load balancer’s address, and Proxy__ForwardLimit is 2. Whether Cloud Run adds an entry of its own is not documented (Verify with V7, Open item 6)
8. Health route Cluster route: a HealthCheckPolicy on /api/health. Serverless route: serverless endpoint groups have no health checks (read); Cloud Run’s own start-up probe checks the route

TLS to Cloud SQL is checked against the instance’s own certificate authority with SSL Mode=VerifyCA, not VerifyFull: connected to by its private address, the server’s certificate does not name that address, and Google gives it DNS names to check only with Private Service Connect (Open item R7, answered by reading). With an authority that belongs to this one instance, checking the authority is what proves the server.

The Three Modes on Google Cloud

  • Self-hosted: the customer applies either route in its own project with one instance.
  • Managed, shared: DigitalPrez applies the cluster route with one instance, shared.
  • Managed, dedicated: one instance per customer on the same cluster, each with its own namespace, Cloud SQL instance, cache, bucket and secrets. Removing an instance does not remove the cluster: the cluster is made with the first instance and its deletion protection stops a plan that would delete it with the last.

Backups, Logs and Patching

  • Database: automated backups and point-in-time recovery. On the Enterprise edition point-in-time recovery reaches back at most 7 days; on Enterprise Plus, 35 (read). Point-in-time recovery always makes a new instance (read). The modules take database_edition per instance; DigitalPrez’s managed instances should use Enterprise Plus.
  • Folder of keys: object versioning on the bucket, and a copy kept apart from the database’s backups.
  • Logs: Cloud Logging collects what the containers write. The API writes plain text lines, not JSON, so Cloud Logging gives them no severity of their own. Entries are kept 30 days in the _Default bucket (read).
  • Patching: the images on the patch clock; Cloud SQL minor versions in its maintenance window; GKE Autopilot upgrades the cluster and nodes on its release channel.

Taking an Instance, or Everything, Down

The modules guard what must not be lost by accident. VALIDATE.md, step G20, has the commands.

  • Deletion protection is on for the cluster, each database server, and on the serverless route the Cloud Run services and the command job. Apply once with deletion_protection = false, and only then destroy or take the instance out of instances.
  • The Cloud KMS key cannot be deleted and the modules refuse to destroy it: take it out of the state first (“The key service”), then destroy its versions by hand. A version is billed until its destruction, which waits 30 days by default.
  • The bucket of the folder of keys must be emptied first, every version of every object. After that, the keys of that instance exist nowhere.
  • The database’s user and database are only dropped from the state, and the peering to Google’s services is taken off the network, so that the destroy can finish (the provider’s deletion_policy).
  • On the cluster route uninstall the chart first, so that GKE removes the load balancer it made from the Gateway.

Assured Workloads

The FedRAMP High data boundary lists Cloud Run, Cloud SQL, Memorystore for Valkey, Cloud KMS, Secret Manager, Artifact Registry and Filestore (read, the first part of a long page). GKE and the global external load balancer were not checked (Open item 9).

The Platform Console

What is the same on every cloud is in ../README.md, “The platform console and the first operator”. On Google Cloud:

  • Mode. Set platform_mode = "managed" on DigitalPrez’s own projects; it is self-hosted by default, for a customer’s.

  • The console’s host. Each instance’s console is at ops.<domain> unless its console_host names another ("" for none). It has its own Google-managed certificate and DNS authorization, and its own entry in the instance’s certificate map. Its A record points at the same address as the workspace’s.

  • The first operator’s password, on either route. The folder of keys is the instance’s bucket, so the file is read straight from it with your own Google sign-in, on screen only. Never redirect it to a file:

    Terminal window
    B=$(tofu output -json keys_buckets | jq -r --arg i "$I" '.[$i]')
    gcloud storage cat "gs://$B/first-operator-password.txt"
    # Sign in at https://ops.<domain>: the console asks for a password of your own and an authenticator app. Then:
    gcloud storage rm --all-versions "gs://$B/first-operator-password.txt"

    The bucket keeps object versions, so --all-versions is needed to leave no older copy. Soft delete still keeps a restorable copy for seven days by default.

  • The API’s commands, operator reset and check-engine. Cluster route: kubectl -n "forge-$I" exec deploy/forge-api -c api -- dotnet NetBlueprint.Registry.Api.dll operator reset <username>, or ... check-engine. Serverless route: Cloud Run has no way into a running instance, so each instance has a job, <name>-<instance>-api-command, that runs the API’s image with the API’s settings, secrets, bucket and network, check-engine by default:

    Terminal window
    JOB=$(tofu output -json api_command_jobs | jq -r --arg i "$I" '.[$i]')
    gcloud run jobs execute "$JOB" --region="$(tofu output -raw region)" --wait --args=operator,reset,<username>
    # Without --args it runs check-engine. A failed check shows as a failed execution.

    --args replaces the job’s arguments for that run only, and an override needs roles/run.developer (read). The job never retries, so a reset never writes a second password behind your back. A check-engine --report file is lost unless it is written under /var/lib/forge/keys. After operator reset, read the new first password from the bucket as above.

The Key Service

The key that wraps every organization’s data key (the KEK) is in Cloud KMS (docs/architecture/key-management.md, “Google Cloud KMS”).

  • One key per instance, in a key ring of the platform’s: purpose encrypt and decrypt, protection level HSM unless kms_protection_level = "SOFTWARE", rotated every 90 days. The API names the key without a version (tofu output kms_keys), and decrypt finds the right version itself. Never disable an older version: nothing rewraps the data keys it wrapped.
  • Names are never reused. Key rings and keys cannot be deleted in Google Cloud, only their versions destroyed. So the ring is <name>-kek-<8 random hex> and each key <name>-<instance>-<8 random hex>, the random part made once and kept in the state. Each key has prevent_destroy, so a plan that would destroy it is refused: taking the instance out of instances, setting key_service = false, or changing the protection level. To remove an instance, first tofu state rm 'module.instance["<instance>"].google_kms_crypto_key.kek[0]', then destroy the key’s versions by hand once nothing needs them; until then they stay billed.
  • The API may use it and nothing more: roles/cloudkms.cryptoKeyEncrypterDecrypter on that one key. Cluster route: the Kubernetes service account forge-api in forge-<instance>, as for the bucket. Serverless route: the API service’s account, which the command job shares; both wait for the role before they start.
  • Settings: Encryption__Kek=gcp-kms and Encryption__KmsKey=projects/<p>/locations/<l>/keyRings/<r>/cryptoKeys/<k>, in helm_values, the API service and the command job.
  • The live test, once, from a machine with that role: set FORGE_LIVE_GCP_KMS_KEY_NAME to the key’s name from kms_keys and run dotnet test --filter CloudKeyManagementTests in api/.
  • An instance that used the key file before. Move it with one API replica: during a rollout, a replica still on the file cannot open a data key a new one wrapped under Cloud KMS. Apply; on the cluster route write the values file again and run helm upgrade (on Cloud Run the apply rolls out the new revision). The API reads forge-kek.key as an earlier KEK until the background re-encryption has rewrapped every data key (its log says how many). Then move the file out of the bucket with --all-versions to a safe place offline. Do not destroy it: a database backup or point-in-time restore from before the move needs it.
  • With key_service = false nothing is made, the Cloud KMS API is not switched on, and the key file stays in the bucket.
  • A customer’s own key for one organization (O-26) is a setting an operator adds afterwards (Encryption__CustomerKeys); the customer grants the API’s account the same role on their key. The modules do not make it.

Placeholders

  • K1, the key-encryption key in Cloud KMS. Written: “The key service” above.
  • K2, sign-in methods. Passwords, passkeys, the authenticator app and each organization’s own single sign-on (OpenID Connect or SAML 2.0) need no setting.
    • Passkeys are bound to the instance’s host name: moving an instance to another host name leaves its people’s passkeys behind.

    • Microsoft, Google and Apple accounts, self sign-up, and the operators’ single sign-on and breach check are optional, and are variables of the modules on both routes: sign_in, operator_sign_on and breach_check on the instance, and the secrets in instance_secrets, from a secrets.tfvars of your own, copied from secrets.tfvars.example. ../README.md, “Sign-in registrations and the operators’ single sign-on”, describes them; tofu output registration_addresses gives the addresses to register with each provider. A plan refuses half a registration, self sign-up on a self-hosted platform, and an entry of instance_secrets that names no instance.

    • Where the secrets are. In Secret Manager, in the instance’s region, each there only when it is set. On both routes they are keys of the one JSON secret <name>-<instance>-settings, beside the four it always has; the cluster route reads that one. On Cloud Run each is also a secret of its own, as every secret setting is there, and the API reads those: <name>-<instance>-microsoft-client-secret, -google-client-secret, -apple-private-key and -operator-sign-on-client-secret. A version holds up to 64 KiB (Secret Manager’s quotas, read), far more than Apple’s key.

    • After a change, on the cluster route. A pod reads its settings when it starts, so the secret goes into the cluster again and the release is upgraded with the new values:

      Terminal window
      tofu apply -var-file=my.tfvars -var-file=secrets.tfvars
      gcloud secrets versions access latest --secret="forge-$I-settings" \
      | jq --arg n "forge-settings" '{apiVersion:"v1", kind:"Secret", metadata:{name:$n}, stringData:.}' \
      | kubectl -n "forge-$I" replace -f -
      tofu output -json helm_values | jq -r --arg i "$I" '.[$i]' > "$I.values.yaml"
      # Add --set api.replicas=2 if you had raised it by hand: the file is written afresh.
      helm upgrade forge ../../helm/netblueprint-forge -n "forge-$I" -f ../../helm/netblueprint-forge/values-gcp.yaml -f "$I.values.yaml"
      # When only a secret changed, nothing in the release did, and the pods must be told:
      kubectl -n "forge-$I" rollout restart deploy/forge-api
    • After a change, on Cloud Run. The apply does it. The API service and the command job name each secret at a fixed version, so a new id and a new value of a secret alike make a new revision, which Cloud Run rolls out.

    • Apple’s key is several lines. On the cluster route it travels as it is. On Cloud Run the value of a secret becomes an environment variable, and Google’s pages do not say that line breaks survive that (Verify, Open item R17). If they do not, give the key in secrets.tfvars on one line with each line break written as \\n, which the API reads too.

  • K3, platform operators. Written: “The platform console” above. The operators’ single sign-on and breach check are settings of K2.
  • K4, AI vendors. Placeholder. Expected: the settings of the instance’s own AI account, and the addresses the API must reach through Cloud NAT.

Open Items and Risks

# Item Status Where
R1 Nothing has been applied or run Open Everything
R2 The first administrator when sample data is off: the API’s set-up command makes the organization and prints the administrator’s invitation link (help, Deploying, Settings). It ran in a container under Compose on 2026-11-23 (../compose/README.md), not yet on this route Verify After step 3 of either route
R3 Whether the postgres user has BYPASSRLS Verify Need 1
R4 That SSL_CERT_DIR with two folders adds Memorystore’s authority for the API, and that the cache’s certificate names the address the API connects to Verify Need 5
R5 That a deny-all egress rule on the worker’s tag leaves it no way out, the metadata server included Verify Need 6
R6 Whether Cloud Run adds an entry to X-Forwarded-For Verify Need 7
R7 VerifyFull against Cloud SQL: answered by reading. With an authority of the instance’s own, Google gives a server certificate DNS names to check only with Private Service Connect, and these modules use private services access. VerifyCA stays Accepted: the authority belongs to this one instance TLS to Cloud SQL
R8 Memorystore’s own page on supported environments still names a Serverless VPC Access connector for Cloud Run and not direct VPC egress (read) Verify Serverless route
R9 Assured Workloads, read 2026-11-22 (the first part of a long page): for FedRAMP High, GKE is listed, and of the load balancers only the regional ones. An instance inside that boundary would need a regional external Application Load Balancer, which the modules and values-gcp.yaml do not make Open Assured Workloads
R10 Binary Authorization is not switched on Open Build and push
R11 Google Cloud Marketplace runs Terraform modules through Infrastructure Manager, on Terraform 1.5.7 in its free tier (read); these modules ask for 1.10 or later Open: matters only when the product is listed Decision 2
R12 Cloud Run has no read-only file system and no capability settings Accepted: the lighter route, by the owner’s decision 1 Serverless route
R13 The application’s script was not compressed on the first load (default A) Closed 2026-11-22: the API sends the Brotli or gzip copy the build writes; the workspace’s first load is about 187 KB and the console’s 153 KB, against 219 KB and 178 KB behind nginx ../README.md, default A
R16 The console on Google Cloud: that the load balancer passes the browser’s host name to the API unchanged, and that the command job reaches the worker’s internal address through the VPC (Google’s ingress page counts VPC networks as internal but does not name jobs) Verify serverless/load_balancer.tf, serverless/run.tf
R17 That Cloud Run gives the API a secret’s value with its line breaks, as Apple’s key has. Neither its page on secrets nor the one on environment variables says (read). VALIDATE.md, S2 on Cloud Run, shows it: Apple is listed only when the API has the key, and S4 proves the key is whole Verify Placeholders, K2
R15 The cache’s token: that the default user gets one, that the gcloud command in step 1 gives it, and the engine version name VALKEY_9_1, which the provider’s page does not list Verify Step 1, modules/instance/cache.tf

Sources

Read on 2026-11-22. “Read” means the page itself was fetched and read; “search” means seen only in search results. All are under docs.cloud.google.com unless named.

Source What It Gives How It Was Read
/sql/docs/postgres/db-versions, /sql/docs/postgres/release-notes, /sql/docs/postgres/editions-intro PostgreSQL 18 the default, 18.6, generally available 2025-11-20; editions Read
/sql/docs/postgres/users, /sql/docs/postgres/create-manage-users The postgres user’s attributes Read
/sql/docs/postgres/backup-recovery/backup-options, …/pitr Backups and point-in-time recovery by edition Read
/memorystore/docs/valkey/supported-versions, release-notes, product-overview, networking, manage-basic-auth, about-in-transit-encryption, supported-commands, supported-environments Valkey versions, cluster mode disabled, Private Service Connect, tokens, TLS, commands Read
/run/docs/triggering/websockets, /run/docs/configuring/request-timeout, session-affinity, billing-settings, min-instances, vpc-direct-vpc WebSockets, 3600 s, affinity, billing, egress Read
/run/docs/securing/ingress, private-networking, managing-access, /run/docs/authenticating/service-to-service Ingress settings, reaching an internal service, the invoker check Read
/run/docs/configuring/services/cloud-storage-volume-mounts, nfs-volume-mounts, secrets Volumes and secrets Read
/run/docs/about-execution-environments, /run/docs/container-contract Second generation; a writable, in-memory file system Read
/kubernetes-engine/docs/release-schedule, /kubernetes-engine/docs/concepts/autopilot-security GKE versions; what Autopilot allows Read
/load-balancing/docs/https, /load-balancing/docs/negs/serverless-neg-concepts X-Forwarded-For, serverless endpoint groups Read
/certificate-manager/docs/overview, /armor/docs/cloud-armor-overview Certificates, Cloud Armor Read
/kms/docs/key-management-service, /kms/docs/reference/permissions-and-roles Protection levels, roles Read
The google provider’s pages for google_kms_key_ring and google_kms_crypto_key, and its source A destroyed ring is only dropped from the state; a destroyed key’s versions are destroyed; the protection level cannot change Read by the module writer, through a fetch tool’s summaries
Google’s list of products supported by Workload Identity Federation Cloud KMS, with no known limitations Read by the module writer, through a fetch tool’s summaries
/artifact-analysis/docs/container-scanning-overview, /binary-authorization/docs/run/overview Scanning, Binary Authorization Read
/deployment-manager/docs/deprecations, /infrastructure-manager/docs/terraform-version-deprecation Deployment Manager’s end; Infrastructure Manager’s Terraform versions Read
/assured-workloads/docs/supported-products The FedRAMP High boundary Read, the first part
cloud.google.com blog, “Cloud Run now supports HTTP/gRPC server streaming” Server-sent events on Cloud Run Search
Secret Manager’s quotas and its SecretPayload reference; Cloud Run’s pages on secrets for services and on environment variables A secret version holds up to 64 KiB. Cloud Run reads a secret’s value before it starts an instance; a variable may be 32 Kb. Nothing on line breaks in a value (Open item R17) Read by the module writer on 2026-11-22, as the fetch tool extracted the page; the addresses were not recorded