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
32
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

              • 04/30/2026
                10:00 AM
                04/30/2026
                Insights into SaaS Data Protection from the Keepit Annual Data Report 2026
                https://www.truthinit.com/index.php/channel/1868/insights-into-saas-data-protection-from-the-keepit-annual-data-report-2026/
              • 04/30/2026
                01:00 PM
                04/30/2026
                The New Economics of a VMware Exit
                https://www.truthinit.com/index.php/channel/1880/the-new-economics-of-vmware-exit/
              • 05/06/2026
                02:00 AM
                05/06/2026
                Detecting Cyber Attacks Before They Evolve Into Breaches with AI Insights
                https://www.truthinit.com/index.php/channel/1886/detecting-cyber-attacks-before-they-evolve-into-breaches-with-ai-insights/
              • 05/06/2026
                10:00 PM
                05/06/2026
                World Password Day: Strategies for Managing Your Passwords Effectively.
                https://www.truthinit.com/index.php/channel/1913/world-password-day-strategies-for-managing-your-passwords-effectively/
              • 05/07/2026
                05:00 AM
                05/07/2026
                World Password Day: Strategies for Managing Your Passwords Effectively.
                https://www.truthinit.com/index.php/channel/1914/world-password-day-strategies-for-managing-your-passwords-effectively/
              • 05/07/2026
                01:00 PM
                05/07/2026
                World Password Day: Strategies for Managing Your Passwords Effectively
                https://www.truthinit.com/index.php/channel/1915/world-password-day-strategies-for-managing-your-passwords-effectively/
              • 05/12/2026
                01:00 PM
                05/12/2026
                Transforming Black Box to Glass Box: Revealing Hidden Threats and AI Risks through Data Lineage
                https://www.truthinit.com/index.php/channel/1895/transforming-black-box-to-glass-box-revealing-hidden-threats-and-ai-risks-through-data-lineage/
              • 05/12/2026
                11:30 PM
                05/12/2026
                Implement Effective Strategies for Securing Active Directory and Minimizing Data Exposure
                https://www.truthinit.com/index.php/channel/1888/implement-effective-strategies-for-securing-active-directory-and-minimizing-data-exposure/
              • 05/13/2026
                01:00 AM
                05/13/2026
                Transforming the Black Box: Revealing AI Risks and Hidden Threats through Data Lineage
                https://www.truthinit.com/index.php/channel/1890/transforming-the-black-box-revealing-ai-risks-and-hidden-threats-through-data-lineage/
              • 05/13/2026
                05:00 AM
                05/13/2026
                Transforming Black Box to Glass Box: Revealing AI Risks and Hidden Threats through Data Lineage
                https://www.truthinit.com/index.php/channel/1894/transforming-black-box-to-glass-box-revealing-ai-risks-and-hidden-threats-through-data-lineage/
              • 05/19/2026
                01:00 PM
                05/19/2026
                Spring of Satori: A Deep Dive into 2026's Threat Landscape and Findings
                https://www.truthinit.com/index.php/channel/1930/spring-of-satori-a-deep-dive-into-2026s-threat-landscape-and-findings/
              • 05/21/2026
                11:00 AM
                05/21/2026
                The Autonomous Era: Orchestrating a Resilient Enterprise
                https://www.truthinit.com/index.php/channel/1372/the-autonomous-era-orchestrating-a-resilient-enterprise/
              • 05/27/2026
                04:00 AM
                05/27/2026
                Rivoluziona i rischi dell'AI in opportunità con Netskope AI Security
                https://www.truthinit.com/index.php/channel/1925/rivoluziona-i-rischi-dellai-in-opportunità-con-netskope-ai-security/
              • 05/28/2026
                10:00 AM
                05/28/2026
                Transforming AI from fantasy to purposeful management
                https://www.truthinit.com/index.php/channel/1924/transforming-ai-from-fantasy-to-purposeful-management/

              Upcoming Events

              • Apr
                30

                Insights into SaaS Data Protection from the Keepit Annual Data Report 2026

                04/30/202610:00 AM ET
                • Apr
                  30

                  The New Economics of a VMware Exit

                  04/30/202601:00 PM ET
                  • May
                    06

                    Detecting Cyber Attacks Before They Evolve Into Breaches with AI Insights

                    05/06/202602:00 AM ET
                    • May
                      06

                      World Password Day: Strategies for Managing Your Passwords Effectively.

                      05/06/202610:00 PM ET
                      • May
                        07

                        World Password Day: Strategies for Managing Your Passwords Effectively.

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