Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Red Hat Developer Hub: The fastest path to Backstage on Kubernetes

Get up and running with Red Hat Developer Hub, an internal developer portal built on Backstage, on Red Hat OpenShift in under 10 minutes

November 25, 2024
Evan Shortiss
Related topics:
Developer ProductivityDeveloper ToolsDevSecOps
Related products:
Red Hat Developer HubRed Hat OpenShift

Share:

    Have you heard the buzz surrounding platform engineering and internal developer portals (IDP) but haven’t had the chance to try Backstage for yourself? Perhaps you were put off by the effort required to get Backstage running in your own Kubernetes environment, or maybe your rollout plans got derailed when it came to finding operators with the required skills and free time? 

    Well, fear not! In the next 10 minutes you’ll have your own instance of Backstage hosted on a Kubernetes cluster. Specifically, you’ll deploy Red Hat Developer Hub on Red Hat OpenShift. You can think of these as Red Hat’s enterprise distributions of Backstage and Kubernetes, respectively. 

    If you prefer to watch and follow along, the following video demonstrates the steps outlined in this article.

    Why Red Hat Developer Hub?

    Red Hat Developer Hub is an internal developer portal built on Backstage. Deploying and managing upstream Backstage on Kubernetes involves a lot of undifferentiated heavy lifting. Using a commercially supported distribution of Backstage (like Red Hat Developer Hub) enables you to focus on improving your developer experience, instead of wrangling with complex build processes, dependency updates, and worrying about plug-in support.

    Without further ado, let’s get back on track and deploy Red Hat Developer Hub on Red Hat OpenShift from the Developer Sandbox for Red Hat OpenShift.

    Log in to OpenShift from the Developer Sandbox

    Note: This article assumes you’re using Red Hat OpenShift provided by the Developer Sandbox. You can follow along in your own Red Hat OpenShift environment if it’s version 4.13 or greater, if you prefer.

    The Developer Sandbox for Red Hat OpenShift provides 30 days of free access to a hosted and managed instance of Red Hat OpenShift. 

    Accessing your OpenShift instance from the Developer Sandbox is as simple as logging in to console.redhat.com, expanding the Services list, and selecting the Developer Sandbox item under Try and Buy. Figure 1 shows the Developer Sandbox item in the Try and Buy section.

    Finding Developer Sandbox in the Red Hat Hybrid Cloud Console
    Finding Developer Sandbox in the Red Hat Hybrid Cloud Console
    Figure 1: Finding Developer Sandbox in the Red Hat Hybrid Console.

    The Developer Sandbox includes access to Red Hat OpenShift, Red Hat OpenShift Dev Spaces, and Red Hat OpenShift AI. Click the Launch button on the Red Hat OpenShift item in your Developer Sandbox, as shown in Figure 2.

    Launching Red Hat OpenShift from the Developer Sandbox
    Figure 2: Launching Red Hat OpenShift from the Developer Sandbox
    Figure 2: Launching Red Hat OpenShift from the Developer Sandbox.

    Once you’ve logged in to your Red Hat OpenShift environment, select the project that corresponds to your username—think of this as the Kubernetes namespace where you’ll deploy Red Hat Developer Hub. You can see my evanshortiss-dev project in Figure 3.

    The OpenShift Console showing the user's Project and Add menu.
    Figure 3: The OpenShift Console showing the user's Project and Add menu.
    Figure 3: The OpenShift console showing the user's Project and Add menu.

    Deploy Red Hat Developer Hub using Helm

    It’s possible to deploy and manage Red Hat Developer Hub using our Helm chart or Operator. In this section, we'll review the Helm chart approach.

    Find the Helm chart

    Get started by switching to the Developer Perspective in your OpenShift environment and clicking the +Add link. Scroll down and select the Helm Chart option on the Add screen, as seen in Figure 4.

    Finding the Helm Chart item in the Add menu of the OpenShift Console.
    Figure 4: Finding the Helm Chart item in the Add menu of the OpenShift Console.
    Figure 4: Finding the Helm chart item in the +Add menu of the OpenShift console.

    Enable the filter for Red Hat-sourced charts, then search for developer hub. Select the Red Hat Developer Hub chart from the filtered list of entries, and click Create. This is shown in Figure 5.

    The Red Hat Developer Hub Helm Chart in the OpenShift Console.
    Figure 5: The Red Hat Developer Hub Helm Chart in the OpenShift Console.
    Figure 5: The Red Hat Developer Hub Helm chart in the OpenShift console.

    Configure routes and guest authentication

    On the Create Helm Release screen, select a 1.3.x release in the Chart Version dropdown, then switch to the YAML View. 

    Edit the clusterRouterBase property to match the router base URL of your OpenShift environment. You can deduce this value by copying the hostname from the address bar in your web browser and removing the console-openshift-console prefix. 

    For example, if the URL in your web browser’s address bar is:

    console-openshift-console.apps.sandbox-m3.1530.p1.openshiftapps.com

    You need to set the clusterRouterBase to:

    apps.sandbox-m3.1530.p1.openshiftapps.com

    Next, enable guest authentication for the Red Hat Developer Hub instance by adding the guest authentication provider under the appConfig.auth field in the YAML. Your configuration should look similar to this example:

    upstream:
      backstage:
        appConfig:
          auth:
            providers:
              guest:
                dangerouslyAllowOutsideDevelopment: true

    Note: The guest authentication provider is used for simplicity in this article. Configure an authentication provider as described in the Red Hat Developer Hub documentation when you’ve finished this article.

    Click Create to deploy Red Hat Developer Hub using the Helm chart. You’ll be redirected to the Topology View for your project while the deployment progresses.

    Once the deployment is complete, both the Postgres and Red Hat Developer Hub nodes in the Topology View will be surrounded by dark blue rings, as shown in Figure 6.

    Red Hat Developer Hub as seen in the OpenShift Topology view.
    Figure 6: Red Hat Developer Hub as seen in the OpenShift Topology view.
    Figure 6: Red Hat Developer Hub as seen in the OpenShift Topology view.

    Log in to Red Hat Developer Hub

    Use the Open URL icon on the redhat-developer-hub node in the Topology View to access your Backstage instance. 

    Two login options are presented: Guest and GitHub. Choose the Guest option, because you haven’t configured the GitHub Authentication provider—you’ll automatically be logged in as a guest user. Confirm this by visiting the Settings screen, as shown in Figure 7.

    The Settings screen in Red Hat Developer Hub.
    Figure 7: The Settings screen in Red Hat Developer Hub.
    Figure 7: The Settings screen in Red Hat Developer Hub.

    At this point you can explore a core feature of Backstage: the Software Catalog. Of course, you’ll find that it’s empty since you need to import your applications, components, APIs, users, groups, and more. These are known as Entities within the Software Catalog—you can learn more about importing entities in the Backstage documentation.

    Conclusion

    Congratulations! You have successfully deployed Red Hat Developer Hub on Red Hat OpenShift. Now that you have deployed an internal developer portal, it’s time to configure your preferred authentication provider, import your repositories to the Software Catalog (thus creating those Entities you learned about), and start configuring dynamic plug-ins to integrate with your organization’s tooling to make your IDP a single pane of glass for your developers.

    Related Posts

    • Why internal developer portals matter

    • Red Hat Developer Hub: Your gateway to seamless development

    • The platform engineer's role in the DevSecOps inner and outer loops

    • A self-service approach to building virtual machines at scale

    Recent Posts

    • How to run a fraud detection AI model on RHEL CVMs

    • How we use software provenance at Red Hat

    • Alternatives to creating bootc images from scratch

    • How to update OpenStack Services on OpenShift

    • How to integrate vLLM inference into your macOS and iOS apps

    What’s up next?

    Writing "Hello, World" hasn’t gotten any harder—but running it has. Our developer’s guide to developer portals offers practical insights on how a unified platform like Red Hat Developer Hub can reduce friction and help your team deliver its best work.

    Get the e-book
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    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

    Red Hat legal and privacy links

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

    Report a website issue