How can I use Tailscale?

Tailscale Setup #

1. If you don’t have Tailscale created, sign up for an account here:

2. Go to the admin panel and generate an auth key from here: Be sure to set the following permissions:

  • Reusable
  • Ephemeral

Save a copy of this key! You will need this key in the next section.

Tailscale authentication key generation.

3. Enable MagicDNS here:

4. Get the name of the MagicDNS nameserver and save a copy.

Get Magic DNS server name from TailscaleHere, the nameserver is

DevZero Setup #

1. Open up environments tab on the bottom left, select the template you would like to enable connection to Tailscale for, or create a new template. Find the environment.

2. Take that auth key, and set it as an environment variable for the environment template that needs to connect to remote resources. Give it an appropriate name, say TAILSCALE_AUTH_KEY.

Environment variables panel for a template within DevZeroEnvironment variables panel for a template within DevZero

2. Add an entry into the scriptpolicy section of the environment template.

- script: |
    curl -fsSL | sh
    sudo tailscale up --authkey ${{ TAILSCALE_AUTH_KEY }}
  runas: devzero

Results #

All newly generated machines will show up in the Tailscale console (here:, and be connected to the Tailnet.

Connect to another DevBox #


This is how you can construct the path to call an application on a DevBox:

path definition for communicating to a devbox

Example call from DevBox A:

PreviousUser Onboarding
NextHow can I use AWS ECR?