This repository automates the deployment and configuration of a WireGuard VPN server on Scaleway Cloud using Terraform and Ansible. It provides a fully automated solution for setting up, configuring, and managing WireGuard VPN instances, complete with dynamic configuration generation and simple deployment scripts.
- Infrastructure provisioning with Terraform
- Automated WireGuard configuration using Ansible
- Jinja2 templates for dynamic VPN configuration
- Scripts for quick deployment and teardown of infrastructure
- Clone the repository:
git clone https://github.com/cusable/automated-wireguard-vpn.git
cd automated-wireguard-vpn
- Set your Scaleway credentials in
scaleway.auto.tfvars
. - Deploy the infrastructure:
cd scripts
./deploy.sh
For a more in-depth guide on the setup and technical details, please refer to the full article.
- Terraform
- Ansible
- Scaleway Cloud account
MIT License