Skip to main content
Servers Are UpVirtual Datacenter
Virtual Datacenter
Pricing
Sign inBrowse plans
Servers Are UpVirtual Datacenter
Virtual Datacenter
Pricing
Sign inBrowse plans

Loading…

Servers Are UpVirtual Datacenter

Private cloud servers, pooled Virtual Datacenters, and encrypted cloud storage on hardware we own—open any server in your browser or automate with API & MCP.

Customer Portal & Services

Client DashboardMy ServersBrowser ConsoleBillingAPI Keys & MCPSupport
SLA with service creditsOwned hardwareUS-based

Make room for your next idea

Explore the capacity, apps and access options that fit your workload. Check current availability and your total before you buy.

Sign up freeView Pricing

Products

  • Linux VPS
  • Windows VPS
  • Cloud & SaaS Services
  • Cloud Storage (Azure)
  • Virtual Datacenter
  • AI & Agent Hosting
  • Containers
  • Instant Apps
  • Software Platforms
  • Network builder
  • Game Servers
  • Free Game Servers
  • Pricing

Resources

  • Free Network Tools
  • 2026 Pricing Benchmark
  • Live SVG Badges
  • Latency & Speed Test
  • Guides & Tutorials
  • Documentation
  • API Reference
  • MCP Server
  • CLI & SDKs
  • OpenAPI & llms.txt
  • Use Cases
  • Free Migration
  • Uptime & Reliability
  • Datacenter
  • System Status
  • Network
  • Provider Comparisons Hub
  • Compare Providers

Company

  • About Us
  • Enterprise
  • Security Architecture
  • Trust Center
  • Blog
  • FAQ
  • Compliance
  • Startup Program
  • Open-Source Sponsorship
  • Press & Media Kit
  • Referral Program
  • Help Center
  • Contact Us
© Servers Are Up
TermsPrivacySLARefund PolicyDPAAcceptable Use
Service information
Docs
  • Documentation Hub
  • Technical Knowledge Library
    Runbooks & 187 Blueprints
  • Choose a Product
    VMs, Containers & Cloud
  • First Linux Server
    SSH, Firewall & Apps
  • Windows Server 2025
    BYOL & Remote Desktop
  • Remote Access
  • Troubleshooting
  • FAQ
  • All Product Guides
    33 Step-by-Step Guides
  • Cloud & SaaS Catalog
    139 Cloud & SaaS Offerings
  • Azure Cloud Storage
    Hot/Cool/Archive & WORM
  • Resource Manager & RBAC
    Groups, Tags & Locks
  • ARM/TF & Cloud Blueprints
    42-Type IaC & State
  • OCI Container Registry
    SBOM, CVE & Signing
  • Multi-Model Cloud DB
    JSONB, SQL & pgvector
  • Cloud Identity & ZTNA
    OIDC, SCIM & PIM
  • Per-Environment Tenant Suite
    Isolated Auth, SIEM & MCP
  • Secrets & KMS
    Secrets & Envelope Keys
  • Cloud SIEM, SOAR & DLP
    Posture & Threat Response
  • Data Lineage & DSPM
    Classification, EASM & DKE
  • API Gateway & Cloud DNS
    Edge WAF & DNS Zones
  • Serverless, Workflows & IoT
    Functions, Queues & DAGs
  • SaaS, Governance & Vault
    Budgets & Off-Host GRS
  • Linux Systems & Kernel
    SSH, UFW, sysctl & OOM
  • Self-Hosted Apps & Stacks
    Caddy, Nextcloud & Auth
  • Build Web Apps with AI
  • Next.js and React
  • TypeScript and Node.js
  • npm and Tooling
  • Data and APIs
  • Deploy and Operate
  • Tutorials
  • Infrastructure
  • Automation & Regions
  • API Overview
  • API v1 Reference
    Endpoints & 26 Scopes
  • MCP Server
    198 AI Agent Tools
  • Swagger / OpenAPI 3.1
  • API Playground
  • Versioning & Sunset
  • API Token Security
    Authentication & Tokens
  • Instances API
    Compute Resources
  • Networking API
    Networks & Ports
  • Storage API Availability
    Volumes & Backups
  • Webhooks & Events
    Event Notifications
  • Rate Limits & Best Practices
    Throttling & Retries
  • sau CLI Reference
    193 Commands (v0.3)
  • Browser Web CLI
  • SDKs
  • Infrastructure as Code
    Terraform & Ansible
  • Code Examples
  • CLI & SDK Guides
  • Security Guides
  • Security at a Glance
  • Zero Trust Architecture
  • Live Trust Center
  • Compliance
