Deployment guide

AlmaLinux 9

Videos

Overview: AlmaLinux 9 on Azure: overview (watch on YouTube)

Launch and log in: AlmaLinux 9 on Azure: launch and log in (watch on YouTube)

Overview

AlmaLinux 9 is a community-driven enterprise Linux distribution that is fully binary compatible with Red Hat Enterprise Linux 9. This SecureAnyCloud image is a pre-configured virtual machine for Microsoft Azure that runs AlmaLinux 9.7 and is ready to connect to over SSH.

What you get:

  • AlmaLinux 9.7, fully binary compatible with RHEL 9
  • Azure Linux Agent (waagent) for cloud integration
  • Chronyd for NTP time synchronisation
  • SELinux in enforcing mode
  • Gen2 Hyper-V virtual machine support
  • 24/7 SecureAnyCloud support

Platform: Microsoft Azure (Gen2 Hyper-V) Default user: azureuser

Prerequisites

Before you deploy this image, make sure you have:

  • An active Microsoft Azure subscription
  • Access to the Azure Portal or Azure CLI
  • An SSH key pair for Linux VM access
  • Familiarity with Azure VM management

Recommended VM Size: Standard_B2s (2 vCPU, 4 GB RAM) or larger.

1

Deploy the Virtual Machine

Option A: Azure Portal

  • Open the Azure Marketplace and search for "AlmaLinux 9 on Azure SecureAnyCloud"
  • Select the image and click Create
  • On the basics tab, set:
  • Subscription: Select your Azure subscription
  • Resource Group: Create new or select existing
  • Virtual Machine Name: Enter a name for your VM
  • Region: Select your preferred Azure region
  • Size: Standard_B2s recommended
  • Under Administrator Account, select SSH public key and enter your key
  • Under Inbound Port Rules, allow SSH (port 22)
  • Click Review + Create, then Create

Option B: Azure CLI

az vm image terms accept --urn sac1647283583153:almalinux-9:default:latest
az vm create \
  --resource-group myResourceGroup \
  --name my-almalinux-9-azure-vm \
  --image sac1647283583153:almalinux-9:default:latest \
  --size Standard_B2s \
  --admin-username azureuser \
  --generate-ssh-keys \
  --public-ip-sku Standard
2

Connect via SSH

Once your VM is running, connect to it over SSH:

ssh azureuser@<public-ip-address>

To find your VM's public IP:

az vm show --resource-group myResourceGroup --name my-almalinux-9-azure-vm --show-details --query publicIps -o tsv
3

Verify the Installation

After you connect, verify the operating system:

cat /etc/os-release uname -r

Check disk space and memory:

df -h free -h

Verify the Azure Linux Agent is running:

systemctl status waagent
4

Update the System

Apply the latest security patches:

sudo dnf update -y
5

Configure Firewall (Optional)

The Azure Network Security Group (NSG) controls inbound and outbound traffic. You can also configure the local firewall on the VM:

sudo firewall-cmd --list-all

To allow additional ports:

sudo firewall-cmd --permanent --add-port=80/tcp sudo firewall-cmd --permanent --add-port=443/tcp sudo firewall-cmd --reload

Common Use Cases

  • Modern enterprise application hosting
  • Container and Kubernetes workloads
  • Database and middleware deployments
  • Development and testing environments

Troubleshooting

Cannot Connect via SSH

  • Verify the VM is in Running state in the Azure Portal
  • Check that port 22 is allowed in the Network Security Group
  • Ensure you are using the correct username: azureuser
  • Verify your SSH key matches the one configured during deployment

Azure Agent Not Running

sudo systemctl start waagent
sudo systemctl enable waagent

Package Manager Issues

sudo dnf update -y

If repositories are unreachable, check DNS resolution:

nslookup google.com

Important Notes

AlmaLinux is free and open source. No licence required.

Support

For assistance with this image, contact SecureAnyCloud support:

  • Website: secureanycloud.com
  • Product Catalogue: secureanycloud.com/products
  • User Guides: secureanycloud.com/guides
  • SLA: 24 hour response guaranteed

Deploy on Azure

Launch AlmaLinux 9 on Azure with 24/7 support from SecureAnyCloud.

View this image

Need Help?

Our support team is available 24/7.

sales@secureanycloud.com

Deploy on Azure