> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polystack.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Orchestration

> Template-based infrastructure orchestration for Polystack Cloud Platform. Define, deploy, and manage cloud resources as code using declarative orchestration.

Define and deploy cloud infrastructure as code using declarative templates.
Polystack Orchestration enables repeatable, version-controlled provisioning of entire
application stacks — compute, networking, storage, and scaling policies — from a
single template file.

<Card title="Powered by VM2Cloud" icon="up-right-from-square" href="https://vm2cloud.com/" color="#bf9667" horizontal>
  Ironcore virtualization technology is powered by VM2Cloud.
</Card>

***

<p style={{ fontSize: '1.25rem', fontWeight: 700, marginBottom: '0.75rem' }}>Orchestration</p>

<CardGroup cols={4}>
  <Card title="User Guide" icon="book-open" href="/services/orchestration/user-guide" color="#bf9667">
    Create stacks, manage resources, configure auto-scaling, and work with
    orchestration templates for your infrastructure.
  </Card>

  <Card title="Admin Guide" icon="shield-halved" href="/services/orchestration/admin-guide" color="#bf9667">
    Configure the Orchestration service, manage the stack domain, tune
    performance, and secure template-based deployments.
  </Card>

  <Card title="Template Guide" icon="file-code" href="/services/orchestration/template-guide" color="#bf9667">
    Deep reference for template structure, parameter types, resource
    definitions, intrinsic functions, and conditions.
  </Card>

  <Card title="CLI Reference" icon="terminal" href="/services/orchestration/cli-reference" color="#bf9667">
    Command-line operations for stack create, update, list, show, delete,
    and template validation.
  </Card>
</CardGroup>

***

<p style={{ fontSize: '1.25rem', fontWeight: 700, marginBottom: '0.75rem' }}>Key Capabilities</p>

<CardGroup cols={3}>
  <Card title="Template-Based Deployment" icon="file-code" href="/services/orchestration/template-guide" color="#bf9667">
    Describe your entire infrastructure in a single declarative template.
    Provision networks, instances, volumes, and policies with one API call.
  </Card>

  <Card title="Auto-Scaling" icon="arrow-trend-up" href="/services/orchestration/autoscaling" color="#bf9667">
    Define scaling groups and alarm-driven policies to automatically grow or
    shrink instance pools in response to real-time demand.
  </Card>

  <Card title="Stack Composition" icon="layer-group" href="/services/orchestration/stacks" color="#bf9667">
    Compose large deployments from smaller, reusable nested stacks. Share
    templates across projects and environments.
  </Card>

  <Card title="Resource Management" icon="boxes-stacked" href="/services/orchestration/resources" color="#bf9667">
    Manage the full lifecycle of every resource in a stack as a unit — create,
    update, rollback, suspend, resume, and delete together.
  </Card>

  <Card title="High Availability Support" icon="heart-pulse" href="/services/instance-ha/index" color="#bf9667">
    Model multi-zone, load-balanced, and auto-recovering application topologies
    directly in your orchestration templates.
  </Card>

  <Card title="Plugin Extensibility" icon="puzzle-piece" href="/services/orchestration/configuration" color="#bf9667">
    Over 100 built-in resource types covering compute, networking, storage,
    identity, and orchestration primitives. Custom plugins supported.
  </Card>
</CardGroup>

***

<p style={{ fontSize: '1.25rem', fontWeight: 700, marginBottom: '0.75rem' }}>How It Works</p>

```mermaid theme={null}
graph TD
    U([User / Dashboard]) -->|Submit template| API[Orchestration API<br/>:8004]
    API -->|Parse & validate| ENG[Orchestration Engine]
    ENG -->|Resolve dependencies| DEPS[Dependency Graph]
    DEPS -->|Provision resources| COMPUTE[Polystack Compute]
    DEPS -->|Provision resources| NET[Polystack Networking]
    DEPS -->|Provision resources| STORE[Polystack Block Storage]
    DEPS -->|Provision resources| ID[Polystack Identity]
    COMPUTE & NET & STORE & ID -->|Report status| ENG
    ENG -->|Stack status| API
    API -->|Stack output| U
    style API fill:#bf9667,color:#fff
    style ENG fill:#bf9667,color:#fff
    style DEPS fill:#bf9667,color:#fff
```

***

<p style={{ fontSize: '1.25rem', fontWeight: 700, marginBottom: '0.75rem' }}>Related Services</p>

<CardGroup cols={4}>
  <Card title="Polystack Compute" icon="server" href="/services/compute" color="#bf9667">
    Virtual machine instances provisioned and managed by orchestration stacks
  </Card>

  <Card title="Polystack Block Storage" icon="hard-drive" href="/services/storage/index" color="#bf9667">
    Persistent volumes created and attached through orchestration templates
  </Card>

  <Card title="Polystack Networking" icon="network-wired" href="/services/networking/index" color="#bf9667">
    Networks, subnets, routers, and floating IPs defined in stack templates
  </Card>

  <Card title="Polystack Load Balancer" icon="object-group" href="/services/load-balancer" color="#bf9667">
    Load balancer resources for auto-scaling groups in orchestration stacks
  </Card>
</CardGroup>
