At MediaMachine.io we use Tailscale for sharing both our internal development environment as well as the internal tooling network layer. For example,

Tutorial: Tailscale on AWS with Terraform

submited by
Style Pass
2021-05-25 17:00:13

At MediaMachine.io we use Tailscale for sharing both our internal development environment as well as the internal tooling network layer. For example, we run Nomad and expose the UI on our internal network. Tailscale makes it super easy to isolate our internal resources from our external facing network. We also use tailscale to quickly share our locally running dev servers which is especially useful for our remote team setup.

Running bespoke, hand-crafted infrastructure is not the same as hand-made furniture from your local artists. Infrastructure-as-code has a lot of benefits:

We use this script on instance startup to install and configure tailscale. Terraform lets us attach this script via the user_data field. This script leverages terraform templates function https://www.terraform.io/docs/language/functions/templatefile.html.

You can fetch secrets from consul at terraform run time. See https://registry.terraform.io/providers/hashicorp/consul/latest/docs/resources/keys

Leave a Comment