Skip to main content

Public edge: load balancer, certificates and DNS

Last reviewed 2 Dec 2026, from a read-only Cloud Shell inventory of project finmatch-finance-mkt. Nothing on this page is managed by a workflow. The load balancer, certificates and DNS are all changed by hand, so this page is the only written record of them. Update it in the same PR as any change.

No secrets, API keys or environment-variable values belong on this page.

Why this page exists​

On 2 Dec 2026 a partner invite link (https://partner.finmatch.io/reset/…) showed Safari's "This Connection Is Not Private" warning. DNS and routing for partner.finmatch.io were correct, but the load balancer's only certificate did not list that hostname. A certificate for it had been created but never attached to the load balancer, so it failed and was forgotten. finmatch-admin.finmatch.io had the same gap.

The cause was that there was no record and no checklist. A new hostname needs four things, and only one of them (the URL map) lives in git. See New hostname checklist.

The picture​

Browser ──DNS (GoDaddy, ns69/ns70.domaincontrol.com)──► 34.49.60.23
│
▼
finmatch-admin-https-forwarding (global forwarding rule, :443)
│
▼
finmatch-admin-https-proxy ── TLS: picks a certificate by hostname (SNI)
│
▼
finmatch-admin-urlmap ── host rules → backend buckets / Cloud Run backends

Port 80 goes through finmatch-admin-forwarding-rule → finmatch-admin-http-proxy on the same IP.

There is one load balancer for every public *.finmatch.io host. That is deliberate: one IP, one place to route, one forwarding-rule fee. What we avoid is one certificate for every host (see Certificates).

DNS​

  • finmatch.io DNS is served by GoDaddy (ns69.domaincontrol.com, ns70.domaincontrol.com). The domain may be registered elsewhere (123-reg), but records are edited in the account that owns those nameservers.
  • There are no Cloud DNS zones in GCP.
  • No host has an AAAA record. finmatch.io has no CAA record, so Google managed certificates are not blocked.
  • Email for finance.assistant@finmatch.io uses the root domain's MX, SPF, DKIM and DMARC records. Never touch those as part of hostname work.
HostnameA recordRouted by URL mapOn a certificateStatus
admin.finmatch.io34.49.60.23* (default)v3, coreLive
finmatch-admin.finmatch.io34.49.60.23* (default)coreLive (alias of admin)
login.finmatch.io34.49.60.23login-matcherv3, coreLive
partner.finmatch.io34.49.60.23partner-matcherpartner-v2Live (partner portal)
api.finmatch.io34.49.60.23api-matcherv3, coreLive (Partner API)
docs.finmatch.io34.49.60.23docs-matcherv3, coreLive
lenders.finmatch.io34.49.60.23lenders-matcherv3, coreLive
developer.finmatch.io34.49.60.23developer-matcherv3 onlyRetiring: hard-killed, delete A record
developers.finmatch.iononedevelopers-matchernoneRetiring: dead host rule
finance-assistant.finmatch.io34.49.60.23none (falls to *)noneRetiring: delete A record
sandbox-api.finmatch.iononenonenoneNot live (named in openapi.yaml only)
pending-setup.finmatch.iononenonenonePlaceholder value in code, never a host
status.finmatch.iononenonenoneNot live

finance-assistant.finmatch.io was checked on 2 Dec 2026 before retirement. It has an A record only, with no mail records. There were 0 references in the repo, in gs://finmatch-secrets/merchants.json, in gs://finmatch-{p,s,t}/configs/** and in gs://finmatch-secrets/partner-webhooks.json. The repo's Cloudflare worker calls Cloud Run directly.

Certificates​

All certificates are Google-managed and attached to finmatch-admin-https-proxy. The proxy serves the certificate whose domains match the requested hostname. A client that sends no hostname gets the first certificate in the list, so the first one must always be ACTIVE.

Rule: one certificate per area, never one certificate for everything. A managed certificate only provisions or renews if every domain on it resolves to this load balancer. One retired hostname on a shared certificate can therefore take down every host on it at renewal.

CertificateDomainsState (2 Dec 2026)
finmatch-complete-ssl-v3admin, developer, login, api, lenders, docsACTIVE, expires 22 Feb 2027. To be detached and deleted (it contains the retiring developer)
finmatch-core-ssladmin, finmatch-admin, login, api, docs, lendersCreated 2 Dec 2026, provisioning. Becomes first once ACTIVE
finmatch-partner-ssl-v2partnerCreated 2 Dec 2026, provisioning

Nine older certificates are in PROVISIONING_FAILED_PERMANENTLY and attached to nothing: finance-assistant-https, finmatch-admin-multi-domain-ssl, finmatch-admin-ssl, finmatch-complete-ssl, finmatch-complete-ssl-v2, finmatch-lenders-ssl, finmatch-partner-ssl, finmatch-platform-singular-ssl, finmatch-platform-ssl. Delete them once the new certificates are ACTIVE.

Certificate change plan (Dec 2026)​

  1. Done 2 Dec. Create core and partner-v2. Attach them behind v3 (v3, partner-v2, core) so v3 keeps serving while they provision.
  2. Once both are ACTIVE, reorder to core, partner-v2, v3, then delete the nine failed certificates.
  3. After about a day with core serving cleanly, detach v3 (core, partner-v2) and delete it. From then on no certificate holds developer, so its DNS can go without risking a renewal.
  4. Remove the developer and developers host rules from the URL map (export the live map first; see Retiring a hostname). Delete the A records for developer.finmatch.io and finance-assistant.finmatch.io in GoDaddy.

URL map​

Source in git: platform/load-balancer-url-map.yaml. There is no workflow that applies it. Changes go live only when someone runs gcloud compute url-maps import finmatch-admin-urlmap --global --source=platform/load-balancer-url-map.yaml. On 2 Dec 2026 the live URL map matched git.

Host ruleServes
partner.finmatch.iobucket finmatch-partner (/ → /login/), /auth-api/* → auth-api-backend
login.finmatch.iobucket finmatch-login
api.finmatch.iobucket finmatch-developer; /api/*, /v1/*, /v2/*, /health → partner-api-backend
docs.finmatch.iobucket finmatch-developer, rewritten under /docs/
lenders.finmatch.iobucket finmatch-developer (/ → /lenders/index.html)
* (admin and anything else)bucket finmatch-admin; /auth-api/* → auth-api-backend

Backend buckets (all with Cloud CDN): finmatch-admin-backend-bucket, finmatch-developer-backend, finmatch-login-backend, finmatch-partner-backend.

Backend services: auth-api-backend, partner-api-backend, finance-assistant-backend. The last is not referenced by the URL map. None has a Cloud Armor policy.

Cloud Run​

All services are in europe-west2 with ingress all. The admin dashboard calls the *.run.app URLs directly, and the storefront SDK calls Cloud Functions and Cloud Run URLs directly, rather than going through the load balancer. So edge controls on the load balancer do not protect these APIs; their own auth checks do.

Live services on 2 Dec 2026: analytics, auth, auth-api, contacts-api, credit-products-api, finance-assistant, finmatch-partner-api, finmatch-stripe-api, getmerchantconfig, getmerchantconfig-staging, getmerchantconfig-testing, mcs-check, merchant-api, monitor, partner-webhook-test-receiver, submit-finance-application.

Cloud Functions (gen 2): getMerchantConfig, monitor, and getmerchantconfig-staging (no state reported).

Cleanup candidates (not yet decided; remove nothing without a check)​

  • auth, which may be superseded by auth-api
  • getmerchantconfig, -staging, -testing and the getMerchantConfig / getmerchantconfig-staging functions
  • monitor, analytics
  • finance-assistant-backend (backend service with no URL map reference)

Monitoring​

There are no Cloud Monitoring uptime checks (as of 2 Dec 2026). Planned: HTTPS and certificate checks on every live hostname above, plus the Cloud Run health endpoints, with email alerts. A public status page is deferred.

New hostname checklist​

Do every step, in this order, in one change. Tick it off in the PR.

  1. Decide what the host serves and add it to the DNS table above.
  2. DNS: add an A record → 34.49.60.23 in GoDaddy. No AAAA record. Confirm with dig +short <host>.
  3. URL map: add the host rule and path matcher to platform/load-balancer-url-map.yaml, then apply it with gcloud compute url-maps import. Merging the PR alone does not deploy it.
  4. Certificate: create a managed certificate for the host (or add the host to its area's certificate by creating a replacement). Attach it to finmatch-admin-https-proxy in the same session, keeping the full list. An unattached certificate never provisions. Wait for ACTIVE.
  5. Verify: openssl s_client -connect <host>:443 -servername <host> shows the host in the certificate's SAN list. Load the page in Safari.
  6. Monitor: add an uptime check for the host.

Retiring a hostname​

  1. Search the repo and live config (gs://finmatch-secrets/merchants.json, gs://finmatch-{p,s,t}/configs/**, gs://finmatch-secrets/partner-webhooks.json) for the hostname. Check the live Cloudflare worker in the dashboard as well.
  2. Check dig for MX, TXT, DKIM and DMARC on the host. Delete only the A record; leave mail records alone.
  3. Remove the host from every certificate before deleting DNS, by attaching replacement certificates without it. Otherwise renewal of a shared certificate fails.
  4. Remove its host rule from the URL map. Before applying, back up the live map with gcloud compute url-maps export finmatch-admin-urlmap --global --destination=urlmap-backup-$(date +%F).yaml and diff it against the repo yaml. Import only a yaml that matches the export apart from the intended change, otherwise the import also reverts any live drift.
  5. Delete the A record in GoDaddy. Remove its uptime check.