Terraform HA Templates
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 | Subscribe |
| Azure | HA Terraform Template for Azure | Subscribe |
| Google Cloud | HA Terraform Template for Google Cloud | Subscribe |
Make sure you are subscribed to StorageLink in the respective cloud's Marketplace before running terraform apply.
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.
