githubEdit

Tailscale

Tailscale is a super-simple VPN that is easy to set up, and works well with BYOC satellites. This page documents the required configuration within Tailscale to enable BYOC.

Requirements

Because network configuration can vary wildly across organizations and cloud providers, we've provided some further general guidance below.

AWS

  • Step-by-step instructions to configure a subnet router in AWSarrow-up-right

    • If you have multiple cloud installations sharing a single subnet, the single subnet router can be shared.

  • It is required to add a Split DNS entry for the <aws-region>.compute.internal TLD, because Earthly uses the AWS internal DNS addresses to resolve satellites. To do this:

    • Open the DNS page in your Tailscale admin panelarrow-up-right, find the "Nameservers" section, and click on "Add Nameserver" -> "Custom". The Tailscale add nameserver dropdown, containing many options with custom in its own section.

    • In the modal that appears, use:

      • x.x.0.2 as the nameserver address, where x is corresponds to the CIDR block allocated to your VPC.

      • Check the box for "Restrict to domain" to enable Split DNS.

      • Add <aws-region>.compute.internal as the Domain, where <aws-region> corresponds to the region the subnet router is installed in. This option appears once the "Restrict to domain" option is toggled. The Tailscale Add Nameserver modal dialog, with 10.0.0.2 filled in for the Nameserver, Restrict to domain toggled on, and Domain set to us-west-2.compute.internal

Last updated

Was this helpful?