Galactic VPC is in preview, and the
networking.datumapis.com/v1alpha API can change.How Instances get addresses
Datum assigns all addresses. You don’t choose address ranges or plan subnets. The following table describes each level of the address plan:
Inside the Instance, the interface is named
eth0, and it has IPv6 addresses only. Unique local addresses are private: they aren’t routable on the internet.
To find your Instances’ addresses, run the following command:
WORKLOAD_NAME with the name of your workload.
The INTERNAL IP column shows each Instance’s primary private IPv6 address. For all the addresses on an Instance’s interface, run datumctl compute instances describe INSTANCE_NAME.
What traffic a network carries
A network carries private traffic between Instances. The following table describes which kinds of traffic are possible:
The workload API accepts a
networkPolicy field on each network interface, but the field has no effect. Don’t rely on it to restrict traffic. To limit who can reach a service, check credentials in your app, or put services that must stay apart on different networks. Firewall rules for networks are on the roadmap.
Connect to other Instances
To connect from one Instance to another on the same network, use the peer’s private IPv6 address. Keep the following points in mind:- Make your app listen on IPv6 (
::). An app that listens only on0.0.0.0accepts IPv4 connections only, and Instances don’t have IPv4 addresses. - In a URL, put an IPv6 address in square brackets, such as
http://[fd20:4a3b:91c2:1::1:0:2]:8080/. - Private DNS names aren’t available in the preview. To tell an app about its peers, pass their addresses in environment variables or a ConfigMap.
What’s next
- To create a network and attach a workload to it, see Create and manage networks.
- To serve a workload publicly through Datum’s ALB, see Publish a workload.
- To review what networks can’t do, see Networking limitations and roadmap.