Ubuntu 22.04 arm64
Overview
Ubuntu is a widely used Linux distribution produced by Canonical. Version 22.04 is a long-term support (LTS) release with standard security maintenance to 2027. It gives you a stable, modern base with a current kernel, toolchain and package set.
This SecureAnyCloud image is the native 64-bit Arm (AArch64/arm64) build of Ubuntu 22.04 LTS for Microsoft Azure, pre-configured and available from the Azure Marketplace. It runs on Azure's Arm virtual machine sizes (the Ampere Altra based Dpsv6 and Dplsv6 families), where many workloads deliver the same performance at a lower cost than on x86.
What you get:
- Ubuntu 22.04 LTS, native 64-bit Arm (arm64 / AArch64)
- Every available security update applied at build time
unattended-upgradesarmed, so the machine keeps applying security updates on its own- Azure Linux Agent (walinuxagent) and cloud-init for Azure integration
- chrony for NTP time synchronisation
- AppArmor in enforcing mode
- The standard Ubuntu archive (ports.ubuntu.com) enabled, so your update path is intact
- Gen2 Hyper-V virtual machine support
- 24/7 SecureAnyCloud support
Platform: Microsoft Azure (Gen2 Hyper-V, Arm64). Default user: azureuser.
Security posture
This image ships with no known credential. There is no default password and no baked-in SSH key:
- The root account password is locked, so no one can log in as root with a password.
PasswordAuthenticationis disabled in the SSH daemon, so every login is by key.PermitRootLoginis set toprohibit-password, so root cannot be reached with a password even if one were later set.- The only key that works is the public key you supply when you create the virtual machine. Azure injects it into
azureuserat first boot, so no two machines you launch ever share a secret. - The machine identity and the SSH host keys are regenerated uniquely on every instance, so no two machines share a host key either.
- AppArmor is left enabled and enforcing, the Ubuntu default.
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_D2ps_v6 (2 vCPU, 8 GB RAM) or larger.
This is an Arm64 image, so it must be launched on an Arm virtual machine size: the Dpsv6/Dplsv6 (Ampere Altra) families, or another p-suffixed Arm size. An x86 size such as Standard_B2s will not boot this image.
Deploy the virtual machine
Option A: Azure Portal
- Open the Azure Marketplace and search for "Ubuntu 22.04 LTS Arm64 SecureAnyCloud"
- Select the image and choose Create
- Configure the basics:
- 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_D2ps_v6recommended (an Arm64 size) - Under Administrator account, select SSH public key and enter your key
- Under Inbound port rules, allow SSH (port 22)
- Select Review + create, then Create
Option B: Azure CLI
Accept the Marketplace terms, then create the VM:
az vm image terms accept --urn sac1647283583153:ubuntu-22-04-arm64:default:latest
az vm create \
--resource-group myResourceGroup \
--name my-ubuntu-arm64-vm \
--image sac1647283583153:ubuntu-22-04-arm64:default:latest \
--size Standard_D2ps_v6 \
--admin-username azureuser \
--generate-ssh-keys \
--public-ip-sku StandardThe --size must be an Arm64 family (Standard_D2ps_v6 above). Azure rejects an x86 size for an Arm image at create time.
Connect via SSH
Run these commands on your own workstation, not on the VM. Find the public IP, then connect:
az vm show --resource-group myResourceGroup --name my-ubuntu-arm64-vm --show-details --query publicIps -o tsv ssh azureuser@<vm-ip>There is no password to enter. If SSH asks for one, the key you supplied at create time is not the key your client is offering.
Confirm the release and the architecture
Check that the machine runs the Ubuntu 22.04 LTS release you expect, and confirm that it is running on Arm:
grep -E '^(NAME|VERSION|ID|VERSION_ID|PRETTY_NAME)=' /etc/os-release uname -srm dpkg --print-architectureExpected output:
NAME="Ubuntu" VERSION="22.04.5 LTS (Jammy Jellyfish)" ID=ubuntu VERSION_ID="22.04" PRETTY_NAME="Ubuntu 22.04.5 LTS" Linux 6.8.0-1064-azure aarch64 arm64aarch64 from uname and arm64 from dpkg both confirm this is the native 64-bit Arm build, not an emulated or x86 image.
Check the patch level
The image is fully updated at build time. Confirm that no upgrades are pending and that the update path is intact:
apt-get -s -o APT::Get::Always-Include-Phased-Updates=true dist-upgrade | grep -c '^Inst ' | sed 's/^/pending upgrades: /' apt-mark showhold dpkg -l | awk '/linux-image-[0-9]/{print $2, $3}'Expected output shows pending upgrades: 0, no held packages, and the installed Arm kernel:
pending upgrades: 0 linux-image-6.8.0-1064-azure 6.8.0-1064.72~22.04.1The Always-Include-Phased-Updates=true flag matters on Ubuntu. Without it, a plain check can silently hide phased security updates held back on this particular machine.
This image also arms unattended-upgrades, so security updates are downloaded and applied on a timer without any action from you. You can still run updates on your own schedule:
sudo apt-get update && sudo apt-get -y dist-upgradeReboot if a new kernel was installed:
sudo systemctl rebootVerify the security posture
Confirm that AppArmor is enforcing, root is locked, and SSH accepts keys only:
sudo aa-status --enabled && echo "apparmor: enabled"
sudo passwd -S root
sudo sshd -T | grep -E '^(permitrootlogin|passwordauthentication|pubkeyauthentication) 'Expected output:
apparmor: enabled root L 08/06/2026 0 99999 7 -1 permitrootlogin without-password pubkeyauthentication yes passwordauthentication nowithout-password is how OpenSSH reports the prohibit-password setting. Both names mean the same thing: root may not authenticate with a password. The L from passwd -S means the root account is locked.
Verify Azure integration and unattended updates
Confirm that the Azure Linux Agent, cloud-init and time synchronisation are healthy and that unattended security updates are armed. Then check your resources:
systemctl is-active walinuxagent 2>/dev/null || systemctl is-active waagent cloud-init --version
systemctl is-enabled apt-daily-upgrade.timer apt-config dump | grep -E 'APT::Periodic::(Update-Package-Lists|Unattended-Upgrade) '
systemctl is-active chrony df -h / free -hThe Azure Linux Agent lets Azure provision your SSH key, resize the OS disk, run extensions and report VM health, so it should always be active.
The apt-daily-upgrade.timer unit being enabled, together with Unattended-Upgrade "1" in the apt periodic config, keeps the machine applying security updates on its own after launch.
Networking and the firewall
The Azure Network Security Group (NSG) controls inbound and outbound traffic. It is the first and usually the only place you need to open a port. The image advertises a single inbound port, SSH on 22.
ufw (the Uncomplicated Firewall) is available on this image but left inactive by default. It does not filter traffic, so your NSG rules take effect exactly as written, with no second layer to keep in sync. Confirm what is listening before you open anything:
ss -tlnpOn a fresh machine, the main listener is sshd on port 22. Only port 22 is advertised for inbound access, and the Azure NSG governs what is actually reachable from outside.
If your policy requires a host firewall as well, enable the one that is already installed. Add the SSH rule first, before you enable ufw, so you do not lock yourself out:
sudo ufw allow OpenSSH
sudo ufw allow 443/tcp
sudo ufw enableOnce ufw is running, open each port in both the Azure NSG and ufw before traffic can reach your service.
Install software
The Ubuntu archive carries the application packages. Search it, then install what you need:
apt-cache search nginx 2>/dev/null | sed -n '1,5p'Install a package and enable it in the usual way, for example sudo apt-get install -y nginx followed by sudo systemctl enable --now nginx.
Everything in the archive is built for Arm, so apt resolves arm64 packages automatically. Nothing extra needs configuring for the architecture.
The image ships with no human accounts at all, so azureuser is the only login until you add one. To add another administrator:
- Create the account with
sudo adduser <name>. - Add it to the
sudogroup withsudo usermod -aG sudo <name>. - Copy your public key into
/home/<name>/.ssh/authorized_keys, with mode600and the.sshdirectory mode700, owned by that user.
Then check the sudo group:
getent group sudoCommon Use Cases
- Cost-efficient Arm application and web hosting
- Container platforms and cloud-native workloads on Arm
- A modern long-term support base for your own stacks
- Arm build and CI runners
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 you supplied at create time. Password login is disabled by design, so a wrong key cannot fall back to a password prompt.
To see which key your client is actually offering, run ssh -v azureuser@<vm-ip> from your workstation and look for the Offering public key lines.
The VM will not create or will not boot
This is an Arm64 image. It only runs on Arm virtual machine sizes (the Dpsv6/Dplsv6 Ampere families and other p-suffixed sizes).
If Azure rejects the size at create time, or the VM never becomes reachable, confirm that you selected an Arm size and not an x86 one such as Standard_B2s or Standard_D2s_v5.
Azure agent not running
sudo systemctl status walinuxagentIf the agent is not running, start it on the VM:
sudo systemctl enable --now walinuxagentPackage manager issues
Refresh the metadata cache first:
sudo apt-get updateIf repositories are unreachable, check DNS resolution. getent is always present and resolves through the same system resolver:
getent hosts ports.ubuntu.comThe Arm archive is served from ports.ubuntu.com/ubuntu-ports. This is normal for Arm and is not a sign of a misconfigured mirror.
A service is blocked and the logs mention AppArmor
AppArmor is enforcing on this image. Rather than disabling it, look at what was denied. On a healthy machine, there are no recent denials:
sudo dmesg | grep -i 'apparmor.*DENIED' | tail -n 5 || echo "no recent AppArmor denials"Important Notes
Ubuntu is free and open source. It is not covered by a single licence: it is a distribution assembled from thousands of independently packaged components, each carrying its own terms, including the GPL, LGPL, MIT, BSD, Apache 2.0 and MPL. Every package's terms are readable with dpkg -s <package> and under /usr/share/doc/<package>/copyright. No subscription or licence key is required to run this image; Ubuntu Pro is an optional Canonical subscription that is neither included nor required here.
Ubuntu 22.04 LTS receives standard security maintenance until 2027. Plan a move to a newer LTS image before that date for workloads that need to outlive it.
Ubuntu is a trademark of Canonical Ltd. The name is used here nominatively, only to identify the distribution this image contains. SecureAnyCloud is not affiliated with, endorsed by or sponsored by Canonical Ltd.
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 Ubuntu 22.04 LTS Arm64 on Azure with 24/7 support from SecureAnyCloud.
View this image
Need Help?
Our support team is available 24/7.
sales@secureanycloud.com