Choose a Route
Self-Hosted Only
Deploying NetBlueprint Forge
Copyright (c) 1998-2026 DigitalPrez, LLC. All rights reserved.
How the containers run on Amazon Web Services, Microsoft Azure and Google Cloud, for a customer in its own account and for DigitalPrez, LLC’s own managed service. Written 2026-11-22. The cloud guides are aws/README.md, azure/README.md and gcp/README.md; this page is what they share.
Status: The Images Have Run, the Cloud Routes Have Not
Nothing here has been run in a cloud: no cloud account is connected to this work. The images were built and run once, under Docker Compose on the development machine, on 2026-11-23 (compose/README.md, “Status”). The API, the worker and the web front end started against PostgreSQL 18 and Valkey 8, and every check that fits one machine passed after six faults were fixed. On 2026-11-24 five more were fixed and seen in a second run: the layout check works under Compose, the worker cannot reach the API’s port, nginx alone decides who the caller is, the API keeps its key file to its own account, and the clouds’ connection strings make no GSS-API attempt. Two of the fixes change the API image that every route here uses. It now runs on aspnet:10.0-noble-chiseled-extra: the plain chiseled image runs .NET without ICU or time zone data, which left operators’ passwords unnormalized and refused lists by day in a reader’s own zone. And it names its port once. What was checked of the cloud routes, on 2026-11-22:
- The chart in
helm/was linted and rendered with Helm 4.3.2 for each cloud’s values file, with dummy instance values in the shape the modules’helm_valuesoutput gives. It has never been installed. - The six root modules were formatted (
tofu fmt -check) and validated (tofu validate) with OpenTofu 1.13.9 against the providers they pin: aws 6.73.0, azurerm 5.14.0, google 8.12.0, random 3.9.1 and http 3.6.3. That proves the syntax and every argument against the providers’ schemas. It does not prove a plan or an apply, which need a cloud account. What the modules refuse when the sign-in settings cannot work was tried withtofu console, and on Azure and Google Cloud withtofu testagainst mocked providers: each refusal names the instance, and with none of those settings the settings secret and the API’s environment are what they were. node --test tools/testchecks the compose files, the chart and the modules as text, with no tool installed. Every service and version named was checked against the vendor’s current documentation on 2026-11-22; each guide lists its sources and says how each was read. A step that could not be checked carries a Verify note and a row in that guide’s open items.
The first real runs are a procedure of their own: VALIDATE.md and each cloud’s VALIDATE.md walk a first deployment step by step, prove each thing these guides could only describe, and say what a pass looks like.
The Three Modes, One Set of Containers
| Mode | Who Runs It | Where | Instances |
|---|---|---|---|
| Self-hosted | The customer | The customer’s own AWS, Azure or Google Cloud account | One |
| Managed, shared | DigitalPrez, LLC | DigitalPrez’s own accounts | One instance that holds many organizations, kept apart by row-level security and a data key per organization |
| Managed, dedicated | DigitalPrez, LLC | DigitalPrez’s own accounts | One instance per customer, each with its own database, cache and keys |
The owner on 2026-11-22: the managed environments, shared or dedicated, are the same deployment as a customer’s, run on DigitalPrez’s own infrastructure. So the modules have one shape for all three: a platform (the network, and on the cluster route the cluster) and a map of instances on it. A customer’s account has a platform and one instance. DigitalPrez’s has a platform per region and as many instances as it runs.
The Routes
The owner chose on 2026-11-22, one question at a time:
| # | Question | Decision |
|---|---|---|
| 1 | Which container service on each cloud | Both. Managed Kubernetes with the one Helm chart (brief D47) is the main route: Amazon EKS, Azure Kubernetes Service, Google Kubernetes Engine. A serverless route on each cloud is the lighter one for small customers: Amazon ECS on AWS Fargate, Azure Container Apps, Cloud Run |
| 2 | Infrastructure as code | One set of modules in HCL that run on both OpenTofu and Terraform. DigitalPrez runs OpenTofu, for its encrypted state |
| 3 | When the code is written | Everything now: the guides, the chart, the modules of the cluster route, then those of the serverless route |
The single-server route stays as it is: Docker Compose on one virtual machine, compose/ and the runbooks in runbooks/. It is the route for an evaluation or a small installation, and for a government region where only a virtual machine image can be listed.
| Single Server | Cluster Route | Serverless Route | |
|---|---|---|---|
| Files | compose/ |
helm/netblueprint-forge/ and <cloud>/kubernetes/ |
<cloud>/serverless/ |
| Database, cache | Containers on the server | The cloud’s managed PostgreSQL 18 and managed cache | The same |
| Hardening of the design (read-only file system, every capability dropped, a worker with no way out) | All of it | All of it | AWS: all of it. Azure: none of the container settings exist. Google Cloud: no read-only file system |
| More than one API instance | No | Yes | Yes |
| What the operator needs to know | Docker | Kubernetes | The cloud’s console and OpenTofu |
What Every Deployment Must Give the Application
These come from the application itself, not from any cloud. Each guide says how its cloud meets them.
- PostgreSQL 18, reached over TLS, with a login that can create a role. Release 0004 runs
create role forge_app nologin nosuperuser nobypassrls noinheritandgrant forge_app to current_user, and the API acts asforge_appon every connection, which is what holds row-level security. The login therefore needsCREATEROLE. On all three clouds the administrator login of the managed server has it and is not a superuser; under PostgreSQL 16 and later a non-superuser that creates a role may grant it to itself (postgresql.org, “Role Attributes”, read). An instance may also give the API a login of its own that owns nothing: release 0048 makesforge_api(a login with no password, which may onlyset role forge_app), and withConnectionStrings__Migrationsnaming the owner, the owner applies the releases at start andConnectionStrings__Registrynamesforge_api(docs/architecture/DECISIONS.mdO-195). Without it, one login does both, as before. - The database releases run when the API starts. The API applies what has not run, under an advisory lock, and only then opens its port. The first start of a new instance and every start after an update can take minutes, so the start-up check waits for up to ten. Start a new instance with one API replica; scale out once it answers.
- A folder of keys shared by every API instance (
Assistant__KeysPath), on a shared file system: Amazon EFS, Azure Files or a Cloud Storage bucket. It holds the Data Protection keys, which seal the credentials organizations store, and the first operator’s first password. The key that wraps every organization’s data key (the KEK) is in the cloud’s key service, one key per instance (K1 below); only withkey_service = falseis it a file here,forge-kek.key, which the first API instance makes. The folder is a secret of the instance: kept apart from the database and its backups, readable by the API alone, and backed up on its own. - Sticky sessions, WebSockets and long requests at the load balancer. The browser’s live channel (SignalR) negotiates first and falls back to server-sent events and long polling, so every request of one browser must reach the same API instance: a cookie at the load balancer. The Redis-compatible cache carries messages between instances. An assistant’s answer streams for up to 15 minutes, with a keep-alive every 15 seconds, and a WebSocket stays open for up to an hour. Idle timeouts must be above a minute, and request timeouts must not cut a stream.
- A Redis-compatible cache, reached over TLS with a password. The API uses it for the SignalR backplane (publish and subscribe on literal channels), edit locks (Lua scripts on one key) and presence (sorted sets). The connection string is StackExchange.Redis’s:
host:port,password=...,ssl=true,abortConnect=false. - The engine worker on a private address, with no way out. Only the API reaches it, with
X-Worker-Key. It needs no database and no outbound network. - The forwarded-header settings that match the load balancer.
Proxy__KnownNetworks__nnames where the load balancer connects from, andProxy__ForwardLimithow many entries to read. Without them every person looks like the load balancer, and the sign-in limit is shared by everyone. - A health route.
GET /api/healthanswers 200 while the database answers and 503 while it does not. It is the load balancer’s and the readiness check. It is not a liveness check: a database outage must not restart every API instance.
Defaults Chosen in This Work
The owner’s three decisions left these open. Each was chosen as below for the reason given; correct any of them and the guides, the chart and the modules follow.
| # | Default | Why | What It Costs |
|---|---|---|---|
| A | On the cloud routes the API serves the application itself (Web__StaticRoot), and the web container is not used. The API image now carries the built application |
One public container. Sticky sessions then reach the API directly, which a separate nginx tier in front of several API instances would undo. The headers and content security policy are the ones the development machine serves every day. Nothing has to find the API by name | The API compresses nothing as it answers. The build writes a Brotli and a gzip copy beside each text file (app/compress.mjs), and the API sends the copy a browser accepts, so the workspace’s first load is about 187 KB, against 219 KB behind nginx and 726 KB uncompressed, and the console’s (Platform__StaticRoot) 153 KB, against 178 KB and 584 KB (measured 2026-11-22). The copies make the image about 470 KB larger, and about 810 KB with the console’s build. Answers of the API stay uncompressed, sign-in answers above all (api/README.md). Compose keeps nginx, so two front doors are tested |
| B | One database server, one cache and one key store per instance | The brief’s “own database and keys” for a dedicated customer; the forge_app role is per server, not per database |
More servers to pay for and patch than separate databases on a shared server |
| C | The API connects with the managed server’s administrator login | Release 0004 needs CREATEROLE; nothing else in the application does yet |
That login can do more than the API needs. ConnectionStrings__Migrations with forge_api (O-195) takes that away; DigitalPrez’s own cluster has the steps (digitalprez/README.md, “A Login for the API”) |
| D | TLS to the database is verified against the provider’s certificate authority (SSL Mode=VerifyFull and Root Certificate) |
Encryption without verification does not stop a man in the middle inside the network | The authority’s bundle is one more file mounted into the API |
| E | Two API instances and two worker instances once an instance is running; one API instance at first | Either can be replaced without stopping the service | Twice the minimum |
| F | On the cloud routes the worker keeps the default seccomp profile, so the layout check says “not checked”. Under Compose it has a profile of its own and the check works (compose/README.md, “The layout check”, seen 2026-11-24) |
Chromium’s sandbox needs to make a user namespace, and the default profiles of Docker, containerd and CRI-O refuse that without CAP_SYS_ADMIN. The worker never switches its sandbox off. A profile of our own that allows it can be placed on nodes we manage; the chart takes its name (worker.seccompProfile) |
The assistant cannot measure its drawing on the cloud routes until a profile is placed on nodes we manage. Compose’s, in Docker’s format, is not one a Kubernetes node takes as it is. Where it is, the worker runs four checks at once, each about 620 MB of Chrome, and the chart’s and compose.yaml’s worker are sized for that (docs/reviews/load-test.md, section 3.6). The serverless routes keep their worker’s size: the check cannot run there |
| G | Kubernetes clusters with managed nodes: EKS Auto Mode, AKS with automatic node image upgrades, GKE Autopilot | DigitalPrez is a small operator; the cloud patches the nodes | Default F stays: a seccomp profile of our own cannot be placed on nodes the cloud owns. For it, use a cluster with node groups of your own |
| H | Caches: ElastiCache for Valkey with nodes, cluster mode off; Azure Managed Redis with access keys; Memorystore for Valkey, cluster mode off | The simplest each cloud offers that carries publish and subscribe and Lua. Azure has no managed Valkey, and Microsoft Entra sign-in to the cache would need a change to the API | Azure Managed Redis is not in Azure Government; see the Azure guide |
| I | Encryption at rest with each cloud’s own keys, not keys of the customer’s | Every service here encrypts by default | A customer who requires its own keys sets them per service |
Settings an Instance Is Given
The image carries the API’s defaults in appsettings.json, which holds no secret. Every route gives an instance its own settings as environment variables, which override the file (api/README.md, “Where the settings come from”). The development settings file stays out of every image. “Secret” means the value comes from the cloud’s secret store, never from a file in the repository or a value in an image.
| Setting | Value on a Cloud Route | Secret |
|---|---|---|
ASPNETCORE_ENVIRONMENT |
Production |
|
ConnectionStrings__Registry |
Host=<server>;Port=5432;Database=forge;Username=<login>;Password=<password>;SSL Mode=VerifyFull;Root Certificate=/etc/forge/db/db-ca.pem;GSS Encryption Mode=Disable. The last part stops Npgsql trying GSS-API encryption, which the image cannot do (compose/README.md, fault 3). On Azure the authorities are public and no Root Certificate is named; on Google Cloud the mode is VerifyCA (each guide says why) |
Yes |
ConnectionStrings__Migrations |
Optional. The owner’s login, in the same form as ConnectionStrings__Registry; the API uses it only to apply the releases at start. When it is set, ConnectionStrings__Registry names forge_api with a password set outside the releases (O-195) |
Yes |
Auth__SigningKey |
64 hexadecimal characters, generated per instance | Yes |
Auth__PreviousSigningKeys__0, __1, … |
Only while the signing key is being changed: the key before it, whose tokens are accepted until they expire (docs/architecture/DECISIONS.md O-197). Every token names its key (kid), so the new key signs nobody out |
Yes |
ServiceAccounts__KeyHashSecret |
64 hexadecimal characters, generated per instance: service accounts’ API keys are kept only as an HMAC under it, apart from the database (docs/architecture/DECISIONS.md O-104). A new value ends every key made under the old one |
Yes |
Assistant__KeysPath |
/var/lib/forge/keys, the shared file system |
|
Worker__BaseUrl |
The worker’s private address, port 5081 | |
Worker__Key |
Generated per instance; the worker’s WORKER_KEY is the same value |
Yes |
Cache__Redis |
<host>:<port>,password=<password>,ssl=true,abortConnect=false |
Yes |
Cache__Prefix |
forge (the chart’s default). Another only for a deployment that shares its cache server with one more (docs/architecture/DECISIONS.md O-102) |
|
Web__StaticRoot |
/app/wwwroot (default A) |
|
Web__RenderHost |
A second host name the pages the engine builds are served on, such as render.<domain>, apart from the workspace’s so that it holds no session (docs/architecture/DECISIONS.md O-116). It needs its own DNS record and a certificate that covers it, like the console’s name; the chart’s api.renderHost sets it and adds it to the Ingress or Gateway. Empty: none. Everything else works, and the diagram’s note markers and picking an element fall back to a list. The cloud modules do not make the name or the secret yet |
|
Web__RenderSecret |
64 hexadecimal characters, generated per instance, needed with Web__RenderHost: the render host’s ten-minute tickets are signed with it. A new value ends every ticket |
Yes |
Proxy__KnownNetworks__0 (and __1 …) |
Where the load balancer connects from; each guide says | |
Proxy__ForwardLimit |
Entries the load balancer adds; each guide says | |
Seed__Enabled |
false |
|
Encryption__Kek |
aws-kms, azure-key-vault or gcp-kms: the KEK is in the cloud’s key service (docs/architecture/key-management.md). file only with the modules’ key_service = false |
|
Encryption__KmsKey |
The instance’s own key: its ARN on AWS (never an alias), its URL without a version on Azure, its resource name without a version on Google Cloud | |
Encryption__AwsUseFipsEndpoint, Encryption__AzureClientId |
AWS’s FIPS endpoint, for GovCloud; the client id of the identity the API uses on Azure | |
Platform__Mode |
managed on DigitalPrez’s own accounts, self-hosted in a customer’s (DECISIONS.md O-33). The modules’ platform_mode, default self-hosted |
|
Platform__Host |
The console’s own host name, ops.<domain> unless the instance’s console_host says otherwise; empty for no console |
|
Platform__StaticRoot |
/app/console, the console’s own build in the API image, set with Platform__Host |
|
Platform__WorkspaceAddress |
https://<domain>, where an operator with a customer’s support code is sent |
|
Platform__BreachCheck |
on or off; not set for the mode’s default, on when managed and off when self-hosted (DECISIONS.md O-57). The instance’s breach_check |
|
Platform__SingleSignOn__Issuer, __ClientId, __UsernameClaim, __MfaAmr, __MfaAcr |
The operators’ single sign-on through the instance’s own OpenID Connect provider (O-58); none of them set for none. The instance’s operator_sign_on |
|
Platform__SingleSignOn__ClientSecret |
That registration’s client secret; none for a public client. instance_secrets |
Yes |
SignIn__Microsoft__ClientId, SignIn__Google__ClientId, SignIn__Apple__ClientId, __TeamId, __KeyId |
The instance’s own registrations with Microsoft, Google and Apple (O-48), each optional. The instance’s sign_in |
|
SignIn__Microsoft__ClientSecret, SignIn__Google__ClientSecret, SignIn__Apple__PrivateKey |
The two client secrets, and the text of Apple’s .p8 key. instance_secrets |
Yes |
SignIn__SelfSignUp |
true on the shared managed instance only (O-47). The modules refuse it unless platform_mode is managed |
|
SignIn__InvitationDays |
How many days an invitation link lasts, 1 to 30; not set for the API’s own 7 | |
Assistant__Included__Vendor, __Model, __ApiKey |
The instance’s own AI account, or none. Placeholder K4 | The key |
Email__SesRegion |
The AWS Region whose SES sends the instance’s e-mail, such as us-west-1 (docs/architecture/DECISIONS.md O-165). An operator administrator can set the way of sending (Amazon SES or SMTP) in the platform console instead, under E-Mail, Outgoing E-Mail (O-231): once set there it wins, and these Email__* settings are the fallback while nothing is set there. Neither set: the instance sends none, each message is written to the log, invitations show their link as before, and signing up with an e-mail address and password resets are not offered |
|
Email__FromAddress, Email__FromName |
The address messages come from, at a domain verified with SES in that Region, and the name beside it (NetBlueprint Forge unless set) |
|
Email__ReplyTo, Email__SupportAddress, Email__OperatorAddresses__0 (and __1 …) |
Where an answer goes when the from address reads no mail; the address every message and the sign-in page give for questions; who receives the instance’s own alerts. Each optional | |
Support__NotifyAddresses__0 (and __1 …), Support__ResponseText |
Who is told by e-mail of a new support request or a demo visitor’s message (docs/architecture/DECISIONS.md O-174); not set, the operator addresses above, and nobody when those are empty too: the console’s Support area lists every request either way. And one sentence the Support page shows about when an answer comes; not set, nothing is promised |
|
Email__SesAccessKey, Email__SesSecretKey |
The access key and secret of an IAM user that may send as the from address and read the account’s suppression list. Neither set where the workload has a role in AWS, which the SDK finds | Yes |
The worker is given WORKER_HOST=0.0.0.0, WORKER_PORT=5081 and WORKER_KEY.
When sample data is off, the API’s set-up command makes the organization and prints its first administrator’s invitation link (deploy/compose/README.md, known gaps). It ran as written under Compose on 2026-11-23 (compose/README.md); on each cloud’s routes it is still open item R2 of that cloud’s guide.
The Platform Console and the First Operator
Since release 0011 (DECISIONS.md O-29 to O-33) operators have accounts of their own and a console on a host name of its own, by default ops.<domain>. On every route:
- Two host names, one API. The console’s host gets its own DNS record, pointing at the same load balancer as the workspace’s, and is on the same certificate. The API tells the two apart and serves the console’s own build (
/app/consolein the API image) on its host only. - The first operator. At the first start the API makes
operator, an operator administrator, and writes its first password once tofirst-operator-password.txtin the folder of keys. Read it without it reaching a log, sign in on the console’s host (the console asks for a password of your own and an authenticator app before it opens), then delete the file. Each guide says how on its routes. - The way back in. When every operator is locked out,
dotnet NetBlueprint.Registry.Api.dll operator reset <username>writes a new first password to the same file, good for 24 hours. Each guide says how to run it where there is no shell. - Who the operators are. On DigitalPrez’s accounts (
managed) they are DigitalPrez’s people; in a customer’s own account (self-hosted) they are the customer’s IT, and DigitalPrez has no account and no way in (O-33).
Sign-In Registrations and the Operators’ Single Sign-On
All of it is optional. An instance given none of it still has passwords, passkeys, the authenticator app and each organization’s own single sign-on, and its plan is the same as before.
- Microsoft, Google and Apple accounts (DECISIONS.md O-48). The instance’s own registration with each provider: DigitalPrez’s on the managed instances, the customer’s on a self-hosted one.
docs/architecture/sign-in-registrations.mdsays what to register with each. A provider is offered only when everything of its registration is given, so the modules refuse half of one at plan time. - Self sign-up (O-47) lets anyone create an organization: the shared managed instance only. The modules refuse it unless
platform_modeismanaged; never set it on a dedicated instance. - The operators’ single sign-on (O-58) is the instance’s own OpenID Connect provider, for the console. A sign-in is taken only for an operator who already has an account, and only when the provider’s token proves a second factor (
mfa_amr,mfa_acr). With it set, only operator administrators keep the password and authenticator app, as the way in when the provider is down. - The breach check (O-57) asks Have I Been Pwned about an operator’s new password, sending the first five characters of its SHA-1 hash.
breach_checkison,off, or left out for the mode’s default: on when managed, off when self-hosted. The list bundled in the API is used either way.
What is not secret goes on the instance, in the file of variables you already have:
instances = { acme = { domain = "acme.example.com" # ... the rest of the instance, as before
sign_in = { microsoft_client_id = "00000000-0000-0000-0000-000000000000" google_client_id = "example.apps.googleusercontent.com" apple_client_id = "com.example.forge" # the Services ID apple_team_id = "ABCDE12345" apple_key_id = "ABCDE12345" self_sign_up = false # true on the shared managed instance only invitation_days = 7 # 1 to 30 } operator_sign_on = { issuer = "https://login.example.com" client_id = "forge-operators" # username_claim = "preferred_username" # mfa_amr = "mfa otp hwk swk sc" # mfa_acr = "" } breach_check = "on" }}The secrets go in a file of their own, secrets.tfvars, copied from each root’s secrets.tfvars.example. deploy/.gitignore keeps it out of the repository. Its keys are the instances’ keys:
instance_secrets = { acme = { microsoft_client_secret = "<the secret's value>" google_client_secret = "<the client secret>" apple_private_key = <<-EOT <the text of the .p8 file, every line of it> EOT operator_sign_on_client_secret = "<the client secret>" # leave out for a public client }}tofu apply -var-file=my.tfvars -var-file=secrets.tfvars- Where they end up. The ids become settings of the API. The secrets are added to the instance’s own entry in the cloud’s secret store, beside its connection strings, and the API is given them from there. Like every secret the modules handle, they are also in the state; keep the state as the guides say, and
secrets.tfvarsno less carefully. Pass the second file on every apply from then on: an apply without it takes the secrets away again. The plan refuses that for Microsoft, Google and Apple while their ids are set. It cannot for the operators’ client secret, which a public client does not have. - The addresses to register.
tofu output registration_addressesgives each instance’s two:https://<domain>/api/auth/accounts/callback, the one return address for Microsoft, Google and Apple, andhttps://<console host>/api/platform/auth/sso/callbackfor the operators’ provider. - After a change, the API must start again to read it. Each guide’s K2 says how on its routes.
- Compose takes the same settings as variables of
.env(compose/.env.example).
Placeholders
When this was written on 2026-11-22 none of the following had been merged into develop. Each guide carries a section for each.
| # | Work | State |
|---|---|---|
| K1 | The key-encryption key in a cloud key service (kms-reencryption) |
Merged as release 0010 and written: each guide’s “The key service”. Each instance gets a key of its own, used by the API’s identity alone, unless key_service = false. A customer’s own key for one organization (Encryption__CustomerKeys, O-26) is set by an operator afterwards and is not made by the modules |
| K2 | Sign-in with Microsoft, Google and Apple accounts, SAML and passkeys (sign-in-methods) |
Merged as releases 0014 and 0015 and written: “Sign-in registrations and the operators’ single sign-on” above, and each guide’s K2 for what is particular to its cloud. Compose, the chart and the modules carry the settings |
| K3 | Separate platform operator accounts (platform-operators) |
Merged as release 0011 and written: “The platform console and the first operator” above, and each guide’s “The platform console”. The operators’ breach check and single sign-on (release 0016) are in the section after it |
| K4 | AI vendors (ai-vendors) |
Only the research is merged (docs/research/ai-vendors.md); the API’s settings are unchanged, so a placeholder. It will need the settings of the instance’s own AI account and the vendors’ addresses the API must reach |
What Is the Same on Every Cloud
- Images. Three images are built from this repository:
api(with the built application),workerand, for Compose only,web. They go to the cloud’s own registry, tagged with the release and pinned by digest in the chart’s values and the modules’ variables. Each registry scans them; signing is described per cloud. - Outbound addresses. The API reaches the AI vendor and the identity providers of the organizations that use single sign-on. With the registrations of “Sign-in registrations and the operators’ single sign-on” it also reaches, each only when registered,
login.microsoftonline.comfor Microsoft;accounts.google.com,oauth2.googleapis.comandwww.googleapis.comfor Google; andappleid.apple.comfor Apple (the hosts each provider’s discovery document named on 2026-11-22, fetched). It reaches the operators’ own provider when one is set, andapi.pwnedpasswords.comwhen the breach check is on. It reaches Amazon SES in the RegionEmail:SesRegionnames when that is set, Stripe whenBilling:Enabledistrue, the address of each webhook an organization adds whileWebhooks:Enabledistrue(the default), the cloud’s key service whenEncryption:Keknames one, and DNS (the machine’s own resolver, orDomains:NameServers) when an e-mail domain is checked. Nothing else; the help article “Run Without an Outside Connection” gives the setting that keeps each one off. On every route here the API’s way out is open, so none of these needs a rule; a customer who narrows the way out must let them through. The worker reaches nothing. - Upgrades. Take a backup, move the image digests, apply. The API applies new database releases at start. Run
check-enginewhen the engine pin moves (api/README.md); each guide’s “The platform console” says how to run the API’s commands on its routes, where the API’s image has no shell. Going back to the earlier images does not undo a database release, which is why the backup comes first. - Backups. The managed database’s automated backups with point-in-time recovery, and a separate backup of the keys store. A restore is proved before real data goes in.