A Terraform module for provisioning an EC2 instance for running Transmission over OpenVPN with completed downloads automatically copied to an S3 bucket.
This is intended for ephemeral deployments where you may spin-up an instance for an hour or two and then destroy it. It's not intended for long-running use.
In order to use this configuration you MUST have:
- An AWS account
- An existing EC2 keypair
- An existing S3 bucket
- AWS credentials on the machine you will run
terraform apply
from - A supported VPN provider (see providers here)
- An understanding of Terraform and it installed on your system
Initialise terraform
terraform init
You will need to provide values for the variables defined in variables.tf
. The easy way to do this is by creating a terraform.tfvars
file. See the terraform docs for more information.
Once you've defined your variables apply the configuration.
terraform apply
Once the configuration is applied you will get the output URL of Transmission's WebUI. Note you may need to wait a minute or two for the software provisioning to complete before the instance is available to use.
Once you are finished with the instance you can simply destroy it.
terraform destroy