Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW

Automating VM Deployments with Terraform & OpenNebula

Open Nebula
03/20/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


TL;DR

  • OpenNebula's Terraform provider enables Infrastructure as Code for managing virtualized environments through the XMLRPC API, supporting comprehensive resource types including hosts, VMs, networks, and storage
  • Proton chose OpenNebula for efficient local storage management, automated deployments via Terraform, and cost-effective Apache 2.0 licensing, replacing their previous NAS-based infrastructure
  • Proton's automation stack combines Terraform, Terragrunt, Atlantis, GitLab, and NetBox to enable self-service VM provisioning that completes in under 30 seconds
  • The implementation allows developers to independently deploy VMs through GitLab merge requests with automated approval workflows and infrastructure-as-code validation

Infrastructure as Code with OpenNebula

This session explores how OpenNebula integrates with Terraform to enable Infrastructure as Code (IaC) practices for managing virtualized environments. Victor Palma from OpenNebula introduces the OpenNebula Terraform provider, which uses the Go OpenNebula Cloud API library to communicate with OpenNebula's core through the XMLRPC API. The provider supports a comprehensive range of resources including hosts, datastores, VMs, templates, users, groups, marketplaces, networks, virtual routers, and cluster provisioning. Key use cases include environment parity across development, testing, and production stages, on-demand resource allocation for handling variable loads, automated testing with CI/CD integration, and rapid sandbox environment creation for experimentation. The session demonstrates practical configuration examples, including provider setup with endpoint credentials and resource definitions for KVM hosts and virtual machines with specific CPU, memory, and tagging configurations.

Proton's Production Implementation

Dan Cazacu, Senior Site Reliability Engineer at Proton, presents a real-world case study of automating VM deployments at scale. Proton selected OpenNebula for three primary reasons: efficient storage allocation using customizable storage drivers that enabled migration from NAS to local storage, automatic VM deployment capabilities through the Terraform provider, and cost-effective Apache 2.0 licensing. Their automation stack combines Terraform with Terragrunt for code reusability and concurrent deployments, Atlantis for automated pull request processing, GitLab for access control and self-service capabilities, and NetBox as a centralized source of truth for network infrastructure. The architecture enables developers to independently provision VMs through merge requests that trigger automated workflows, with the entire deployment process completing in under 30 seconds. Proton's implementation uses over 50 configurable variables in their in-house Terragrunt modules, allowing precise control over cluster selection, CPU models, datastores, image names, and host configurations while maintaining infrastructure as code principles across their multi-site deployment.

Chapters

0:00 - Introduction
0:38 - What is Infrastructure as Code?
1:56 - IaC & DevOps Use Cases
3:54 - OpenNebula Terraform Provider Overview
4:56 - Setting up Terraform
6:04 - Deploying VMs with Terraform
7:07 - Supported Resources
8:40 - Proton Case Study Introduction
9:27 - Why Proton Chose OpenNebula
12:06 - Automation Tools Overview
16:13 - Architecture Overview
18:46 - VM Deployment Example
21:13 - CI/CD Workflow

Key Quotes

9:34 "We chose Open Nebula for a couple of reasons. One of it was being efficient storage allocation."
10:00 "We tried to lower costs by removing NAS storage and trying to use local storage for our deployment, and Open Nebula helped us a lot with that because it has a lot of drivers that allows you to customize your storage needs."
14:45 "It allowed developers to use a self-service platform. Basically, every developer can come in and do a merge request, get approval, and raise a VM by themselves in a couple of minutes."
18:32 "This entire operation takes, I think, less than 30 seconds. It takes more to actually run the code, to write the code, than actually to run it."
20:44 "The number of optional variables that we actually have in our infrastructure are over 50 variables."
Categories:
  • » Data Management » Data Storage
  • » Cybersecurity » Application Security
  • » Data Management » DevOps
  • » Cybersecurity » Cloud Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Cloud Security
  • DevSecOps
  • Technical Deep Dive
  • How-To
  • Best Practices
  • Infrastructure as Code
  • Terraform
  • OpenNebula
  • VM Automation
  • DevOps
  • CI
  • CD
  • Self-Service Infrastructure
  • Storage Management
  • Terragrunt
  • Atlantis
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: Automating VM Deployments with Terraform & OpenNebula

              Upcoming Webinar Calendar

              • 06/17/2026
                12:00 PM
                06/17/2026
                Action1: The Remediation Gap: Vulnerability Management in the Age of AI
                https://www.truthinit.com/index.php/channel/2010/action1-the-remediation-gap-vulnerability-management-in-the-age-of-ai/
              • 06/23/2026
                01:00 PM
                06/23/2026
                The AI-Powered VMware Alternative
                https://www.truthinit.com/index.php/channel/2009/the-ai-powered-vmware-alternative/
              • 06/24/2026
                11:00 AM
                06/24/2026
                LATAM: Accelerating Insights on AI Through an Engaging Webinar Series
                https://www.truthinit.com/index.php/channel/2012/accelerating-insights-on-ai-through-an-engaging-webinar-series/
              • 06/25/2026
                01:00 PM
                06/25/2026
                Generative AI Security: Preventing AI from Becoming a Data Breach Multiplier
                https://www.truthinit.com/index.php/channel/1998/generative-ai-security-preventing-ai-from-becoming-a-data-breach-multiplier/
              • 07/01/2026
                04:00 AM
                07/01/2026
                Schutz von KI in Anwendungen, Agenten und APIs.
                https://www.truthinit.com/index.php/channel/2008/schutz-von-ki-in-anwendungen-agenten-und-apis/
              • 07/02/2026
                10:00 AM
                07/02/2026
                Resilience Insights from Hybrid Threats When the Cloud Faces Challenges
                https://www.truthinit.com/index.php/channel/2011/resilience-insights-from-hybrid-threats-when-the-cloud-faces-challenges/

              Upcoming Events

              • Jun
                17

                Action1: The Remediation Gap: Vulnerability Management in the Age of AI

                06/17/202612:00 PM ET
                • Jun
                  23

                  The AI-Powered VMware Alternative

                  06/23/202601:00 PM ET
                  • Jun
                    24

                    LATAM: Accelerating Insights on AI Through an Engaging Webinar Series

                    06/24/202611:00 AM ET
                    • Jun
                      25

                      Generative AI Security: Preventing AI from Becoming a Data Breach Multiplier

                      06/25/202601:00 PM ET
                      • Jul
                        01

                        Schutz von KI in Anwendungen, Agenten und APIs.

                        07/01/202604:00 AM ET
                        More events
                        Truth in IT
                        • Sponsor
                        • About Us
                        • Terms of Service
                        • Privacy Policy
                        • Contact Us
                        • Preference Management
                        Desktop version
                        Standard version