Rocky Linux 10
Overview
Rocky Linux 10 is the current major release of the community enterprise Linux distribution, binary compatible with Red Hat Enterprise Linux 10. No application is preinstalled. The operating system itself is the product, ready for you to build your own services on.
This SecureAnyCloud image ships fully patched to the latest Rocky 10 package set at build time. Unlike a minor-version-pinned image, it keeps the standard BaseOS and AppStream repositories enabled, so you roll forward within the Rocky 10 stream on your own schedule.
This guide covers deploying and operating the pre-configured virtual machine image from the Azure Marketplace on Microsoft Azure.
What you get:
- Rocky Linux 10, fully binary compatible with Red Hat Enterprise Linux 10
- A system brought fully up to date at build time, with no pending security updates at capture
- Secure defaults: SELinux in enforcing mode, key-only SSH (password authentication disabled) and a locked root login
- No baked-in credentials. Access is by the SSH key you choose at launch, so no two instances share a secret
- The Azure Linux Agent (waagent) for cloud integration and Chronyd for time synchronisation
- Gen2 Hyper-V virtual machine support
- 24/7 SecureAnyCloud support
Platform: Microsoft Azure (Gen2 Hyper-V) Default user: azureuser (created from the SSH key you supply at deploy time)
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. Rocky Linux 10 runs comfortably on the whole B, D and E series, so scale the size to suit your workload.
Deploy the virtual machine
Option A: Azure Portal
- In the Azure Marketplace, search for "Rocky Linux 10 SecureAnyCloud".
- Select the image and click Create.
- On the basics tab, set Subscription to your Azure subscription and Resource Group to a new or existing group.
- Enter a Virtual Machine Name, choose your preferred Region, and set Size to
Standard_B2s(recommended). - Under Administrator Account, select SSH public key and paste your public key. This key becomes the
azureuserlogin. The image ships no password and no pre-installed 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:rocky-linux-10:default:latest
az vm create \
--resource-group myResourceGroup \
--name my-rocky10-vm \
--image sac1647283583153:rocky-linux-10:default:latest \
--size Standard_B2s \
--admin-username azureuser \
--generate-ssh-keys \
--public-ip-sku StandardConnect over SSH
Look up your VM's public IP address, then connect:
az vm show --resource-group myResourceGroup --name my-rocky10-vm --show-details --query publicIps -o tsv ssh azureuser@<public-ip-address>The VM accepts only the SSH key you supplied at deploy time. Password authentication is disabled on the image.
Verify the release
After you connect, confirm that the VM runs Rocky Linux 10:
cat /etc/rocky-release grep -E 'PRETTY_NAME|VERSION_ID' /etc/os-release uname -rThe output looks like this:
Rocky Linux release 10.2 (Red Quartz) VERSION_ID="10.2" PRETTY_NAME="Rocky Linux 10.2 (Red Quartz)" 6.12.0-211.34.1.el10_2.x86_64Then check the available disk space and memory:
df -h / free -hCheck for updates since the build
The image is patched at build time. Check for updates released since the build:
sudo dnf -q check-update ; echo "exit=$? (100 = updates available, 0 = fully patched)"An exit code of 100 means updates were released since the build. Run sudo dnf update -y to apply them.
Review the security posture
This image is secure by default. Verify the key hardening properties:
getenforce
sudo sshd -T | grep -E '^passwordauthentication'
sudo passwd -S root | awk '{print $1, $2}'You should see SELinux Enforcing, passwordauthentication no, and root reported as L / LK (locked). Access is by your SSH key only.
Confirm that the Azure Linux Agent and time synchronisation are healthy:
systemctl is-active waagent
systemctl is-active chronydKeep the image up to date
Rocky Linux 10 is the current major stream, so the standard BaseOS and AppStream repositories are enabled. You can move forward at any time.
Apply the latest security errata and package updates within the Rocky 10 stream:
sudo dnf update -y
Reboot if a new kernel was installed:
sudo needs-restarting -r || sudo systemctl reboot
To review only security advisories before you apply them:
sudo dnf updateinfo list security sudo dnf update --advisory=<RLSA-ID>
Configure the firewall (optional)
The Azure Network Security Group (NSG) is the first line of network control. Rocky Linux also ships firewalld for host-level rules:
sudo systemctl enable --now firewalld
sudo firewall-cmd --permanent --add-service=ssh sudo firewall-cmd --permanent --add-port=80/tcp sudo firewall-cmd --permanent --add-port=443/tcp sudo firewall-cmd --reloadCommon use cases
- A modern RHEL 10-compatible foundation for your own applications and stacks
- Cloud-native and container node images built on a known-good enterprise OS
- Migrating RHEL-compatible workloads to a freely available enterprise Linux without licence cost
- A long-lifecycle enterprise base for regulated or production environments
Troubleshooting
Cannot connect over SSH
- Verify that the VM is in the Running state in the Azure Portal.
- Check that port 22 is allowed in the Network Security Group.
- Make sure you use the correct username:
azureuser. - Verify that your SSH private key matches the public key configured at deployment. Password login is disabled by design.
Azure agent not running
Start the agent and enable it at boot:
sudo systemctl start waagent
sudo systemctl enable waagentPackage manager issues
If repositories are unreachable, check DNS resolution, then retry:
nslookup download.rockylinux.org
sudo dnf clean all && sudo dnf update -yImportant notes
Rocky Linux is free and open source, released under the GPL and compatible permissive licences (BSD-3-Clause). It is a community-driven, binary-compatible rebuild of Red Hat Enterprise Linux 10 produced by the Rocky Enterprise Software Foundation.
No licence fee or subscription is required.
Support
For help 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 Rocky Linux 10 on Azure with 24/7 support from SecureAnyCloud.
View this image
Need Help?
Our support team is available 24/7.
sales@secureanycloud.com