Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xloud.tech/llms.txt

Use this file to discover all available pages before exploring further.

Overview

A is the fundamental unit of Xloud 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 Xloud Image Service
  • At least one flavor available for your project
  • A network available in your project
  • xloud CLI installed and authenticated (see CLI Setup)

What Is a Stack?

A stack groups related cloud resources into a single deployable unit:
ConceptDescription
TemplateA YAML file declaring the resources, parameters, and outputs for a deployment
StackThe live instantiation of a template — the actual running resources
ParameterA runtime variable that customizes a template without editing it
OutputA value produced by the stack (e.g., an IP address) returned after creation
ResourceA single cloud object managed by the stack (instance, network, volume, etc.)

Example Template

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

description: >
  A minimal orchestration template that launches a single compute
  instance with a parameterized flavor and key pair.

parameters:
  instance_name:
    type: string
    label: Instance Name
    description: Display name for the compute instance
    default: my-first-instance

  flavor:
    type: string
    label: Flavor
    description: Compute flavor (vCPU and RAM profile)
    default: m1.small

  image:
    type: string
    label: Image
    description: OS image name or ID to boot from
    default: Ubuntu-22.04

  key_name:
    type: string
    label: Key Pair
    description: SSH key pair for instance access

  network:
    type: string
    label: Network
    description: Network to attach the instance to
    default: default

resources:
  my_instance:
    type: Xloud::Compute::Server
    properties:
      name: { get_param: instance_name }
      flavor: { get_param: flavor }
      image: { get_param: image }
      key_name: { get_param: key_name }
      networks:
        - network: { get_param: network }

outputs:
  instance_id:
    description: The ID of the created instance
    value: { get_resource: my_instance }

  instance_ip:
    description: The assigned IP address
    value: { get_attr: [my_instance, first_address] }

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

FieldTypeRequiredDescription
Template ContentText area with file uploadYesPaste YAML template or upload a .yaml file
Environment VariableText area with file uploadNoOptional environment variables file for template parameters
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

FieldTypeRequiredDefaultDescription
Stack NameTextYesUnique name for this stack
Creation Timeout (Minutes)NumberYes60Time before creation is marked as failed
Fail RollbackRadioYesEnableEnable: delete resources on failure. Disable: keep resources on failure
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