Need help?

Loading documentation...

Documentation/products

Deploy Cloud Blueprints, export HCL & lock Terraform state

Preview and deploy Cloud Stack Blueprints, export 34 resource types to declarative JSON or Terraform HCL and lock remote state safely.

Intermediate
20 min
Updated 2026-11-28

Deploy Ready-to-Run Infrastructure in Seconds

Linux VMs from $6/mo · Pooled Virtual Datacenters from $12/mo · Use code WELCOME20 for 20% off your first order.

Browse ServersView Pricing

Commands checked on 2026-11-28 with SAU Resource Manager v1.7, Terraform HTTP State v4, sau CLI 0.3.0.

What you will have at the end

You will know how to preview and launch multi-resource Cloud Stack Blueprints via /api/v1/blueprints, run declarative What-If template deployments across 34 round-trip resource types (37 total SAU.* schemas), export any Resource Group in Declarative JSON or Terraform HCL from Operations > Resource manager & settings (/dashboard/resource-manager), and configure hashicorp Terraform or OpenTofu backend "http" state locking on /api/v1/terraform/state/{workspace}.

Before you start

  • A Servers Are Up account signed in at /dashboard with access to Operations > Resource manager & settings (/dashboard/resource-manager).
  • A Personal Access Token with cloud:read and cloud:write scopes (Account settings > API keys at /account/api-keys).
  • Optional: terraform or tofu installed locally if you want to wire the encrypted HTTP remote state backend into a GitOps repository.

Steps

1. List and preview turnkey Cloud Stack Blueprints

Servers Are Up ships curated multi-tier blueprints that wire DNS, Edge WAF gates, encryption keys, databases, queues, and SIEM diagnostic routing in one reproducible deployment. List the catalog and preview its resource graph before creating anything:

# List curated Cloud Stack Blueprints
curl -fsSL "https://serversareup.com/api/v1/blueprints" \
  -H "Authorization: Bearer sau_your_token_here" | jq '.blueprints[] | {id, name, category, estimatedMonthlyUsd}'

# Preview resource names and dependencies for a stack suffix
curl -fsSL "https://serversareup.com/api/v1/blueprints?preview=sau-ai-agent-rag-stack&suffix=prod01" \
  -H "Authorization: Bearer sau_your_token_here" | jq .

You can also inspect and launch blueprints directly in Operations > Resource manager & settings (/dashboard/resource-manager) or in Cloud Shell with sau blueprints list and sau blueprints deploy.

2. Deploy a blueprint and inspect declarative deployment history

When the preview looks right, deploy the stack and track the declarative deployment receipt inside /api/v1/resource-manager?section=deployments:

curl -fsSL -X POST "https://serversareup.com/api/v1/blueprints" \
  -H "Authorization: Bearer sau_your_token_here" \
  -H "Content-Type: application/json" \
  -d '{
    "blueprintId": "sau-ai-agent-rag-stack",
    "deploymentSuffix": "prod01"
  }' | jq .

Every created child resource is automatically grouped and tagged so sau deployment list and Operations > Resource manager & settings show full creation lineage and rollback state.

3. Export live infrastructure as Declarative JSON or Terraform HCL

Export any existing Resource Group—or your entire environment—into portable Infrastructure as Code covering 34 bi-directional resource types (and 37 schema definitions in total):

# Export live Resource Group as Terraform HCL
curl -fsSL "https://serversareup.com/api/v1/resource-manager?section=export&format=TERRAFORM_HCL&group=prod-core-rg" \
  -H "Authorization: Bearer sau_your_token_here"

# Or export Declarative Resource Template JSON via Cloud Shell
sau group export -f json -g prod-core-rg

Save the exported .tf or .json file into Git so peer reviewers can audit every firewall port, database tier, lock, and diagnostic sink in pull requests.

4. Configure Terraform / OpenTofu HTTP remote state locking

Configure Terraform or OpenTofu backend "http" against /api/v1/terraform/state/{workspace} so parallel engineers or GitHub Actions runners never corrupt state simultaneously:

