VeilNet

Getting Started

Deploy a guardian, from the realm credential VeilNet hands over to the first machine on your network.

Host
Linux on x86_64, with Docker
From VeilNet
The realm credential and anchor binaries

Required Inputs

A guardian needs three inputs. VeilNet hands over two of them on hard media, such as a USB stick, and you provide the third.

InputFromWhat it is
The realm credentialVeilNetA single file, guardian_credential. It carries the private key of your realm's root, so keep it with your secrets and never with the images. It cannot be taken back once it is handed over.
The anchor binariesVeilNetanchord-linux-amd64 and anchorctl-linux-amd64, pinned to your realm's tree. A pair built for another tree refuses to sign.
A host and its settingsYouA Linux x86_64 host with Docker, its Compose plugin, openssl and python3. You also choose the one address that your operators and machines will use.

Installing the Stack

Run these steps on the host, in the guardian checkout. Setup asks no questions, so the same steps work for an unattended install. For each step in detail, see Deploying a Guardian.

0 of 5 done
  1. $ cp anchord-linux-amd64 anchorctl-linux-amd64 ./bin/

    If a binary loses its execute bit on removable media, setup restores it and prints made bin/anchord-linux-amd64 executable.

  • https://guardian.example.gov shows the compliance profile's system-use notice, then the sign-in page.
  • The secrets directory holds the settings, the credential, every generated secret and the internal certificate authority.
Guardian console — First runIllustrative

Signing In and Securing Accounts

0 of 3 done
  1. Open your guardian's address and accept the system-use notice. Sign in as a.morgan with the temporary password in secrets/first-admin.env. The console asks you to set up a one-time code and choose a new password. Then delete the password file:

    $ rm secrets/first-admin.env

    Create every later account on the console's Accounts page. See Accounts. In brokered mode, there is no first administrator. Your identity provider holds the accounts, and its groups hold the roles.

Commissioning Bootstrap Nodes

Bootstrap nodes are a few of your own machines in the guardian realm, each with a public address. Every machine finds the network through them, and they relay traffic for every machine below them.

The admin node of the guardian realm also connects to the bootstrap nodes, so it has nothing to connect to until you commission the first one.

0 of 3 done
  1. In the console, open Nodes, choose Commission node and pick the guardian realm. Enter a name and the public address the machine will listen on, as host:port, for example 203.0.113.10:4700. The console shows the manifest once. Download it and hand it to the machine's operator with the same care as an SSH host key.

Adding Sub-realms and Machines

Sub-realms keep groups of machines apart, because a machine exchanges data only with machines in its own realm. Your realm credential decides whether you can create sub-realms. If it allows none, setup warns SUB-REALMS ARE NOT AVAILABLE, and you commission every machine into the guardian realm.

0 of 3 done
  1. As an admin, open Realms and choose New sub-realm. Enter a name, a description and an IPv4 range of /30 or larger, then choose Mint sub-realm. Telemetry shows the sub-realm's admin node as starting, then running.

Verifying the Tree

  • The Stack & compliance page shows three steps as done: realm credential ingested, bootstrap nodes commissioned and telemetry collected.
  • Telemetry shows In-band running in every realm. Each realm's admin node has reached your bootstrap nodes and receives reports from its members.
  • Settings → Realm control shows whether console control is on and which powers your realm credential grants.
Guardian console — Stack & complianceIllustrative