Skip to main content
This page shows how to create a network, attach workloads to it, keep Instance addresses after scale-down, and delete a network. To learn how networks relate to projects, locations, and Instances, see Galactic VPC.
Galactic VPC is in preview, and the networking.datumapis.com/v1alpha API can change.

Before you begin

  • Install datumctl, log in, and select a project. For more information, see the datumctl quickstart.
  • To create, change, or delete networks, you need the Network Admin role in the project. The same role lets you attach workloads to a network. For more information, see Permissions.

Create a network

To create a network, follow these steps:
  1. Save the following manifest as network.yaml:
    spec.ipam.mode: Auto tells Datum to assign the network’s address space. ipam.mode is the only field that you need to set.
  2. To create the network, run the following command:
  3. To check that the network is ready, run the following command:
    When the network is ready, the IPV6PREFIX column shows the private IPv6 prefix that Datum assigned, and the READY column shows True.
A network has two optional settings: spec.ipFamilies defaults to [IPv6], and spec.mtu defaults to 1440. Keep the defaults unless you have a reason to change them. Datum rejects a network that doesn’t include IPv6, and a larger MTU can cause connections between locations to stall.

Attach a workload to a network

A workload chooses its network when you create it. You can’t move a workload to a different network later. To attach a workload with datumctl, pass --network when you create it:
Replace the following:
  • WORKLOAD_NAME: a name for your workload.
  • IMAGE: the full image reference, including the registry host.
  • LOCATION: one or more locations, separated by commas.
  • NETWORK_NAME: the name of the network, such as backend.
If you omit --network, the command attaches the workload to the default network. For more information, see The default network. To attach a workload in a manifest, set network.name in the workload’s only entry under spec.template.spec.networkInterfaces. The following workload runs in Dallas and Ashburn on the backend network:
If the network doesn’t exist, the workload reports NetworkNotFound and no Instances start. If you don’t have permission to use the network, Datum rejects the workload with permission to use the network was denied.

Keep addresses after scale-down

By default, an Instance keeps its address when Datum replaces it during a rollout or restart, but Datum releases the address when it removes the Instance, such as when you scale down or delete the workload. To keep addresses reserved even after scale-down, set reclaimPolicy: Retain on the network interface when you create the workload:
Retained addresses stay reserved even when you scale down. You can’t change reclaimPolicy after you create the workload.

Delete a network

Before you delete a network, delete the workloads that are attached to it. To delete a network, run the following command:
Replace NETWORK_NAME with the name of the network. If Instances still hold addresses on the network, the network stays in deletion and reports RangeOccupied until they’re gone.

Permissions

Networks use the following roles and permissions:

What’s next

Last modified on September 23, 2026