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

              Industry Events (Sponsor Hosted)

              • Sep
                17

                Bridging the SaaS Protection Gap: Preventing Data Loss and AI Missteps

                09/17/202610:00 AM ET
                • Sep
                  17

                  Unveiling the AI-Driven Underworld of Automation's Rapid Rise

                  09/17/202601:00 PM ET
                  • Sep
                    23

                    Visibility Gaps: Shielding Your Data from the Unseen Threats

                    09/23/202601:00 PM ET
                    More events

                    Upcoming Webinar Calendar

                    • 09/17/2026
                      10:00 AM
                      09/17/2026
                      Bridging the SaaS Protection Gap: Preventing Data Loss and AI Missteps
                      https://www.truthinit.com/index.php/channel/2119/bridging-the-saas-protection-gap-preventing-data-loss-and-ai-missteps/
                    • 09/17/2026
                      01:00 PM
                      09/17/2026
                      Unveiling the AI-Driven Underworld of Automation's Rapid Rise
                      https://www.truthinit.com/index.php/channel/2108/unveiling-the-ai-driven-underworld-of-automations-rapid-rise/
                    • 09/23/2026
                      01:00 PM
                      09/23/2026
                      Visibility Gaps: Shielding Your Data from the Unseen Threats
                      https://www.truthinit.com/index.php/channel/2087/visibility-gaps-shielding-your-data-from-the-unseen-threats/
                    • 09/29/2026
                      12:00 PM
                      09/29/2026
                      Embracing AI Adoption While Ensuring Robust Security Measures
                      https://www.truthinit.com/index.php/channel/2092/embracing-ai-adoption-while-ensuring-robust-security-measures/
                    • 09/30/2026
                      04:00 AM
                      09/30/2026
                      AI Command Center: Enhancing Visibility and Control in Operations
                      https://www.truthinit.com/index.php/channel/2024/ai-command-center-enhancing-visibility-and-control-in-operations/
                    • 11/19/2026
                      01:00 PM
                      11/19/2026
                      360View: Govern, Secure & Recover Your Microsoft 365 Environment
                      https://www.truthinit.com/index.php/channel/2076/360view-govern-secure-recover-your-microsoft-365-environment/
                    Truth in IT
                    • Sponsor
                    • About Us
                    • Terms of Service
                    • Privacy Policy
                    • Contact Us
                    • Preference Management
                    Desktop version
                    Standard version