scottgerring / tailscale-exitnodes-cdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tailscale exit nodes on AWS

This is a simple CDK stack that automates the provisioning of Tailscale exit nodes on AWS. It is decribed in more detail in this blog post.

To use it, simply edit bin/tailscale-exitnodes-cdk.ts to list the regions you want to use:

  stackForRegion('ExitNodesStackSydney', 'ap-southeast-2', "TSSydneyExitNode"),
  stackForRegion('ExitNodesStackZurich', 'eu-central-2', "TSZurichExitNode")
];

Next, set the environment variable TAILSCALE_AUTH_KEY to your tailscale auth key and deploy with cdk deploy.

Warning This stack deploys EC2 instances and has cost implications!

About

License:Apache License 2.0


Languages

Language:TypeScript 78.5%Language:JavaScript 21.5%