• If you’ve ever provisioned virtual machines (VMs) across a mix of cloud providers, you’ll know that “bootstrap time” is when things tend to fall apart. • Cloud-init is powerful, but also where all the details conspire against you: YAML indentation, distro differences, network setup, and early-boot timing, to name a few. • And if (when) it goes wrong, debugging can be extremely painful. • Despite these known pain points, our customers have a reasonable request: “I just want the VM to come up already connected to my tailnet.” So we built something to do exactly that-cleanly, consistently, and in a way that works for all Tailscale and Terraform users: a Terraform module for installing Tailscale. • The Solutions Engineering team at Tailscale collectively spends thousands of hours every year working with customers who are trying to deploy Tailscale in real infrastructure. • Not at the tidy diagrams level, but inside the complicated, overlapping, half-migrated reality most organisations live in.

Article Summaries:

  • Tailscale has released an open‑source Terraform module that installs and configures the service on virtual machines across multiple cloud providers. The module addresses common bootstrap issues-YAML errors, distro differences, systemd timing, and auth key mishandling-by encapsulating proven operational patterns into a single, predictable script. It supports multi‑part MIME encoding, OS package installation, service enablement, authentication, tagging, route configuration, exit‑node setup, and both persistent and temporary devices. By using this module, customers can reliably bring VMs online with Tailscale already connected, reducing support overhead and simplifying multi‑cloud deployments.

Sources: