Skip to content

render-examples/twingate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Twingate on Render

This repository demonstrates how to deploy the Twingate Zero Trust solution on the Render cloud. By using Twingate, you'll be able to directly access private resources that aren't exposed to the public web, such as Render Private Services or Render PostgreSQL instances.

Twingate themselves have created an easy video walkthrough of deploying a Twingate connector into Render that's worth checking out if you'd like more information.

Example Deployment

  • Log into your Twingate admin panel.
  • Create a network (Network > Remote Networks (right sidebar) > Add) to continue. In the "type" dropdown select "Other" and name it Render (or whatever is meaningful to you).
  • Click Deploy Connector in the right sidebar to...deploy the connector!
    • Select Docker, and leave other settings as default.
    • Click Generate Tokens, which will prompt you to re-authenticate your Twingate account.
    • You'll now have an Access Token and a Refresh Token. Keep these handy.
  • Let's launch this into Render! Deploy to Render
    • One note: for business continuity and source code control purposes, you might want to fork this repository, in which case you'd want to go to Render Deploy instead and specify your forked repo.
    • You'll be asked to input a few things:
  • Now, once this is live, you'll have a Twingate connector and two services. Connect to Twingate now by following the instructions in the Twingate docs.
  • In the Render dashboard, navigate to the service you'd like to expose via Twingate.
    • Beneath the name of the service, you should see Service Address, which will be something like twingate-private-service-a1b2:80; click the Copy button next to this.
    • Open a new tab in your browser, type http://, and paste in the address.
  • Similarly, you can connect to a Render PostgreSQL instance.
    • On the PostgreSQL service page, under Connections, you'll find the Hostname for the PostgreSQL instance.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published