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

How to easily deploy OpenShift on Azure using a GUI

March 16, 2023
Ignacio Lago Pablo Castelo
Related topics:
ContainersGitOps
Related products:
Azure Red Hat OpenShiftRed Hat Advanced Cluster Management for KubernetesRed Hat OpenShift Container Platform

Share:

    Red Hat OpenShift is a leading container application platform in building, deploying, and handling containerized applications at a large scale. The OpenShift tooling is built around the GitOps approach for continuous delivery using Git as a single source of truth for declarative infrastructure. All this can be achieved by using Red Hat OpenShift GitOps, Argo CD, and Red Hat Advanced Cluster Management for Kubernetes.

    Deploying OpenShift on the Microsoft Azure Platform utilizing OpenShift GitOps makes it not only easier but enables you to achieve faster time to market, better collaboration, more efficient workflows, and ensures access to the cloud's scalability, flexibility, and reliability.

    This is the first of two articles that demonstrates how to get your OpenShift cluster up and running in Azure quickly and easily without numerous failures in the process. This article demonstrates the steps to deploy OpenShift on Azure using the Red Hat Advanced Cluster Management. The following steps detail the prerequisites, setup, and deployment process utilizing a GUI.

    [ Learning path: Getting started with Microsoft Azure Red Hat OpenShift (ARO) ] 

    Step 1: Set up the prerequisites

    Follow these steps to configure Azure.

    First, we have to be sure our quote is enough to deploy a Red Hat OpenShift Container Platform cluster.

    • Go to the Azure Portal.
    • Click Subscription. 
    • Click Usage and Quotas to filter using Region.
    • Locate the Standard DSv3 Family vCPUs and check the quota.
    • We need at least 24 Cores for a small cluster.

    Second, we need a resource group containing a DNS zone to deploy the cluster.

    • Select Create Resource Group and fill in the name and region. Then click Create.
    • To create the DNS zone in the newly created resource group, select Create DNS_Zone and Create.
    • Then select Fill_Name and Create.

    Now we should have a Resource Group with a DNS zone ready to use, as shown in Figure 1:

    The DNS zone in the newly created Resource Group.
    Figure 1: The DNS zone in the newly created Resource Group.

    Step 2: Recover the Azure values

    We need to recover the credentials of the cloud provider, as shown in the following snippet:

    Your Azure environment details:
    Resource Group: openenv-5d9g3
    DNS Zone: 5d9g3.azure.example.io
    Application: openenv-5d9g3
    Application/Client/Service Principal ID: f4993d25-3cce-49f4-a68a-24bc1c166bd6
    Password: 2Ci7Ba-boz.mK69c6m0wO5SLMtsuZpGUjy
    Tenant ID: example.onmicrosoft.com
    Subscription ID: 1d6c0f82-8e30-423a-9a1b-36fde35ab59c

    Step 3: Create additional resources (optional)

    We can also create resource groups for the virtual network/subnets and a network security group.

    First, we create two resource groups for the networks and the cluster.

    Create a resource group for the networks as follows:

    • Create Resource Group.
    • Fill in the Name and Region.
    • Click Create.
    • Inside the resource group, create a virtual network. 
      • Fill in the name and select Create.
      • In the virtual network, select subnets from the left menu.
      • Then select new subnet.
      • Fill in the name (masters) and select Create.
      • Repeat this process again for the workers' subnet.
    • Go back to the resource group to create a network security group.
      • Fill in the name and select Create.
      • In the network security group, select Inbound Security Rules in the left menu.
      • Add a new one for port 80.
      • Repeat this for these ports 443/6443/22623.
      • In the network security group, select subnets in the left menu, then associate the workers subnet.
      • Repeat this for the masters subnet.

    Create a resource group for the cluster as follows:

    • Create Resource Group.
    • Fill in the Name and Region.
    • Select Create.

    Step 4: Install Red Hat Advanced Cluster Management via OpenShift GitOps

    Before installing the Red Hat Advanced Cluster Management operator, we need to deploy the ArgoCD first. We can do this by using this repository. Deploy the OpenShift GitOps ArgoCD by running the following command:

    oc apply -k bootstrap/argocd

    Then install the Red Hat Advanced Cluster Management and integrate it with ArgoCD by running the following command:

    oc apply -k bootstrap/deploy/00-applicationset-acm

    Step 5: Set up credentials for Azure via GUI

    Once we have those values, we need to create the credentials for the Azure network. We will set up the credential type, credential name, namespace, and cloud name with default values:

    • Credential Name = Azure
    • Namespace = Default
    • Base DNS domain = DNS Zone

    Click next and then fill in the following values:

    • Client ID = Application/Client/Service Principal ID
    • Client Secret = Password
    • Subscription ID = Subscription ID
    • Tenant ID = Tenant ID

    We do not have to set any value for the proxy unless we have a customer proxy installation.

    Now we need to get the pull secret and keys. You can generate the keys using the following command:

    ssh-keygen -t rsa

    Review the information for our credentials to use for the installation, as shown in Figure 2.

    A screenshot the Azure credentials in the Review section.
    Figure 2: Review the Azure credentials.

    Step 6: Installing OpenShift cluster via the GUI

    We need to recover the following field:

    DNS Zone = Base DNS Domain

    We will establish the OpenShift release version, a name for the cluster, and a cluster set. We can create a new cluster set for all the Azure clusters or use the default.

    The following description corresponds to the numbers in the screenshot of the Red Hat Advanced Cluster Management GUI in Figure 3:

    We can also change the cluster resources by adding extra values using the Yaml view (1), and edit the configuration using the deploy (2) cluster-install (3) buttons. For example, you can add custom resource groups containing the base DNS (4) or a virtual network (5) with two subnets for masters (6) and workers (7), network security group, and the cluster (8).

    A closer look at the Openshift Avance Cluster Manager GUI and how to add extra values using the Yaml view.
    Figure 3: A closer look at the Red Hat Advance Cluster Management GUI and how to add extra values using the Yaml view.

    Next, set up the Nodes Size for the cluster and disk type (see Figure 4):

    Change the Disk Type and other values in the Cluster Details page of OpenShift Cluster Manager GUI.
    Figure 4: Change the Disk Type and other values.

    For networking, we have to define if we are going to use SDN or OVN and if we want to use custom values, as shown in the following snippet:

    Cluster network CIDR * 	: 	10.128.0.0/14
    Network host prefix * 	:	23
    Service network CIDR * 	: 	172.30.0.0/16
    Machine CIDR * 		: 	10.0.0.0/16

    We will use default values for the proxy and automation.

    Finally, you can review and install the cluster information as shown in Figure 5.

    Click on create cluster to view the logs.
    Figure 5: Click on create cluster to see the logs.

    Deploying OpenShift on Azure is easy

    In this article, we demonstrated how to install an OpenShift cluster on Azure using a GUI. In the next article, you will learn a different method for installing OpenShift on Azure utilizing GitOps. If you have questions, feel free to leave a comment below. Your feedback is welcome.

    Last updated: October 26, 2023

    Related Posts

    • Create an Azure Red Hat OpenShift cluster in less than 5 minutes

    • Introduction to the Red Hat OpenShift deployment extension for Microsoft Azure DevOps

    • Where can I download the OpenShift command line tool?

    • Installing Red Hat Advanced Cluster Management (ACM) for Kubernetes

    • How to add public Ingress to a PrivateLink ROSA cluster

    Recent Posts

    • Expand Model-as-a-Service for secure enterprise AI

    • OpenShift LACP bonding performance expectations

    • Build container images in CI/CD with Tekton and Buildpacks

    • How to deploy OpenShift AI & Service Mesh 3 on one cluster

    • JVM tuning for Red Hat Data Grid on Red Hat OpenShift 4

    What’s up next?

    Learn how to deploy an application on a cluster using Red Hat OpenShift Service on AWS. This learning path uses a pre-built application to allow you to become more familiar with OpenShift and Kubernetes features.

    Start learning
    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
    © 2025 Red Hat

    Red Hat legal and privacy links

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

    Report a website issue