Automating the Deployment of Your Forever Free PiHole, WireGuard, & Unbound Server

stoXe
2 min readSep 9, 2020

Prerequisites:

  1. Oracle Cloud Account
  2. Oracle API Keys (Official Oracle Guide)
  3. Terraform installed (Official Terraform Guide)

Clone The Repository

Clone the repository with the following command

$ git clone https://github.com/IAmStoxe/oracle-free-tier-wirehole.git
$ cd oracle-free-tier-wirehole
$ terraform init

Create a new file named terraform.tfvars and paste in the following

💡 Replace necessary values — Everything that’s above the optional banner.

If you don’t know where to get one of the values look here.

Once you’re good to go test it out with:

$ terraform plan

✅ If that completes without errors then you may proceed to the next section.

Deploying

--

--