DevOps tools

Why Infrastructure as Code (IaC) Matters

Why Infrastructure as Code (IaC) Matters

Infrastructure as Code (IaC) transforms the way we manage servers, networks, and virtual machines by replacing manual, error-prone setup through web interfaces with repeatable, version-controlled code. This approach ensures consistent environments, accelerates provisioning, and improves scalability while reducing costs and human error. Whether you're working with Pulumi, Terraform, Packer, Ansible, PowerShell, our Go SDK, or deploying Kubernetes clusters with Pyrgos, our DevOps tools empowers your teams to automate and scale infrastructure with confidence.

  • Design in code

  • Build golden template images

  • Extend & integrate

  • Deploy complex apps with containers

Unlock the true potential of your servers

IaC turns infrastructure into something you can version, test, and share just like code,
making DevOps workflows more reliable, collaborative, and efficient.

Managing Virtual Infrastructure with Pulumi

To bring even more power and flexibility to Infrastructure as Code, you can use Pulumi, a modern IaC platform that supports familiar programming languages like TypeScript, Python, Go, C# and YAML. With our custom Pulumi Provider for Xen Orchestra, teams can manage their virtual infrastructure with the same tools and workflows they already use for application development.
This approach offers several key advantages:

  • Unified codebase: Cloud, on-premise, and application resources can be managed side by side, using a single language and tooling ecosystem.
  • Reusable components: Infrastructure blueprints can be packaged and shared across teams, making deployments faster, more consistent, and easier to maintain.

Read more in our blog

Terraform Support for Xen Orchestra

We also support Terraform, the most widely adopted Infrastructure as Code tool in the industry. Our Terraform Provider for Xen Orchestra allows teams to describe their virtualization environments using straightforward .tf configuration files. This brings the power of declarative infrastructure management to your on-prem virtualization stack.
Key benefits include:

  • Widespread adoption: Terraform is familiar to most DevOps teams, making onboarding easy.
  • Declarative configuration: Simply define the desired state—like “3 VMs with specific specs”—and Terraform takes care of the provisioning.
  • Auditability: All changes are tracked in version control, creating a clear history of infrastructure evolution.
  • Safe rollbacks: If something goes wrong, you can easily revert to a stable, known-good configuration.

Read more in our blog

Automating VM Image Creation with Packer for XCP-ng

To streamline and standardize virtual machine deployments, we leverage Packer, a popular tool for automating the creation of machine images. Our Packer Builder Plugin for XCP-ng allows you to generate pre-configured VM templates—including operating systems, updates, and applications—ready to deploy in seconds.
Key advantages include:

  • Golden images: Build and maintain a single, trusted template that includes all required configurations and software.
  • Faster provisioning: New virtual machines can be launched in seconds from a ready-to-use image.
  • Consistency: Each VM starts from the same base image, ensuring predictable behavior and fewer environment-specific issues.
  • Cost savings: Reduce deployment time and operational overhead by using customized, reusable VM templates.

Read more in our blog

Build Custom Integrations with the Go SDK for Xen Orchestra

For teams building advanced tooling or automation around virtualization, we offer a Go SDK for Xen Orchestra. This library provides a convenient wrapper around the Xen Orchestra API, enabling developers to interact with their infrastructure programmatically from within Go applications.
Benefits include:

  • Custom workflows: Seamlessly embed virtualization tasks—like provisioning, backups, or monitoring—into your own Go-based tools.
  • Flexibility: Automate exactly what you need, from simple scripts to full lifecycle orchestration.
  • Extendibility: Develop custom features and integrations on top of Xen Orchestra’s API.
  • Cloud-native ready: Written in Go—the go-to language for Kubernetes and modern cloud-native ecosystems—this SDK fits naturally into today’s DevOps stacks.

With the Go SDK, you’re not just using infrastructure tools—you’re building your own, tailored to your specific needs.

Read more in our blog

Scripting Virtualization Tasks with the PowerShell Module for Xen Orchestra

For teams operating in Windows environments—or across platforms—we provide a PowerShell Module for Xen Orchestra. This module offers a comprehensive set of PowerShell commands to script and automate virtualization tasks, whether you're running on Windows, macOS, or Linux.
Benefits include:

  • Windows-friendly: Ideal for teams already using PowerShell in their daily workflows.
  • Scriptable automation: Use familiar cmdlets to manage virtual machines, storage, snapshots, and more.
  • Seamless integration: Easily plug into existing PowerShell scripts, Windows Task Scheduler, or enterprise automation systems.

Read more in our blog

Dynamic Ansible Inventory Integration for Xen Orchestra

Ansible is one of the most widely used tools for automating server and application configuration at scale. To streamline its use in virtualized environments, we offer a dynamic inventory plugin for Ansible, tightly integrated with Xen Orchestra. This plugin automatically keeps your VM list in sync with Ansible’s inventory—no manual updates required.
Key benefits include:

  • Seamless integration: Easily connect with existing Ansible playbooks and workflows.
  • Fewer errors: As virtual machines are added, removed, or modified, your inventory stays up to date—reducing the risk of configuration drift.

This module focuses solely on providing dynamic inventory.

Read more in our blog

Project Pyrgos: Quick Kubernetes Deployment

Project Pyrgos is our internal initiative aimed at simplifying access to Kubernetes for development teams. It’s a streamlined "recipe" that deploys a fully functional Kubernetes cluster inside Xen Orchestra—in just a few clicks. No need to spend hours configuring nodes or wrestling with networking settings: Pyrgos handles it all.
Highlights include:

  • One-step deployment: Launch a production-ready Kubernetes cluster in under 10 minutes using a simple form interface.
  • Best practices built-in: Includes secure defaults, high availability (HA), and up-to-date networking and OS configurations.
  • Powered by MicroK8s: Uses Canonical’s MicroK8s distribution for stability and reliability.
  • Container-ready: Run and orchestrate your Docker or OCI containers using the most popular cloud-native tools.

Read more in our blog

The power of open-source with
enterprise level support

  • Professional team

    full time employed developers

  • 24/7 support

    full time employed engineers

  • Included in all plans

    No extra-cost

  • Active community

    support each other, achieve together

It all started with XCP-ng

It all started with XCP-ng

XCP-ng is the hypervisor layer of your infrastructure, the first thing you need to install on your server.

Discover XCP-ng

XCP-ng logo

Elevate your infrastructure with Xen Orchestra

Transform your infrastructure into a truly complete virtualization platform with the combination of Xen Orchestra and XCP-ng.

Discover Xen Orchestra

Jump to: