Hello, this should work with Render.
Loosely following the guide at https://support.quotaguard.com/support/solutions/articles/5000013939-socks-quick-start-guide-quotaguard-static:
Download and extract the
qgtunnel package in the root directory of your app:
$ curl https://s3.amazonaws.com/quotaguard/qgtunnel-latest.tar.gz | tar xz
If you are using a native environment you’ll need to run that locally and commit the directories/folders, if you are using docker run that as a build step.
Then go to Settings->Setup in the top right corner.
And then on the left select Tunnel, then Create Tunnel
Enter the address you’d like to proxy to:
Local Port: 5432
With transparent: true you should be able to connect to
hostname.for.your.database.com:5432 like normal, but if that fails try connecting to
And then update your start command to be
./bin/qgtunnel <normal start command> to connect to your service.
If it says:
Missing QUOTAGUARDSTATIC_URL and QUOTAGUARDSHIELD_URL environment variables. Exiting.
Go to the addons page and to your quotaguard addon and click Show Credentials.
Copy the environment variable. and add it to your services Environment Variables (This should happen automatically but didn’t for me. I will be looking into ensuring it does in the future, this is just a workaround).