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

My advice for designing features for the hybrid cloud

June 19, 2023
Sandhya Dasu
Related topics:
Hybrid CloudKubernetesOperators
Related products:
Red Hat OpenShift Container Platform

Share:

    Hybrid clouds are mixed computing environments that allow applications to use a combination of compute, networking, storage, and services in public clouds and private clouds, including clouds running on-premise or at a plethora of edge locations.

    To accomplish this, hybrid cloud platforms must be designed to expose the best of the public clouds they support and present the advantages of private clouds while presenting a cohesive interface to the application developer—and preferably the cloud admin, too. A cloud admin can install a cloud instance called a cluster, consisting of a control plane (at least one instance) to manage the cluster and multiple compute instances that run applications on them.

    In the rest of this article, "developer" specifically refers to a hybrid cloud platform developer, not an application developer.  As a developer working on OpenShift, Red Hat’s hybrid cloud platform, I have found that designing features around a few key tenets ensures the cohesiveness that hybrid cloud platforms wish to achieve.

    Here are three high-level considerations to keep in mind when designing a new feature for the hybrid cloud.

    On-premise versus public cloud

    It seems obvious at first glance that a developer would know immediately if the feature that they are working on is for a hybrid cloud offering on a public cloud or for an on-premise private cloud. In practice, it is possible that both types of offerings might need the same feature, with it being used differently in each setting. This might result in different implementations for public and private clouds with a unified interface presented to the cloud admin or application developer.

    For example, the cloud platform is responsible for creating and configuring any load balancers it needs. The hybrid cloud platform might end up using the load balancer service provided by the underlying public cloud platform but starts its own in-cluster load balancer for on-prem clusters.

    Startup versus runtime configuration

    While designing a feature, it is important to consider if a specific piece of configuration that the feature depends on is known at the time of installation and does not change after that or is something that can change during the life of the cluster. After all, hybrid clouds are distributed systems where one component can affect the configuration that a different component acts on. Suppose your feature depends on a configuration that can change during the lifetime of the cluster. In that case, the feature's design should include a way to monitor changes to this configuration and take action based on that. On Kubernetes-based cloud platforms, this can be accomplished using the Kubernetes Operator pattern.

    A simple example of startup configuration would be the platform on which the cluster is being created. That will not change for the duration of the cluster, but the number of worker nodes within the cluster can change during the lifetime of the cluster.

    Admin pre-configured versus cloud platform configured

    In some instances, the feature developer has to determine if the cloud admin can be enlisted to pre-configure some cloud components before the cluster can be installed with this feature. This is a great option for cloud components that do not change during the cluster's life cycle. On the one hand, a one-time pre-configuration by the cloud admin would not only simplify the implementation of the feature but also provide the cloud user the flexibility to replace this pre-configured component with a different one in the future. In this scenario, we should consider equipping the cloud administrator with the right credentials to perform these pre-configuration steps and separately the support costs associated with resolving misconfigurations in the field.

    On the other hand, from the cloud administrator’s perspective, letting the cloud platform be responsible for all the resources it can configure and manage would result in a more hands-free solution with limited to no flexibility in accomplishing that. This is a trade-off that needs to be considered carefully. In some instances, a hybrid solution might emerge where the cloud platform manages all the resources that it can, with the cloud admin being able to choose amongst a limited set of options without the burden of pre-configuring resources.

    The bottom line

    With many dedicated solutions available for cloud functions like DNS and load balancers, you can now choose between in-cluster, cloud-provided, or custom solutions, and the hybrid cloud platform should be able to support all of these options.

    Last updated: November 29, 2023

    Related Posts

    • 6 tutorials for modern app development

    • The disadvantages vs. benefits of microservices

    • Transitioning Red Hat SSO to a highly-available hybrid cloud deployment

    • CloudForms: Manage your IT and Hybrid Cloud through a single platform

    • Red Hat technologies make open hybrid cloud a reality

    Recent Posts

    • More Essential AI tutorials for Node.js Developers

    • 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

    What’s up next?

    Learn how to deploy a full-stack JavaScript application in an OpenShift cluster with this hands-on lab. Starting from source code, you'll take an application that runs locally and deploy it in the Developer Sandbox for Red Hat OpenShift.

    Start the lab
    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