🚀 DevOps & SRE Certification Program 📅 Starting: 1st of Every Month 🤝 +91 8409492687 🔍 Contact@DevOpsSchool.com

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Step-by-Step Guide to Deploy ARO (Azure Red Hat OpenShift)

]If you’re aiming to learn OpenShift without having a Red Hat subscription and want to deploy it on Azure using Azure Red Hat OpenShift (ARO), you’re in a great spot. ARO doesn’t require a separate Red Hat license — everything is billed through Azure pay-as-you-go. Let’s walk through it step by step.



✅ Prerequisites

RequirementDetails
🔑 Azure AccountFree or Pay-as-you-go — Sign up here
🧠 Basic CLI knowledgeYou’ll use Azure CLI and az aro commands
🛠️ Tools to installAzure CLI, ARO CLI extension, jq

📦 Step 1: Install Required Tools

A. Install Azure CLI

brew install azure-cli

B. Login to Azure

az login

C. Install ARO CLI Extension

az extension add --name aro
az extension update --name aro

📍 Step 2: Set Up Azure Resources

A. Set variables (use your own values)

RESOURCEGROUP=aro-rg
LOCATION=eastus
VNET=aro-vnet
CLUSTER=aro-cluster
ARO_SUBNET=aro-subnet
WORKER_SUBNET=worker-subnet

B. Create Resource Group

az group create --name $RESOURCEGROUP --location $LOCATION

C. Create Virtual Network and Subnets

az network vnet create \
  --resource-group $RESOURCEGROUP \
  --name $VNET \
  --address-prefixes 10.0.0.0/22 \
  --subnet-name $ARO_SUBNET \
  --subnet-prefix 10.0.0.0/23

az network vnet subnet create \
  --resource-group $RESOURCEGROUP \
  --vnet-name $VNET \
  --name $WORKER_SUBNET \
  --address-prefixes 10.0.2.0/23

🔐 Step 3: Register Required Azure Providers

az provider register -n Microsoft.RedHatOpenShift
az provider register -n Microsoft.Authorization
az provider register -n Microsoft.Network
az provider register -n Microsoft.Compute
az provider register -n Microsoft.Storage

Wait for a few minutes until all are registered.


🚀 Step 4: Create the ARO Cluster

az aro create \
  --resource-group $RESOURCEGROUP \
  --name $CLUSTER \
  --vnet $VNET \
  --master-subnet $ARO_SUBNET \
  --worker-subnet $WORKER_SUBNET

This will take 35–45 minutes.


🔐 Step 5: Get Cluster Credentials and Access Console

Get Admin Credentials:

az aro list-credentials --name $CLUSTER --resource-group $RESOURCEGROUP

Get Console URL:

az aro show --name $CLUSTER --resource-group $RESOURCEGROUP --query "consoleProfile.url" -o tsv

You can now log in with the kubeadmin username and the password provided.


✅ Clean Up (After 12 hours)

To delete the cluster and avoid cost:

az aro delete --name $CLUSTER --resource-group $RESOURCEGROUP
az group delete --name $RESOURCEGROUP --yes --no-wait

💰 ARO Cost Estimate for 12 Hours

ResourceCost Per HourTotal for 12h
Control Plane (3 x D8s_v3)~$0.40 × 3~$14.40
Infra + Workers (4 x D4s_v3)~$0.20 × 4~$9.60
Load Balancers + Egress~$0.05~$0.60
Total Estimated~$25–$30

✅ Red Hat licensing is included automatically in Azure pricing.


🧠 Bonus: No Red Hat Account Needed

  • You do not need to register with Red Hat or bring a license
  • You do not need to download a pull secret
  • ARO is fully managed and billed by Azure

Subscribe
Notify of
guest


0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x