Pi-Hole-on-Google-Compute-Engine-Free-Tier-with-Full-Tunnel-and-Split-Tunnel-Wireguard-VPN-Configs icon indicating copy to clipboard operation
Pi-Hole-on-Google-Compute-Engine-Free-Tier-with-Full-Tunnel-and-Split-Tunnel-Wireguard-VPN-Configs copied to clipboard

Automating Wanguard installation with Docker, Terraform and Cloud Run

Open theclue opened this issue 4 years ago • 2 comments

Similarly on what it was done for AWS, I was wondering if there's a way to do the same for GCP: automating the deployment of Wanguard on serverless environment using Terraform, Cloud Run, Cloud Build and Docker

Theorically it should be possible I guess, but I saw that the included setup.sh file is not meant to be run headless so I was just wondering on what could this be overcome (if possible)

Actually, if CPU throttling of CloudRun is not a good deal, GCE would be still ok. But the headless setup issue remains I guess.

any suggestion appreciated!

theclue avatar Jan 31 '21 00:01 theclue

everything you can do with the google cloud web interface can be done through the command line with the gcloud command line tool (https://cloud.google.com/sdk/gcloud) - so there is a way to automate this at whatever scale you would like! it's not something i can whip together very quickly, but I would love to see a fork of this project go in that direction

rajannpatel avatar Feb 23 '21 00:02 rajannpatel

@theclue I'm interested in contributing to this fork or starting a fork to get some traction on this.

cosmopockets avatar Mar 02 '21 13:03 cosmopockets