Skip to main content

Blueprint · Reference architecture

Cloud Health Office on Google Cloud: production reference architecture

How a production deployment holding real member data should be built on Google Cloud: environments, network, identity, data, runtime, operations and compliance. Each component is marked with what exists in the repository today and what is scoped per engagement.

Environments

Three environments, never shared

Demonstration, sandbox and production are separate deployments with separate keys and data. Nothing in production trusts anything from the other two.

EnvironmentPurposeDataToken signingWho can reach it
DemonstrationGuided demosSynthetic onlyDevelopment key (refused on Production hosts)Approved people, through Cloudflare Access
SandboxHands-on evaluationSynthetic onlyReal keys; Production hostsRegistered evaluators, rate-limited
ProductionA health plan's operationsReal member dataReal keys in a key management service; Production hostsThe plan's staff, partners and FHIR apps, over private and authenticated paths

Architecture

One project per plan, private by default

Each health plan's production runs in its own Google Cloud project, whether the plan operates it or Aurelianware does. That keeps the tenant dedicated in fact, not only in configuration.

Components

What each layer uses, and its status today

In repository implemented in code or infrastructure code Configuration supported; set at deployment Scoped work built per engagement

Foundation and network

ComponentProduction designStatus
Project and policiesOne project per plan; organization policies for no public IPs, approved regions and required CMEK; signed Google Cloud BAAScoped work Terraform today builds the demonstration project
ClusterPrivate regional GKE cluster across three zones, private control plane, signed images onlyScoped work demonstration uses a single-zone cluster
InboundHTTPS load balancer with Cloud Armor (or Cloudflare in front) as the only public entryScoped work
Partner connectivitySite-to-site VPN or Interconnect to the plan's core; managed SFTP for X12; NAT egress allowlistScoped work per plan
Container imagesArtifact Registry, keyless publishing from GitHub ActionsIn repository

Identity and access

ComponentProduction designStatus
Tenant isolationTenant taken only from the validated token; conflicting tenant headers refused; queries filtered by tenantIn repository
Token signingtoken-service issues asymmetrically signed tokens with the key held in a key management service; symmetric and file keys refused in ProductionIn repository Cloud KMS (HSM key, opt-in Terraform) and Azure Key Vault · configure
Service identityEach service proves its Kubernetes identity to token-service to obtain its tokenIn repository projected service-account tokens for all service tokens · Configuration per-service accounts in the manifests · configure
Staff sign-inThe plan's identity provider, exchanged for platform tokens with tenant membership and invitationsIn repository for Entra ID · Scoped work other providers
External applicationsSMART on FHIR for member and provider apps under CMS-0057-FIn repository see the capability ledger for scope
Cloud accessWorkload Identity for Cloud Storage, KMS and secrets; no static cloud keysIn repository for Cloud Storage · Configuration elsewhere

Data

ComponentProduction designStatus
DatabaseManaged MongoDB-compatible service under a BAA, on a private connection, with point-in-time backup and CMEKConfiguration the platform uses the MongoDB driver only
Event streamingGoogle Managed Service for Apache KafkaConfiguration
CacheMemorystore for RedisConfiguration
DocumentsCloud Storage with CMEK, retention policies and legal hold through the document catalogIn repository Cloud Storage provider · Scoped work CMEK and retention in Terraform
SecretsHashiCorp Vault, or Google Secret Manager behind the same secret-provider interfaceIn repository Vault · Scoped work Secret Manager provider

Runtime and operations

ComponentProduction designStatus
ServicesProduction hosts, two or more replicas, autoscaling, disruption budgets, non-root and read-only containersIn repository health endpoints and manifests · Configuration replicas and budgets
Traffic between servicesNetwork policies deny by default; a service mesh encrypts service-to-service trafficScoped work
ObservabilityPHI-safe logs, metrics and alerts; audit logs to a separate logging project; export to the plan's SIEMIn repository PHI-safe logging and runbook · Configuration sinks and alerts
ReleasesDevelopment, staging and production; keyless GitHub Actions deploys with approval gates; blue-green rolloutIn repository keyless deploys · Configuration gates
Backup and recoveryWritten RPO and RTO; backups copied to a second region; a restore drill before go-liveIn repository runbook · Configuration backups

Compliance

What has to be true before real member data

  • A BAA chain: Google Cloud, the managed database provider, and every other service that touches member data.
  • The AI claims examiner: it calls an external model API. It stays off in production unless that data flow is covered by a BAA and approved by the plan.
  • A HIPAA risk analysis and documented administrative, physical and technical safeguards.
  • A penetration test before go-live, an incident response plan and on-call coverage.
  • The production readiness checklist completed, including a tested restore.
  • SOC 2 Type II as the attestation payer procurement will eventually ask for.

Getting there

The scoped work, in order

  1. Identity on Google Cloud

    Cloud KMS signing and Kubernetes service identity are in the repository. What remains is switching the manifests to Production hosts with a service account and projected token per service. See Tenant Security.

  2. Production foundation

    Terraform for the per-plan project, organization policies, private regional cluster, load balancer and WAF, CMEK and the logging project.

  3. Managed state and hardening

    Managed database, Kafka and Redis on private connections; secret store; network policies and service mesh; restore drill and penetration test.

The repository's Google Cloud notes estimate the production additions at about five to seven engineer-weeks, before plan-specific connectivity and compliance work. Hosting real member data is a decision to make with a committed health plan, not ahead of one.