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

              • 05/12/2026
                11:30 PM
                05/12/2026
                Implementing Effective Strategies for Active Directory Security and Data Protection
                https://www.truthinit.com/index.php/channel/1888/implementing-effective-strategies-for-active-directory-security-and-data-protection/
              • 05/13/2026
                01:00 AM
                05/13/2026
                Transforming the Black Box: Reveal Hidden Threats and AI Risks through Data Lineage
                https://www.truthinit.com/index.php/channel/1890/transforming-the-black-box-reveal-hidden-threats-and-ai-risks-through-data-lineage/
              • 05/13/2026
                05: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/1894/transforming-the-black-box-revealing-ai-risks-and-hidden-threats-through-data-lineage/
              • 05/19/2026
                01:00 PM
                05/19/2026
                Establishing a Robust AI Governance Framework for GenAI Throughout Deployment Phases
                https://www.truthinit.com/index.php/channel/1936/establishing-a-robust-ai-governance-framework-for-genai-throughout-deployment-phases/
              • 05/20/2026
                08:00 AM
                05/20/2026
                Establishing a Robust AI Governance Framework for GenAI Throughout Its Lifecycle
                https://www.truthinit.com/index.php/channel/1937/establishing-a-robust-ai-governance-framework-for-genai-throughout-its-lifecycle/
              • 05/20/2026
                10:00 PM
                05/20/2026
                Establishing a Robust AI Governance Framework for GenAI Throughout Its Lifecycle
                https://www.truthinit.com/index.php/channel/1953/establishing-a-robust-ai-governance-framework-for-genai-throughout-its-lifecycle/
              • 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/27/2026
                10:00 AM
                05/27/2026
                Harnessing AI: Transitioning from Illusion to Purposeful Mastery
                https://www.truthinit.com/index.php/channel/1924/harnessing-ai-transitioning-from-illusion-to-purposeful-mastery/
              • 05/28/2026
                01:00 PM
                05/28/2026
                Harnessing AI for Smaller Teams: Strategies for Secure Implementation
                https://www.truthinit.com/index.php/channel/1951/harnessing-ai-for-smaller-teams-strategies-for-secure-implementation/
              • 06/02/2026
                01:00 PM
                06/02/2026
                Spring of Satori: Delving into Recent Findings and the 2026 Threat Landscape
                https://www.truthinit.com/index.php/channel/1930/spring-of-satori-delving-into-recent-findings-and-the-2026-threat-landscape/
              • 06/04/2026
                02:00 AM
                06/04/2026
                Mastering the Unseen: Managing Shadow AI and Agentic MCP Traffic
                https://www.truthinit.com/index.php/channel/1948/mastering-the-unseen-managing-shadow-ai-and-agentic-mcp-traffic/
              • 06/16/2026
                07:00 AM
                06/16/2026
                Transforming Data Risk into Actionable Priorities: Essential Fixes First
                https://www.truthinit.com/index.php/channel/1952/transforming-data-risk-into-actionable-priorities-essential-fixes-first/

              Upcoming Events

              • May
                12

                Implementing Effective Strategies for Active Directory Security and Data Protection

                05/12/202611:30 PM ET
                • May
                  13

                  Transforming the Black Box: Reveal Hidden Threats and AI Risks through Data Lineage

                  05/13/202601:00 AM ET
                  • May
                    13

                    Transforming the Black Box: Revealing AI Risks and Hidden Threats through Data Lineage

                    05/13/202605:00 AM ET
                    • May
                      19

                      Establishing a Robust AI Governance Framework for GenAI Throughout Deployment Phases

                      05/19/202601:00 PM ET
                      • May
                        20

                        Establishing a Robust AI Governance Framework for GenAI Throughout Its Lifecycle

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