Loading…
Loading documentation...
Preview and deploy Cloud Stack Blueprints, export 34 resource types to declarative JSON or Terraform HCL and lock remote state safely.
Commands checked on 2026-11-28 with SAU Resource Manager v1.7, Terraform HTTP State v4, sau CLI 0.3.0.
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}.
/dashboard with access to Operations > Resource manager & settings (/dashboard/resource-manager).cloud:read and cloud:write scopes (Account settings > API keys at /account/api-keys).terraform or tofu installed locally if you want to wire the encrypted HTTP remote state backend into a GitOps repository.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.
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.
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.
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.
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).
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>.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.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.staging-core, prod-core) so staging refactors can never acquire a lock against production.GET /api/v1/resource-manager?section=export&format=TERRAFORM_HCL periodically to detect console hotfixes and pull drift back into Git./dashboard/governance) so env and owner tags are always present.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.