/example-tailscale

Example to use Tailscale with Koyeb

Primary LanguageDockerfile

Logo

Koyeb Serverless Platform

Tailscale on Koyeb
Learn more about Koyeb · Explore the documentation · Discover our tutorials

About Koyeb and Tailscale

Koyeb is a developer-friendly serverless platform to deploy apps globally. No-ops, servers, or infrastructure management.

Tailscale is a VPN service that makes the devices and applications you own accessible anywhere in the world, securely and effortlessly. It enables encrypted point-to-point connections using the open source WireGuard protocol, which means only devices on your private network can communicate with each other.

This repository showcases how to deploy an application on Koyeb and makes it only accessible via your Tailscale private network. This is useful when you need to deploy an internal app without exposing it to the internet.

Getting Started

This example deploy a Golang Gin application on Koyeb and makes it only accessible via your Tailscale private network.

Requirements

You need a Koyeb account and a Tailscale account to successfully deploy and run this application. If you don't already have an account, you can sign-up for free here.

Deploy using the Koyeb button

A Golang Gin application you can reach via your Tailscale private network.

The fastest way to deploy the Golang Gin application using Tailscale on Koyeb is to click the Deploy to Koyeb button below.

Deploy to Koyeb

Clicking on this button brings you to the Koyeb App creation page with everything pre-set to launch this application.

Once deployed, you can access the application using:

curl http://TAILSCALE_DEVICE_IP:8080

To modify this application example, you will need to fork this repository. Check out the fork and deploy instructions.

Contributing

If you have any questions, ideas, or suggestions regarding this application sample, feel free to open an issue or fork this repository and open a pull request.

Contact

Koyeb - @gokoyeb - Slack