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.ioDNS 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.iohas no CAA record, so Google managed certificates are not blocked. - Email for
finance.assistant@finmatch.iouses the root domain's MX, SPF, DKIM and DMARC records. Never touch those as part of hostname work.
| Hostname | A record | Routed by URL map | On a certificate | Status |
|---|---|---|---|---|
| admin.finmatch.io | 34.49.60.23 | * (default) | v3, core | Live |
| finmatch-admin.finmatch.io | 34.49.60.23 | * (default) | core | Live (alias of admin) |
| login.finmatch.io | 34.49.60.23 | login-matcher | v3, core | Live |
| partner.finmatch.io | 34.49.60.23 | partner-matcher | partner-v2 | Live (partner portal) |
| api.finmatch.io | 34.49.60.23 | api-matcher | v3, core | Live (Partner API) |
| docs.finmatch.io | 34.49.60.23 | docs-matcher | v3, core | Live |
| lenders.finmatch.io | 34.49.60.23 | lenders-matcher | v3, core | Live |
| developer.finmatch.io | 34.49.60.23 | developer-matcher | v3 only | Retiring: hard-killed, delete A record |
| developers.finmatch.io | none | developers-matcher | none | Retiring: dead host rule |
| finance-assistant.finmatch.io | 34.49.60.23 | none (falls to *) | none | Retiring: delete A record |
| sandbox-api.finmatch.io | none | none | none | Not live (named in openapi.yaml only) |
| pending-setup.finmatch.io | none | none | none | Placeholder value in code, never a host |
| status.finmatch.io | none | none | none | Not 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.
| Certificate | Domains | State (2 Dec 2026) |
|---|---|---|
finmatch-complete-ssl-v3 | admin, developer, login, api, lenders, docs | ACTIVE, expires 22 Feb 2027. To be detached and deleted (it contains the retiring developer) |
finmatch-core-ssl | admin, finmatch-admin, login, api, docs, lenders | Created 2 Dec 2026, provisioning. Becomes first once ACTIVE |
finmatch-partner-ssl-v2 | partner | Created 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)
- Done 2 Dec. Create
coreandpartner-v2. Attach them behind v3 (v3, partner-v2, core) so v3 keeps serving while they provision. - Once both are
ACTIVE, reorder tocore, partner-v2, v3, then delete the nine failed certificates. - After about a day with
coreserving cleanly, detach v3 (core, partner-v2) and delete it. From then on no certificate holdsdeveloper, so its DNS can go without risking a renewal. - Remove the
developeranddevelopershost rules from the URL map (export the live map first; see Retiring a hostname). Delete the A records fordeveloper.finmatch.ioandfinance-assistant.finmatch.ioin 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 rule | Serves |
|---|---|
partner.finmatch.io | bucket finmatch-partner (/ → /login/), /auth-api/* → auth-api-backend |
login.finmatch.io | bucket finmatch-login |
api.finmatch.io | bucket finmatch-developer; /api/*, /v1/*, /v2/*, /health → partner-api-backend |
docs.finmatch.io | bucket finmatch-developer, rewritten under /docs/ |
lenders.finmatch.io | bucket 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 byauth-apigetmerchantconfig,-staging,-testingand thegetMerchantConfig/getmerchantconfig-stagingfunctionsmonitor,analyticsfinance-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.
- Decide what the host serves and add it to the DNS table above.
- DNS: add an A record
→ 34.49.60.23in GoDaddy. No AAAA record. Confirm withdig +short <host>. - URL map: add the host rule and path matcher to
platform/load-balancer-url-map.yaml, then apply it withgcloud compute url-maps import. Merging the PR alone does not deploy it. - 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-proxyin the same session, keeping the full list. An unattached certificate never provisions. Wait forACTIVE. - Verify:
openssl s_client -connect <host>:443 -servername <host>shows the host in the certificate's SAN list. Load the page in Safari. - Monitor: add an uptime check for the host.
Retiring a hostname
- 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. - Check
digfor MX, TXT, DKIM and DMARC on the host. Delete only the A record; leave mail records alone. - Remove the host from every certificate before deleting DNS, by attaching replacement certificates without it. Otherwise renewal of a shared certificate fails.
- 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).yamland 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. - Delete the A record in GoDaddy. Remove its uptime check.