Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alb/limitations-and-roadmap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The Application Load Balancer is still being built. This page lists known limita
## Limitations

- There is no single composite ALB API yet. An ALB is an `HTTPProxy`, a `TrafficProtectionPolicy`, and optional authentication resources. See [What an ALB is made of](/alb/overview#what-an-alb-is-made-of).
- Public traffic is HTTP and HTTPS only. Raw TCP and UDP exposure isn't available.
- An ALB serves HTTP and HTTPS only. To publish raw TCP or UDP traffic, such as a database or a game server, use a [Network Load Balancer](/nlb/overview).
- Rule exclusions, score thresholds, rate limiting, and circuit breaking aren't available through `datumctl alb`. Use manifests. See [Web application firewall](/alb/configuration/waf).
- A `connector` backend must be the only backend in its rule.
- An endpoint origin must be publicly reachable. Datum refuses an IP address in a private, carrier-grade NAT, loopback, link-local, unique local, NAT64, or other non-public range, and an IPv4 address not written as four decimal octets. It also refuses names under `cluster.local`, `svc`, `pod`, `local`, `localhost`, `internal`, or `home.arpa`, and names that don't end in a public top-level domain. Datum accepts a public name that resolves to a non-public address, but its edge refuses to connect, and the load balancer reports `Programmed=False` with reason `BackendAddressNotPublic`. `networkService` and `connector` backends are unaffected: a network service reaches Compute Instances on your gVPC network, and a Connector reaches the origin from your side.
Expand Down
2 changes: 1 addition & 1 deletion alb/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Datum's Application Load Balancer (ALB) is an edge proxy built on [Envoy](/platform/envoy), with a [Coraza](https://www.coraza.io/)-based [web application firewall](/alb/configuration/waf) (WAF). It started life as Datum's "AI Gateway", and it's built for AI and agent traffic as much as for websites and APIs.

Application Load Balancers help you protect and route internet traffic to your backend services. We support HTTP(S) 1.1, HTTP/2, HTTP/3, gRPC, and WebSockets. See [How the load balancer handles requests](/alb/request-handling).
Application Load Balancers help you protect and route internet traffic to your backend services. We support HTTP(S) 1.1, HTTP/2, HTTP/3, gRPC, and WebSockets. See [How the load balancer handles requests](/alb/request-handling). For raw TCP or UDP traffic, such as a database or a game server, use a [Network Load Balancer](/nlb/overview) instead.

<Tip>
Running NGINX, Apache, Caddy, or Traefik in front of your app? To replace that container with an ALB, see [Use ALB as your HTTP proxy](/guides/alb-as-httpd).
Expand Down Expand Up @@ -45,7 +45,7 @@
linkStyle 0,1,2,3 stroke:#5A5F6B,stroke-width:1.4px
```

- **Clients reach the nearest location.** Your ALB's hostnames are anycast, so each request arrives at the nearest Datum location. Envoy there terminates TLS, runs the firewall, and applies your routes.

Check warning on line 48 in alb/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'ALB's'?
- **Datum runs and scales the proxies.** Envoy runs as a shared fleet in every location, serving every customer's ALBs. Creating an ALB doesn't start new infrastructure, and you don't choose locations or capacity.
- **Changes reach every location.** When you change an ALB, Datum publishes the new configuration to Envoy in every location.
- **Your origin can be anywhere.** An origin can be a public site, reached over HTTPS on the internet; [Compute Instances](/compute/compute-and-alb), reached over plain HTTP on your private [gVPC](/galactic-vpc/overview) network; or a service on your own machine, reached through a [Connector tunnel](/connectors/tunnels).
Expand Down Expand Up @@ -74,7 +74,7 @@
| **DNS + TLS** (operator) | Canonical hostname, DNSRecordSets, and ACME certificates from proxy status |
| **SecurityPolicy** (optional) | Basic Auth via [Envoy Gateway](https://gateway.envoyproxy.io/), backed by a Secret |

Portal create always POSTs an `HTTPProxy`, then attempts a matching `TrafficProtectionPolicy` (best-effort today if WAF attach fails). There's no composite ALB API yet. With `datumctl`, `datumctl alb create` creates the `HTTPProxy` and its `TrafficProtectionPolicy` for you (see [Create a load balancer](/alb/operations/overview#create-a-load-balancer)), or you can apply the resources yourself.

Check warning on line 77 in alb/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'POSTs'?

To learn how Datum runs Envoy, see [Envoy](/platform/envoy). See [HTTPProxy](/alb/httpproxy/overview) for schemas and `datumctl` examples.

Expand All @@ -82,7 +82,7 @@

Each Application Load Balancer deploys with a default hostname and enforces HTTPS (you can disable this).

- **Protection** - The [**OWASP Coraza Web Application Firewall (WAF)**](https://www.coraza.io/) provides built-in protection with the [OWASP Core Rule Set](https://coreruleset.org/), running inside Envoy before requests reach your origin. A load balancer created with `datumctl alb create` starts in `Enforce` mode at sensitivity 1. A `TrafficProtectionPolicy` that doesn't set a mode runs in `Observe` mode. See [Roll out traffic protection safely](/alb/operations/traffic-protection).

Check warning on line 85 in alb/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'Coraza'?
- **Custom Hostnames** – Verify domains (or use already verified domain resources) to use custom hostnames with an Application Load Balancer.
- **Basic Authentication** - Add a username and password to restrict access to an Application Load Balancer.
- **Load Balancing** - Split traffic across several origins by weight, choose the load balancing algorithm, and turn on passive health checks. See [Load balancing and health checks](/alb/configuration/load-balancing).
Expand Down
6 changes: 3 additions & 3 deletions changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Each entry links to the original announcement in our [changelog discussions](htt

The NLB counts inbound traffic only. Replies go from your backend straight to the client. NLBs are early access.

See [Network services](/galactic-vpc/networks/network-services).
See [NLB observability](/nlb/observability).

Details: [Show NLB traffic metrics](https://github.com/datum-cloud/network-services-operator/issues/805) (#805), [Show network load balancer traffic on the project home](https://github.com/datum-cloud/cloud-portal/issues/1832) (#1832)
</Update>
Expand Down Expand Up @@ -373,7 +373,7 @@ Each entry links to the original announcement in our [changelog discussions](htt

The Network Load Balancer (NLB) page in the [Cloud Portal](https://cloud.datum.net) now reads in the order traffic flows: public addresses, then listeners, then backends. Each backend shows its health and which listeners use it, with a per-location breakdown on hover. Deleting a listener now works on the first try, and the **Add listener** dialog no longer flashes a warning as it closes.

NLBs are early access. See [Network services](/galactic-vpc/networks/network-services).
NLBs are early access. See [NLB operations](/nlb/operations).

Details: [Give the NLB page a traffic path layout](https://github.com/datum-cloud/network-services-operator/pull/890) (#890)
</Update>
Expand Down Expand Up @@ -477,7 +477,7 @@ Each entry links to the original announcement in our [changelog discussions](htt

NLBs are early access. TLS listeners are not supported yet, but a TCP listener forwards TLS traffic unchanged to your backend. Each route serves one backend. An ALB that points at a UDP port now reports a clear unsupported-protocol error.

See [Network services](/galactic-vpc/networks/network-services).
See [NLB](/nlb/overview).

Details: [Add network load balancers to the portal](https://github.com/datum-cloud/network-services-operator/pull/812) (#812)
</Update>
Expand Down
1 change: 1 addition & 0 deletions compute/compute-and-alb.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
A flag-based `datumctl compute deploy` replaces the workload's whole template and placements with what the flags describe. It keeps environment variables, ConfigMap and Secret imports, volumes, and labels. It removes registry credentials, custom commands, and extra placements that you set in a manifest, and it sets the Instance count to the `--min` value, which defaults to `1`. To publish a workload that you manage with a manifest, see [Publish a workload you manage with manifests](#publish-a-workload-you-manage-with-manifests).
</Warning>

The command declares the port on the container, waits for the rollout, and then prints the publishing progress and the ALB's hostname as the last line of output:

Check warning on line 43 in compute/compute-and-alb.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'ALB's'?

```text
Publishing...
Expand Down Expand Up @@ -150,3 +150,4 @@
- To run in more locations so that more users reach a nearby Instance, see [Placement and scaling](/compute/placement-and-scaling).
- To learn more about `HTTPProxy` routing and options, see [Application Load Balancer](/alb/overview).
- To learn how Instances connect privately, see [Traffic and connecting](/galactic-vpc/networks/traffic).
- To publish a TCP or UDP port that isn't HTTP, such as a database or a game server, see [NLB operations](/nlb/operations).
2 changes: 1 addition & 1 deletion compute/limitations-and-roadmap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The Compute preview has the following limitations. For limitations of each [runt
- Instances reach IPv4-only internet services by hostname only, through DNS64 and NAT64. A connection to an IPv4 address fails. See [Reach the internet](/galactic-vpc/networks/traffic#reach-the-internet).
- Every Instance can reach the internet, and you can't turn that off. Outbound traffic leaves from shared addresses that Datum doesn't publish, so you can't allowlist your Instances at a destination.
- Firewall rules to filter traffic between Instances on a network are on the [roadmap](/galactic-vpc/limitations-and-roadmap#planned-capabilities).
- Public access is HTTP and HTTPS only, served through Datum's [ALB](/alb/overview). Raw TCP and UDP exposure is a preview limitation.
- Public HTTP and HTTPS traffic reaches Instances through Datum's [ALB](/alb/overview). Public TCP and UDP traffic reaches them through a [Network Load Balancer](/nlb/overview), which is in early access, serves IPv6 only, and is available only in `us-central-1`, `us-east-1`, and `us-west-1`.

For more information about networking, see [gVPC limitations and roadmap](/galactic-vpc/limitations-and-roadmap). To learn which networking capabilities Datum is working on, see [Planned capabilities](/galactic-vpc/limitations-and-roadmap#planned-capabilities).

Expand Down
1 change: 1 addition & 0 deletions compute/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
---

<Note>
**Working with this product via an AI agent?** [Datum MCP](/agents/datum-mcp) gives agents live access to workloads and Instances through its `compute` toolset, including Compute's own diagnostic tools. For an open-ended question such as "why isn't my workload available?", agents can ask [Patch](/datumctl/ai/assistant) with `datumctl assistant chat`.

Check warning on line 8 in compute/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'Compute's'?
</Note>

Datum Cloud Compute runs your app close to your users. You describe what to run and where, and Datum starts isolated Instances in the locations you choose, connects them to a private network, and can serve them publicly through Datum's Application Load Balancer (ALB).
Expand All @@ -20,7 +20,7 @@

- Run an HTTP service or API in more than one location without operating servers.
- Deploy a container image you already build, with virtual machine isolation.
- Start small, purpose-built services in a fraction of a second as unikernels.

Check warning on line 23 in compute/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'unikernels'?

## How it works

Expand Down Expand Up @@ -51,6 +51,7 @@
| Runtime class | The execution tier for a workload's Instances: `general-purpose` or `unikernel`. You choose it when you create the workload. |
| Network | The private network your Instances attach to. `datumctl compute deploy` uses a network named `default`. |
| ALB | Datum's [Application Load Balancer](/alb/overview), which serves public HTTP and HTTPS traffic to your workload's Instances. |
| NLB | Datum's [Network Load Balancer](/nlb/overview), which forwards public TCP and UDP traffic to your workload's Instances. |

## Runtime classes

Expand Down
15 changes: 15 additions & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,21 @@
],
"expanded": false
},
{
"group": "NLB",
"pages": [
"nlb/overview",
"nlb/configuration",
"nlb/health-checks",
"nlb/traffic-handling",
"nlb/operations",
"nlb/observability",
"nlb/troubleshooting",
"nlb/limits-and-quotas",
"nlb/limitations-and-roadmap"
],
"expanded": false
},
{
"group": "Connectors",
"pages": [
Expand Down
2 changes: 1 addition & 1 deletion domain-dns/operations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Two rules catch most mistakes:
- **Names are relative.** Use `www`, not `www.example.com`. Use `@` for the domain itself.
- **Targets are absolute.** End every hostname inside a value with a dot: `mail.example.com.`, not `mail`.

For the record types Datum supports, see [Authoritative DNS](/domain-dns/dns). To point a name at a load balancer, see [Point a domain at a load balancer](/domain-dns/point-to-alb).
For the record types Datum supports, see [Authoritative DNS](/domain-dns/dns). To point a name at an Application Load Balancer, see [Point a domain at a load balancer](/domain-dns/point-to-alb). For a Network Load Balancer, see [Use your own domain](/nlb/configuration#use-your-own-domain).

### Set a TTL

Expand Down
3 changes: 2 additions & 1 deletion galactic-vpc/limitations-and-roadmap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: "Review the limitations of gVPC networks and the networking capabil
In addition to the [networking limitations that apply to all of Compute](/compute/limitations-and-roadmap#networking), networks have the following limitations:

- Each workload attaches to exactly one network through one network interface, and it can't move to another network.
- Instance addresses aren't reachable from the internet. To serve traffic publicly, attach an [ALB](/alb/overview) to the workload.
- Instance addresses aren't reachable from the internet. To serve traffic publicly, attach an [ALB](/alb/overview) to the workload for HTTP and HTTPS, or an [NLB](/nlb/overview) for TCP and UDP.
- The `networkPolicy` field of a network interface has no effect. Don't rely on it to restrict traffic. Firewall rules are a planned capability.
- You can't choose a network's address ranges or create your own subnets.
- Networks carry Compute traffic only in the locations where Compute runs: `us-central-1`, `us-east-1`, and `us-west-1`.
Expand All @@ -40,4 +40,5 @@ For what Datum is building next across the platform, see the [Platform roadmap](

- To learn which traffic a network carries, see [Traffic and connecting](/galactic-vpc/networks/traffic).
- To serve a workload publicly through Datum's ALB, see [Publish a workload](/compute/compute-and-alb).
- To publish a TCP or UDP port, see [NLB operations](/nlb/operations).
- To run Instances in more locations, see [Placement and scaling](/compute/placement-and-scaling).
40 changes: 38 additions & 2 deletions galactic-vpc/networks/network-services.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
description: "Give a workload's Instances a stable name and named ports on a gVPC network, and send load balancer traffic to them."
---

A network service gives a workload's Instances on one network a stable name and named ports. Datum keeps the service's membership current as Instances start, stop, and move between locations, and sends each request to the nearest location that has a ready Instance. Datum's [Application Load Balancer](/alb/overview) reaches a workload through a network service.
A network service gives a workload's Instances on one network a stable name and named ports. Datum keeps the service's membership current as Instances start, stop, and move between locations, and sends each request to the nearest location that has a ready Instance. Datum's [Application Load Balancer](/alb/overview) and [Network Load Balancer](/nlb/overview) reach a workload through a network service.

<Note>
gVPC is in preview, and the `networking.datumapis.com/v1alpha` API can change.
Expand All @@ -15,7 +15,7 @@
A network service is a `NetworkService` resource with two parts:

- **A selector:** labels that an Instance's network interface must carry to belong to the service. Every Instance of a workload carries the workload's name as a label, so a service usually selects one workload.
- **Ports:** the ports the Instances listen on, each with a name, such as `http` on port `8080`. A load balancer refers to a port by its name, not its number.
- **Ports:** the ports the Instances listen on, each with a name, a number, and a protocol, `TCP` or `UDP`, such as `http` on TCP port `8080`. A load balancer refers to a port by its name, not its number.

Keep the following points in mind:

Expand Down Expand Up @@ -51,6 +51,8 @@

To add more ports, repeat `--port`. A service takes up to 16 ports, and each name and number must be unique.

`datumctl network service create` creates TCP ports only. To add a UDP port, use the Cloud Portal or a manifest. See [Add UDP ports](#add-udp-ports).

By default, a load balancer connects to a port over HTTP/1.1. For a port that serves gRPC or another HTTP/2 app without TLS (h2c), use the long form of `--port` with `app-protocol=h2c`, such as `--port=name=grpc,port=9090,app-protocol=h2c`. The load balancer then sends every request on that port as HTTP/2. Most servers accept WebSockets only over HTTP/1.1, so serve WebSockets on a different port.

To select Instances by label instead of by workload, use `--selector`, such as `--selector app=web`. The labels must be on the Instances' network interfaces, not only on the workload.
Expand All @@ -67,6 +69,37 @@

For more information, see [Create a load balancer](/alb/operations/overview#create-a-load-balancer).

To publish a port on a public TCP or UDP port, send a [Network Load Balancer](/nlb/overview)'s traffic to it with a route instead. A route names the service and one of its port names, and the port's protocol must match the NLB listener's. See [Routes](/nlb/configuration#routes).

## Add UDP ports

To give a service a UDP port, such as for an NLB, describe the service in a manifest and set `protocol` on each port. The following service has a UDP port for a game server, and a TCP port for the NLB's health check:

Check warning on line 76 in galactic-vpc/networks/network-services.mdx

View check run for this annotation

Mintlify / Mintlify Validation (datum-4926dda5) - vale-spellcheck

Vale.Spelling

Did you really mean 'NLB's'?

```yaml game-service.yaml
apiVersion: networking.datumapis.com/v1alpha
kind: NetworkService
metadata:
name: game
spec:
networkInterfaces:
selector:
matchLabels:
compute.datumapis.com/workload-name: game
ports:
- name: game
port: 7777
protocol: UDP
- name: health
port: 8080
protocol: TCP
```

The `compute.datumapis.com/workload-name` label selects every Instance of the named workload. To create the service, run `datumctl apply -f game-service.yaml`.

In the [Cloud Portal](https://cloud.datum.net), the create-service dialog has a **TCP** or **UDP** choice for each port.

An ALB can't send traffic to a UDP port.

## Check a network service

To see what a service selects, its ports, and where it's serving, run the following command:
Expand Down Expand Up @@ -109,8 +142,11 @@

Before it asks you to confirm, the command lists the load balancers that send traffic to the service. Those load balancers stop reaching anything on that route.

Deleting a network service with `datumctl delete networkservice` doesn't check for NLB routes. An NLB whose route uses the service stops serving, and the route reports `BackendNotFound`. See [Delete an NLB](/nlb/operations#delete-an-nlb).

## What's next

- To manage networks and Instances' network interfaces from the command line, see [Operations](/galactic-vpc/operations).
- To publish a workload with a load balancer in one step, see [Compute and ALB](/compute/compute-and-alb).
- To publish a TCP or UDP port, see [NLB operations](/nlb/operations).
- To learn how Instances connect privately, see [Traffic and connecting](/galactic-vpc/networks/traffic).
2 changes: 1 addition & 1 deletion galactic-vpc/networks/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A network belongs to a project, not to a location. The following list describes
- **Many workloads on one network:** Several workloads can name the same network. For example, a frontend workload and a backend workload can share a network.
- **Addresses are private IPv6:** Each network gets its own private IPv6 prefix from the unique local address range. Each Instance gets an address from that prefix. The addresses aren't reachable from the internet. For more information, see [Addressing](/galactic-vpc/networks/addressing).
- **Networks are isolated:** Each network is separate from every other network, including other networks in the same project and other customers' networks.
- **Public traffic arrives through Datum's ALB:** To serve a workload on the internet, attach Datum's [Application Load Balancer](/alb/overview) to it. The ALB reaches a workload through a [network service](/galactic-vpc/networks/network-services), which gives the workload's Instances a stable name and named ports, and forwards each request to an Instance over the private network. For more information, see [Compute and ALB](/compute/compute-and-alb).
- **Public traffic arrives through a load balancer:** To serve a workload on the internet, attach Datum's [Application Load Balancer](/alb/overview) to it for HTTP and HTTPS, or a [Network Load Balancer](/nlb/overview) for raw TCP and UDP. The ALB reaches a workload through a [network service](/galactic-vpc/networks/network-services), which gives the workload's Instances a stable name and named ports, and forwards each request to an Instance over the private network. For more information, see [Compute and ALB](/compute/compute-and-alb).

## The default network

Expand Down
2 changes: 1 addition & 1 deletion galactic-vpc/networks/traffic.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following table describes which kinds of traffic are possible:
| Between Instances on the same network in different locations | Yes | A network spans locations, and Instances can connect to each other privately across locations using their private IPv6 addresses. |
| Between different networks | No | Networks are isolated from each other. |
| To or from other addresses through an Instance | No | A network only delivers a packet addressed to an Instance's own address, and only accepts a packet from an Instance's own address. An Instance can't route traffic for other addresses, so a router or VPN appliance needs an overlay, such as VXLAN or a UDP tunnel, between Instances. |
| Inbound from the internet | Through Datum's ALB | Instance addresses aren't reachable from the internet directly. Public HTTP and HTTPS traffic reaches Instances through Datum's [Application Load Balancer](/alb/overview). Raw TCP and UDP exposure is a preview limitation. |
| Inbound from the internet | Through a load balancer | Instance addresses aren't reachable from the internet directly. Public HTTP and HTTPS traffic reaches Instances through Datum's [Application Load Balancer](/alb/overview). Public TCP and UDP traffic reaches them through a [Network Load Balancer](/nlb/overview), over IPv6. |
| Outbound to the internet | Yes | Instances can reach internet destinations over IPv6, and services that have only IPv4 addresses by hostname. See [Reach the internet](#reach-the-internet). |
| Lookups by name | Yes | Instances resolve public names, and the [Private DNS](/domain-dns/private-dns) names of other Instances on the same network, such as `web-default-us-central-1-0.instances.datum.internal`. |
| Firewall filtering | Not in the preview | Firewall rules to filter traffic between Instances on a network are on the [roadmap](/galactic-vpc/limitations-and-roadmap#planned-capabilities). |
Expand Down
2 changes: 1 addition & 1 deletion galactic-vpc/operations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ If Instances still hold addresses on the network, the network stays in deletion

## Manage network services

The `datumctl network service` commands create, describe, change, and delete network services. For more information, see [Network services](/galactic-vpc/networks/network-services).
The `datumctl network service` commands create, describe, change, and delete network services. They create TCP ports only. For UDP ports, which a [Network Load Balancer](/nlb/overview) can publish, use a manifest. For more information, see [Network services](/galactic-vpc/networks/network-services).

```bash
datumctl network service create api --workload=api --port=http:8080
Expand Down
Loading