Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

OpenShift Install & Configurations using Azure Red Hat OpenShift (ARO) with Azure Az Command line

]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
Code language: PHP (php)

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
Code language: PHP (php)

๐Ÿ” 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
Code language: CSS (css)

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
Code language: PHP (php)

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
Code language: PHP (php)

Get Console URL:

az aro show --name $CLUSTER --resource-group $RESOURCEGROUP --query "consoleProfile.url" -o tsv
Code language: PHP (php)

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
Code language: PHP (php)

๐Ÿ’ฐ 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

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Best DevOps Tools in 2024

hereโ€™s a clear, structured breakdown of the Best DevOps Tools (grouped by categories), so you can use it for learning, training, or posts. ๐Ÿš€ Best DevOps Tools…

Read More

OpenShift Tutorial โ€“ Deploy and Access Your First Applications using OpenShift Local

How to install oc? OpenShift: How to Install OpenShift CLI oc How to login? Login to the Openshift using Web Console and CLI using oc Copy the admin…

Read More

OpenShift Lab 14: Setting Up and Using OpenShift Serverless Functions on OpenShift Local

Lab Objective In this lab, you will install and use OpenShift Serverless Functions on OpenShift Local. You will create a simple Node.js serverless function, deploy it to…

Read More

OpenShift Lab 13: Deploy a Java Spring Boot Application with MySQL Using the OpenShift Web Console

Lab Objective In this lab, you will deploy a Java Spring Boot application on OpenShift using the OpenShift web console. You will deploy two components: The Java…

Read More

OpenShift Lab 12: Deploy an Application from an Existing Container Image Using the OpenShift Web Console

Lab Objective In this lab, you will deploy an application on OpenShift from an existing container image. This lab is different from building an application from source…

Read More

OpenShift: How to Install OpenShift CLIย oc

Option – 1 – REDHAT Websites URL – https://access.redhat.com/downloads/content/290/ver=4.18/rhel—9/4.18.11/x86_64/product-software Option – 2 – OKD Websites The OKD (Origin Community Distribution of Kubernetes for OpenShift) is the open-source…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x