Terraform HA Templates
Purpose: Pick the Terraform template that deploys StorageLink BYOL in high availability on AWS, Azure, or Google Cloud
What It Deploys: A load balancer, two or more StorageLink instances across availability zones, and a managed PostgreSQL database (single zone by default)
Prerequisites: AWS and Google Cloud: subscribe to the StorageLink BYOL listing. Azure: accept the StorageLink BYOL image terms once per subscription.
Licensing: BYOL instances start unlicensed. Start the 30-day free trial once in the admin UI; every instance in the deployment picks it up within about a minute.
Next Step: Open the article for your cloud in the table below
Product: StorageLink by Thorn Technologies — cloud storage gateway for secure file sharing
StorageLink ships a Terraform template for each cloud, deploying the application tier (load balancer + 2+ instances across availability zones) plus a managed PostgreSQL database for configuration persistence. Pick your cloud:
| Cloud | Article | Marketplace listing |
|---|---|---|
| AWS | HA Terraform Template for AWS | StorageLink BYOL |
| Azure | HA Terraform Template for Azure | StorageLink BYOL |
| Google Cloud | HA Terraform Template for Google Cloud | StorageLink BYOL |
Before you run terraform apply, subscribe to the StorageLink BYOL listing (AWS, Google Cloud) or accept its image terms with az vm image terms accept --publisher thorntechnologiesllc --offer storagelink-byol --plan storagelink-byol (Azure). Each article has the details. The BYOL listings have no marketplace software fee; each deployment starts unlicensed, and one 30-day free trial started in the admin UI covers every instance.
Each article follows the same structure: Overview → Resources Created → Running the Template → Accessing your StorageLink → Deleting the Stack → Variable Reference → Terraform file contents.
Common architecture
All three templates deploy the same logical shape, mapped to each cloud's native primitives:
| Layer | AWS | Azure | Google Cloud |
|---|---|---|---|
| Compute | Auto Scaling Group (EC2) | Virtual Machine Scale Set | Regional Instance Group Manager |
| Load Balancer | Network Load Balancer + Elastic IP | Standard Load Balancer + Public IP | Regional Forwarding Rule + static IP |
| Database | RDS PostgreSQL (single-AZ default) | Azure Database for PostgreSQL Flexible Server (single-zone default) | Cloud SQL PostgreSQL (zonal default) |
| Secrets | AWS Secrets Manager | Azure Key Vault | Project metadata |
The database is deployed in a single AZ / zone by default in all three templates to keep recurring spend low. Each article documents the one-line opt-in for a zone-redundant database if you need DB-layer failover.
