Exploring OpenShift's Installation Options: A Guide to Flexible, Scalable Deployment Solutions

Hashir AhmadHashir Ahmad
5 min read

OpenShift provides a variety of installation methods designed to support different infrastructure needs and deployment strategies. From local testing environments to production-ready, scalable solutions, each installation type comes with its specific prerequisites and system requirements. Here’s a complete breakdown of each installation option, with detailed requirements to get started.


1. OpenShift Local (CRC - CodeReady Containers)

  • Best for: Development and local testing on personal systems.

  • Overview: OpenShift Local (CRC) is a single-node OpenShift environment that runs on a developer’s local machine. It’s lightweight and ideal for experimenting with OpenShift features, testing applications, and debugging code.

  • Platform Support: Available for Windows, macOS, and Linux.

  • Key Use Case: Local app testing and small-scale development, offering quick setup and minimal system requirements.

Prerequisites and Requirements:

  • Minimum CPU: 4 cores.

  • Minimum RAM: 9 GB (16 GB recommended).

  • Disk Space: 35 GB free disk space.

  • Virtualization: Must have virtualization enabled in BIOS.

  • Additional Software: OpenShift CLI (oc), CRC setup tool.

  • Notes: Requires administrative access for installation and setup.

Use Case: Local app testing and development.


2. OpenShift Dedicated

  • Best for: Organizations that prefer managed clusters hosted by Red Hat.

  • Overview: OpenShift Dedicated provides a fully managed OpenShift environment hosted by Red Hat on cloud platforms such as AWS and Google Cloud. Ideal for production workloads without the need for managing infrastructure.

  • Platform Support: AWS and Google Cloud.

  • Key Use Case: Running production workloads without infrastructure maintenance, supported by Red Hat’s expertise in OpenShift management.

Prerequisites and Requirements:

  • Account Requirements: Red Hat OpenShift subscription and account on a supported cloud provider (AWS or Google Cloud).

  • Cluster Requirements: VPC and subnets configured as per OpenShift Dedicated requirements.

  • IAM Permissions: Appropriate IAM permissions for provisioning resources on the cloud platform.

  • Access to Cloud Console: Cloud platform console access for initial setup and monitoring.

Use Case: Production-ready, fully managed OpenShift without infrastructure overhead.


3. OpenShift on Public Cloud (ROSA and ARO)

  • Red Hat OpenShift Service on AWS (ROSA): For companies running workloads on AWS, providing a seamless OpenShift experience.

  • Azure Red Hat OpenShift (ARO): A managed OpenShift service on Azure, co-developed by Microsoft and Red Hat.

  • Best for: Enterprises on AWS or Azure wanting native OpenShift integration.

Prerequisites and Requirements:

  • AWS (for ROSA):

    • AWS account and subscription.

    • ROSA CLI tool installed.

    • AWS IAM permissions for provisioning resources.

  • Azure (for ARO):

    • Azure subscription with appropriate permissions.

    • ARO CLI setup in Azure CLI.

    • VNet and subnets set up in Azure for ARO.

Use Case: Managed OpenShift clusters leveraging native cloud features for streamlined deployment.


4. OpenShift Container Platform

  • Best for: Organizations that want self-managed, customizable OpenShift deployments.

  • Overview: OpenShift Container Platform provides full control over the OpenShift environment, making it suitable for deployment on on-premises infrastructure or a private cloud.

Prerequisites and Requirements:

  • Supported Platforms: Bare metal, virtual machines, private cloud infrastructure (AWS, Google Cloud, Azure).

  • Minimum CPU: 4 CPUs per node.

  • Minimum RAM: 16 GB per node.

  • Storage: Persistent storage for OpenShift components (e.g., NFS, GlusterFS, or cloud storage).

  • Network: Configured DNS and load balancer, high availability requirements.

  • OpenShift CLI: Required for cluster setup and management.

Use Case: Customizable, self-managed OpenShift environment with full control over resources and configurations.


5. OpenShift Virtualization

  • Best for: Integrating VM and container workloads within OpenShift.

  • Overview: OpenShift Virtualization allows users to manage and run virtual machines alongside containers in OpenShift, enabling a hybrid application environment.

Prerequisites and Requirements:

  • OpenShift Container Platform: OpenShift Virtualization requires a running OpenShift Container Platform setup.

  • CPU and Memory: Resources depend on the number and type of VMs; generally, at least 16 GB RAM and 4 CPUs per VM.

  • Storage: Persistent storage for VM disks.

  • Additional Packages: kubevirt operator to manage virtualization in OpenShift.

  • Platform Support: Compatible with data center and hybrid cloud setups.

Use Case: Enabling a phased transition from legacy systems by managing VMs alongside containers.


6. OpenShift Hybrid Cloud

  • Best for: Organizations needing consistent deployments across multiple environments.

  • Overview: OpenShift Hybrid Cloud enables a consistent OpenShift experience across different environments, making it ideal for companies with a hybrid or multi-cloud strategy.

Prerequisites and Requirements:

  • OpenShift Container Platform or OpenShift Dedicated: The core installation required to support hybrid configurations.

  • Networking: Consistent networking configurations across environments, including VPCs and VPNs for hybrid deployments.

  • IAM Policies: Permissions for managing resources across both on-prem and cloud environments.

  • Load Balancer: Required to distribute traffic across clusters.

Use Case: Achieving unified DevOps practices across on-premise, private, and public cloud environments.


7. OpenShift at the Edge

  • Best for: Edge computing for IoT, remote locations, and real-time data processing.

  • Overview: OpenShift at the Edge is designed for distributed environments with limited connectivity, bringing OpenShift’s power to remote locations.

Prerequisites and Requirements:

  • OpenShift Container Platform or lightweight OpenShift configurations: Supports edge environments.

  • Resource Constraints: Tailored for environments with limited CPU, RAM, and storage.

  • Networking: Minimal connectivity requirements, designed for intermittent network access.

  • Platform Support: Compatible with OpenShift configurations optimized for resource-constrained environments.

Use Case: Real-time data processing for IoT, manufacturing, and retail at remote edge locations.


Summary Table

Installation TypeBest forKey Requirements
OpenShift Local (CRC)Local testing & development4 cores, 9-16 GB RAM, virtualization enabled, 35 GB storage
OpenShift DedicatedManaged cloud clustersRed Hat subscription, AWS or Google Cloud account
ROSA & AROOpenShift on AWS/AzureAWS/Azure subscription, CLI setup, IAM permissions
OpenShift Container PlatformSelf-managed on-prem or private cloud4 CPUs, 16 GB RAM per node, persistent storage, CLI
OpenShift VirtualizationVM and container integrationOpenShift Container Platform, kubevirt, persistent storage
OpenShift Hybrid CloudHybrid and multi-cloud consistencyConsistent networking, IAM policies, OpenShift CLI
OpenShift at the EdgeEdge computingOptimized for low-resource environments, OpenShift setup

Conclusion

OpenShift’s various installation options and configurations make it adaptable to virtually any deployment scenario. From simple local testing to complex, distributed edge environments, OpenShift offers a robust suite of options to meet the requirements of modern application development and deployment, regardless of scale or infrastructure.

0
Subscribe to my newsletter

Read articles from Hashir Ahmad directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Hashir Ahmad
Hashir Ahmad