Skip to main content

Overview

A is the fundamental unit of Polystack Orchestration. You describe the desired infrastructure in an orchestration template, submit it to the Orchestration API, and the engine provisions every resource in dependency order, reporting the overall stack status when complete.
Prerequisites
  • A project with member or admin role
  • At least one image available in the Polystack Image Service
  • At least one flavor available for your project
  • A network available in your project
  • polystack CLI installed and authenticated (see CLI Setup)

What Is a Stack?

A stack groups related cloud resources into a single deployable unit:

Example Template

The following template launches a single compute instance with a configurable flavor. Save it as first-stack.yaml:
first-stack.yaml

Create a Stack

Navigate to Orchestration

Navigate to Orchestration > Stacks.
2

Open the Create Stack wizard

Click Create Stack. The 2-step wizard opens.
3

Step 1 — Prepare Template

The template is validated for YAML syntax. Click Next to proceed.
Environment variable files let you separate configuration from the template. Parameters in the environment file must match those defined in the template.
4

Step 2 — Orchestration Information

Below these fields, dynamic parameter fields appear based on the template’s parameters section. Each template parameter becomes a form field with:
  • Type mapped from template: string → text input, number → number input, json → JSON input, boolean → Yes/No radio
  • Default values pre-populated from template
  • Description shown as help text
Click Confirm to create the stack.
The stack appears in the list with status Create In Progress.
5

Monitor progress

Click the stack name to open the detail view. Four tabs are available:
  • Detail — Startup parameters (timeout, rollback), outputs, deployment parameters
  • Stack Resources — List of provisioned resources with links to their detail pages
  • Stack Events — Real-time provisioning events with timestamps and status
  • YAML File — Read-only view of the template YAML
Status transitions to Create Complete when all resources are successfully provisioned.

List and Inspect Stacks

Navigate to Orchestration > Stacks to see all stacks in your project. Click any stack to view its detail, resources, events, and template.

Delete a Stack

Deleting a stack permanently deletes all resources it manages. This includes instances, volumes, networks, and any other resources created by the template. This operation cannot be undone.
In the Stacks list, check the box next to your stack and click Delete Stacks. Confirm the deletion in the dialog.
Stack status transitions to Delete In Progress, then disappears from the list.

Next Steps

Template Guide

Learn template structure, parameter types, and intrinsic functions

Resource Types

Explore compute, network, storage, and identity resource definitions

Manage Stacks

Update, suspend, resume, and manage the stack lifecycle

Auto-Scaling

Scale instance groups automatically with alarm-driven policies