Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Building virtual machines with Red Hat Developer Hub: The what, why, and how

August 9, 2024
Valentina Rodriguez Sosa
Related topics:
Developer productivityDeveloper toolsDevOpsGitOpsHelmVirtualization
Related products:
Red Hat Developer HubRed Hat OpenShiftRed Hat OpenShift Container PlatformRed Hat OpenShift Virtualization

    Red Hat OpenShift Virtualization enables teams to run and deploy their new and existing virtual machine (VM) workloads into Red Hat OpenShift. OpenShift Virtualization offers a path for infrastructure and application modernization, taking advantage of the simplicity and speed of a cloud-native application platform and aims to preserve existing virtualization investments while embracing modern management principles.

    What are the main benefits of Red Hat OpenShift Virtualization?

    Red Hat OpenShift Virtualization offers developers, IT operations, and platform engineers a comprehensive solution that simplifies VM migration and deployment, speeds up time to production, and unifies management across VMs, containers, and serverless workloads (Figure 1). Integrating existing virtual machines with cloud-native architectures paves the way for application modernization and maximizes your virtualization investments. Read more on the benefits of Red Hat OpenShift Virtualization.

    Four boxes, each labeled with one of the benefits provided by OpenShift Virtualization. They read Easy migration, Speed up time to production, Manage everything from one platform, and A path to infrastructure modernization, respectively.
    Figure 1: Benefits of Red Hat OpenShift Virtualization.

    Introduction to Red Hat Developer Hub

    Red Hat Developer Hub  is a developer portal that enables teams to work efficiently and seamlessly with containers and cloud technologies while integrating best practices and scaling them across any organization. Developers and platform engineering teams are part of many successful stories to bring modernization and new application capabilities.  

    Red Hat Developer Hub and OpenShift Virtualization

    Red Hat Developer Hub provides a single pane of glass that also allows legacy applications and third-party systems to be migrated by leveraging Red Hat OpenShift Virtualization. Teams can build virtual machines through the Red Hat Developer Hub, streamlining the development process and reducing complexity. This comprehensive approach not only enhances productivity but also supports the seamless integration of diverse application delivery technologies.

    Using OpenShift Virtualization to build virtual machines with Red Hat Developer Hub:

    • Removes complexity for DevOps and developers.
    • Reduces the time to access a VM.
    • Standardizes VMs creation with best practices.

    Benefits of building virtual machines with Red Hat Developer Hub include:

    • The ability to scale operations by providing self-service provisioning.
    • Consistency across organizations based on best practices when building in VMs.
    • The capability to ensure that the VMs created are the only ones available for provisioning.
    • The capacity to automate VM creation using software templates for consistency and scale across different teams.
    • The use of Developer Hub's single pane of glass for legacy systems to cloud-native architectures.
    • The ability to maintain user access using the Red Hat Developer Hub.
    • The use of GitOps to manage everything as code for scalability and resiliency.
    • Easy access and leverage cloud-native technologies such as OpenShift Pipelines and Red Hat OpenShift Service Mesh for your virtual machines.

    Red Hat Developer Hub uses the power of GitOps to create and maintain the VMs definition in the Kubernetes cluster. 

    OpenShift GitOps enables customers to build and integrate declarative git driven CD workflows directly into their application development platform.

    Key features from Red Hat OpenShift GitOps

    Red Hat OpenShift GitOps helps you automate the following tasks:

    • Ensuring that clusters have similar states for configuration, monitoring, and storage.
    • Applying or reverting configuration changes to multiple Red Hat OpenShift Container Platform clusters.
    • Associating templated configuration with different environments.
    • Promoting applications across clusters, from staging to production.

    Figure 2 depicts the GitOps workflow.

    A depiction of the GitOps workflow, moving from What you want (desired state) on the left, then CD in the middle, then What you have (current state) on the right.
    Figure 2: GitOps Workflow showing desired state vs current state in the cluster.

    OpenShift GitOps will ensure your desired state is the current state in the cluster making it easier to manage and scale your VMs configurations.

    Provisioning a VM with Red Hat Developer Hub

    The user could be anyone with the rights to create a new virtual machine, from operations to platform engineers or developers. The user will interact with Developer Hub to select the desired VM instance type and add the specific configurations. After this, Developer Hub will use the power of GitOps to build the new virtual machines in OpenShift with OpenShift Virtualization. Figure 3 illustrates Developer Hub's role in the VM creation process.

    An illustration of Developer Hub's role in the VM creation process, showing that Developer Hub automates VM image builds and updates.
    Figure 3: Red Hat Developer Hub as part of the VM creation process.

    Red Hat Developer Hub’s two main components to build virtual machines

    Developer Hub enhances its functionality through dynamic plug-in integrations, enabling seamless development experience:

    • GitLab plug-in: Developer Hub is integrated with GitLab to read the software templates and create new repositories; this happens as part of the component creation defined in the software templates. Other SCM plug-ins are available for integration such as GitHub and Gitea.
    • OpenShift GitOps plug-in: Developer Hub is integrated with OpenShift GitOps to manage the application state in the OpenShift cluster as defined in the source code repository. 

    Developer Hub also enables software templates:

    • Software templates define the application build and deployment containing Kubernetes artifacts from pipelines, deployments, or any Kubernetes manifests.
    • VMs manifest definitions are required to build the Virtual Machine using OpenShift Virtualization.

    Conclusion

    We can continue pursuing developer productivity by giving the tools necessary for them to succeed in building applications no matter the application’s architecture, from legacy systems to cloud-native technologies. Red Hat Developer Hub and OpenShift Virtualization can bring both solutions to developers to empower them with self-service on their software development lifecycle.

    Next

    Continue reading Part 2 of this series: A self-service approach to building virtual machines at scale.

    Explore more topics:

    • More about Red Hat Developer Hub and Software Templates

    • Red Hat Developer Hub Supported Plug-ins

    • 15 Reasons to Adopt OpenShift Virtualization

    Last updated: September 13, 2024

    Related Posts

    • Red Hat Developer Hub: Your gateway to seamless development

    • Achieve more with less using Red Hat Developer Hub's self-service features

    • First steps with the data virtualization Operator for Red Hat OpenShift

    • A developer’s guide to Red Hat Developer Hub and Janus

    Recent Posts

    • Protect data offloaded to GPU-accelerated environments with OpenShift sandboxed containers

    • Case study: Measuring energy efficiency on the x64 platform

    • How to prevent AI inference stack silent failures

    • Preventing GPU waste: A guide to JIT checkpointing with Kubeflow Trainer on OpenShift AI

    • How to manage TLS certificates used by OpenShift GitOps operator

    What’s up next?

    In this learning path, learn how to install the Red Hat Developer Hub internal developer platform and learn the concepts and skills you need to install your IDP, configure simple GitHub authorization, and explore templating basics.
    Start the activity
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.