terraform {
  backend "http" {
    address        = "https://serversareup.com/api/v1/terraform/state/prod-core"
    lock_address   = "https://serversareup.com/api/v1/terraform/state/prod-core?action=lock"
    unlock_address = "https://serversareup.com/api/v1/terraform/state/prod-core?action=unlock"
    lock_method    = "POST"
    unlock_method  = "POST"
  }
}

Pass -backend-config="password=$SAU_API_TOKEN" (or configure an Authorization: Bearer sau_your_token header in CI) rather than committing tokens into .tf files.

Check that it works

Verify your workspace state lock endpoint and inspect exported Resource Group counts:

curl -fsSL "https://serversareup.com/api/v1/terraform/state/prod-core?includeLock=1" \
  -H "Authorization: Bearer sau_your_token_here" | jq '{version: .state.version, serial: .state.serial, locked: (.lock != null)}'

A 200 response returns valid Terraform State v4 JSON with serial tracking and locked reflecting active execution locks (423 Locked whenever another apply holds the lock).

What can go wrong

  • 423 Locked when running terraform apply after an aborted CI job. A crashed runner left an active workspace lock on /api/v1/terraform/state/{workspace}. Confirm no run is still active in CI before calling ?action=unlock or terraform force-unlock <LOCK_ID>.
  • Resource deletion fails during terraform destroy or rollback. A CanNotDelete or ReadOnly lock is protecting production infrastructure on Operations > Resource manager & settings (/dashboard/resource-manager). Remove the Management Lock intentionally before tearing down protected stateful resources.
  • What-If or blueprint deployment rejected with AI_WRITE_GUARDRAIL_BLOCKED. Your Portal & AI Write Guardrail mode is set to READ_ONLY when authenticating via an AI agent session. Run planned applies from a scoped CI token or adjust the mode intentionally for the change window.

Good practice

  • Separate state workspaces per lifecycle stage (staging-core, prod-core) so staging refactors can never acquire a lock against production.
  • Re-run GET /api/v1/resource-manager?section=export&format=TERRAFORM_HCL periodically to detect console hotfixes and pull drift back into Git.
  • Pair blueprint deployments with Declarative Cloud Policies on Operations > Governance & FinOps (/dashboard/governance) so env and owner tags are always present.

Where to go next

  • Organize resources with groups, tags, locks and RBAC
  • Push OCI images, sign digests & scan SBOMs in Registry
  • Connect an AI agent to Servers Are Up over MCP

Related Articles

Create a scoped API key and send your first v1 request

Read more

Route APIs with Edge WAF, rate limits and Cloud DNS

Read more

Purchase Azure-backed cloud storage with WORM locks and SAS

Read more

Frequently Asked Questions

What does the Deploy Cloud Blueprints, export HCL & lock Terraform state documentation guide cover?
Preview and deploy Cloud Stack Blueprints, export 34 resource types to declarative JSON or Terraform HCL and lock remote state safely. It is rated intermediate difficulty (20 min) and applies to Servers Are Up infrastructure and workflows.
Can I manage or automate these steps through the Servers Are Up dashboard, REST API v1, or MCP server?
Yes. Every Servers Are Up server includes browser-based SSH, WebRDP, and VNC console access in the dashboard, plus programmatic control via the REST API v1 (/api/v1) and hosted Model Context Protocol server (/api/mcp/v1) using a scoped Personal Access Token.

Need hands-on help with Deploy Cloud Blueprints, export HCL & lock Terraform state?

Every Servers Are Up virtual machine and container includes an integrated HTML5 browser-based SSH, RDP, and VNC console in your dashboard, default-off inbound firewall rules with per-IP allow-lists, and full programmatic control via REST API v1 and Model Context Protocol (MCP). Explore our Virtual Datacenter Plans or reach out to Servers Are Up Support.

Was this article helpful?

On this page

What you will have at the endBefore you startSteps1. List and preview turnkey Cloud Stack Blueprints2. Deploy a blueprint and inspect declarative deployment history3. Export live infrastructure as Declarative JSON or Terraform HCL4. Configure Terraform / OpenTofu HTTP remote state lockingCheck that it worksWhat can go wrongGood practiceWhere to go next
Need Live Commands?

Open Aria in Wide Engineering Mode for distro-specific commands, compose tweaks, and isolated environment troubleshooting.

Knowledge Library