Network requirements
AOS runs in your cloud, but it needs a small amount of outbound access. This page lists every destination, what it is for, and how to verify access from inside your environment.
Summary
Section titled “Summary”| Direction | Destination | Port | Required |
|---|---|---|---|
| Outbound | license.aos.algorithma.ai |
443 | Yes |
| Outbound | ghcr.io |
443 | Only if pulling images directly |
| Outbound | pkg-containers.githubusercontent.com |
443 | Only if pulling images directly |
| Inbound | AOS web app | 443 | Yes, for users and agent traffic |
Allow outbound HTTPS without TLS inspection. AOS doesn’t trust TLS-inspection certificates, so inspected connections fail.
License service
Section titled “License service”license.aos.algorithma.ai is Algorithma’s license service. Every licensed
AOS deployment must reach it over HTTPS on port 443. The deployment
fetches:
It does this with a single request, every 15 minutes (POST /api/checkin).
The request carries your license ID, the AOS version you run and the number of
registered agents (bring-your-own-cloud deployments also send their tenant ID
and license key). The response delivers:
- the license revocation list,
- plan updates and feature releases,
- for bring-your-own-cloud deployments, the entitlement token and upgrade target.
Nothing else leaves your network in this request: no customer data, host names or per-container metrics. Older control-plane versions are handled transparently.
If the license service is unreachable:
- Current releases keep running on their license key, but don’t receive plan updates or feature releases.
- Releases with license enforcement switch licensed features off and run on the free plan until the service is reachable again. The deployment keeps running, and the License panel in the instance settings shows the reason. Deployments without outbound access can’t use licensed features on these releases.
Older AOS versions also call
byoc-license-service-182992180364.europe-north1.run.app for feature
releases. Allowing it is optional.
Container images
Section titled “Container images”Pulling images directly from GitHub Container Registry needs both
ghcr.io and pkg-containers.githubusercontent.com. If your firewall is
strict, import the images into your own registry instead. See
Container images.
Internal traffic
Section titled “Internal traffic”Inside your VNet or VPC, the web app and worker connect to:
| Service | Ports |
|---|---|
| PostgreSQL | 5432 |
| Redis | 6379 |
| ClickHouse | 8123, 9000 |
| MinIO, if used | 9095 |
Only for features you enable
Section titled “Only for features you enable”These destinations are chosen by you. Allow them only if you use the feature:
- LLM providers for evaluations and the playground, for example Azure OpenAI, OpenAI, Anthropic, AWS Bedrock or Google Vertex AI.
- Your single sign-on provider.
- Your SMTP server, for invitations and alert emails.
- Webhook targets, agent endpoints used by Talk, and Slack.
- Microsoft Dataverse, for the Copilot Studio integration.
- External object storage, if you don’t use the bundled MinIO.
Verify access from your environment
Section titled “Verify access from your environment”Run the check from an AOS container in the same environment, because egress rules follow the subnet. The worker image includes Node.js.
On Azure Container Apps:
az containerapp exec --name <worker-app> --resource-group <resource-group> --command /bin/shThen run:
node -e 'for (const u of ["https://license.aos.algorithma.ai/api/plan-bundles/broadcast","https://ghcr.io/v2/","https://pkg-containers.githubusercontent.com"]) fetch(u,{signal:AbortSignal.timeout(10000)}).then(r=>console.log("OK ",r.status,u)).catch(e=>console.log("FAIL",e.cause?.code||e.name,u))'| Output | Meaning |
|---|---|
OK 200 for the license service |
The license service is reachable. |
OK 401 for ghcr.io |
The registry is reachable. 401 is expected. |
OK with any status |
The host is reachable. |
FAIL ECONNRESET |
Your firewall blocks the hostname. |
FAIL TimeoutError |
The host is blocked or there is no route. |
FAIL ENOTFOUND |
Name resolution fails in your network. |
Let AOS find the problem for you
Section titled “Let AOS find the problem for you”Instead of running the check by hand, open Diagnostics in the instance settings (platform administrators only). The Network checks cover the same ground and more, and the worker runs them in the background so a problem shows up before a feature breaks.
| Check | What it finds |
|---|---|
| Outbound access | The license service, plus the destinations you actually use: LLM providers, SSO issuers, SMTP, Slack, object storage. Failures are named: DNS, blocked by hostname, dropped, no route. |
| TLS inspection | An inspecting proxy replacing certificates, by the certificate issuer. AOS doesn’t trust inspection certificates. |
| Public URL | Whether the server can reach its own public address, and whether the Host and protocol AOS sees match NEXTAUTH_URL. |
| Response streaming | A proxy that buffers responses. Talk and agent streams then look frozen. |
| WAF and OWASP rules | Request shapes agent traffic contains, such as code, SQL, file paths, large bodies and SDK headers, that a firewall blocks before they reach AOS. |
The worker’s view and the web app’s can differ. Egress rules follow the subnet, so the page shows both: the web server’s result when you run a check, and the worker’s last background rounds with their recent history.
Background runs. The worker runs the checks at every start, and then every
15 minutes. Set AGENTOPS_NETWORK_CHECK_INTERVAL_MINUTES on the worker to
change the interval, or to 0 to turn them off. Background runs are read-only
and never send anything that looks like an attack.
The WAF check raises security events. It sends request shapes that default
OWASP rule sets block, to a diagnostic endpoint that stores nothing
(/api/public/diagnostics/echo). It only runs when you ask for it, from the
From your browser panel, and every request carries an
x-aos-diagnostics-canary header so your security team can recognise and
allowlist it. If it reports blocked shapes, exempt AOS from those rule groups:
agent prompts and tool output legitimately contain code, SQL and paths.
Run it from where it matters. A server-side probe can bypass your edge firewall. To test the path users and agents take, run it from a browser, or from a CI job or an agent host:
node scripts/network-check.mjs https://aos.example.comIt exits 1 if a check fails, so it works as a step after a deploy. Add
--no-canaries to skip the WAF check and --json for machine-readable
output. It needs Node 22.18 or later.
Alerting. Create an infrastructure alert rule on the metric Network checks failing (for example, greater than 0 over a 30-minute window). It counts checks that failed in every background run in the window, so a single blip or a deploy doesn’t page anyone. Set the window to at least two check intervals.
The diagnostic endpoints. /api/public/diagnostics/echo and /stream are
unauthenticated on purpose, so they can show what reaches AOS before any
credential is involved. They store nothing and never reflect request bodies,
cookies or credentials. They are rate limited per client address and across all
clients (charged by body size), so repeated runs in a minute are answered with 429. Set AGENTOPS_DIAGNOSTICS_ENDPOINTS_ENABLED=false to turn them off; the
Diagnostics page then cannot run its public-URL, streaming and WAF checks.