Debian 12 ARM64
Overview
Debian is a long-established community Linux distribution produced by the volunteer Debian Project. Version 12, codename Bookworm, is a stable release that gives you a clean, minimal and dependable base with a proven kernel, toolchain and package set.
This SecureAnyCloud image is the native Arm build of Debian 12 (AArch64/arm64) for Microsoft Azure, deployed from 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:
- Debian 12 (Bookworm), 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 synchronization.
- AppArmor in enforcing mode.
- The standard Debian archive enabled, so your update path stays 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 uses a key.PermitRootLoginis set toprohibit-password, so root cannot be reached with a password even if one is set later.- 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 share a secret. - The machine identity and SSH host keys are regenerated on every instance, so no two machines share a host key either.
- AppArmor stays enabled and enforcing, which is the Debian 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 you must launch it 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 Azure Marketplace and search for "Debian 12 Arm64 SecureAnyCloud".
- Select the image and choose Create.
- Configure the basics:
- Subscription: select your Azure subscription.
- Resource Group: create a new one or select an existing one.
- Virtual Machine Name: enter a name for your VM.
- Region: select your Azure region.
- Size:
Standard_D2ps_v6is recommended (an Arm64 size).
- Under Administrator Account, select SSH public key and enter your key.
- Under Inbound Port Rules, allow SSH (port 22).
- Choose Review + Create, then Create.
Option B: Azure CLI
az vm image terms accept --urn sac1647283583153:debian-12-arm64:default:latest
az vm create \
--resource-group myResourceGroup \
--name my-debian-arm64-vm \
--image sac1647283583153:debian-12-arm64:default:latest \
--size Standard_D2ps_v6 \
--admin-username azureuser \
--generate-ssh-keys \
--public-ip-sku StandardThe --size value must be an Arm64 family, such as Standard_D2ps_v6 above. Azure rejects an x86 size for an Arm image at create time.
Connect over 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-debian-arm64-vm --show-details --query publicIps -o tsv ssh azureuser@<vm-ip>There is no password to enter. If SSH asks for one, your client is not offering the key you supplied at create time.
Confirm the release and the architecture
Check that the machine runs the Debian 12 release you expect, and that it runs on Arm.
grep -E '^(NAME|VERSION|ID|VERSION_ID|PRETTY_NAME)=' /etc/os-release uname -srm dpkg --print-architectureExpected output:
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" ID=debian Linux 6.1.0-52-cloud-arm64 aarch64 arm64The aarch64 output from uname and the arm64 output 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}'The expected output shows pending upgrades: 0, no held packages and the installed Arm kernel.
pending upgrades: 0 linux-image-6.1.0-52-cloud-arm64 6.1.180-1This image arms unattended-upgrades, so security updates download and apply on a timer without any action from you. You can also run updates on your own schedule.
sudo apt-get update && sudo apt-get -y dist-upgradeIf a new kernel was installed, reboot.
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 2026-08-06 0 99999 7 -1 permitrootlogin without-password pubkeyauthentication yes passwordauthentication noOpenSSH reports the prohibit-password setting as without-password. 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 synchronization are healthy, that unattended security updates are armed, and check your resources.
systemctl is-active walinuxagent 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. When apt-daily-upgrade.timer is enabled and the apt periodic config has Unattended-Upgrade "1", the machine keeps applying security updates on its own after launch.
free -h shows Swap: 0B. This is expected, because Azure manages swap on the ephemeral resource disk, not on the OS disk.
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.
Debian's minimal cloud image ships with no host firewall enabled. Neither ufw nor nftables rules are active by default, so your NSG rules take effect exactly as written, with no second layer to keep in sync. Before you open anything, confirm what is listening.
ss -tlnpOn a fresh machine the main external listener is sshd on port 22. You also see systemd-resolved bound to loopback addresses (127.0.0.53 and 127.0.0.54 on port 53, and port 5355 for LLMNR). These are the local DNS stub resolver and are not reachable from outside. Only port 22 is advertised for inbound access, and the Azure NSG governs what is actually reachable from outside.
If your policy also requires a host firewall, install one from the archive. ufw is the simplest to manage. Add the SSH rule first, before you enable ufw, so you do not lock yourself out.
sudo apt-get update && sudo apt-get install -y ufw
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. If you prefer to manage rules directly, the Debian archive also provides nftables.
Install software
The Debian 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, run sudo apt-get install -y nginx, then sudo systemctl enable --now nginx.
Everything in the archive is built for Arm, so apt resolves arm64 packages automatically. You do not need to configure anything for the architecture.
The image ships with no human accounts, 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. - Set mode
600on that file and mode700on the.sshdirectory, both owned by that user.
getent group sudoCommon Use Cases
- Cost-efficient application and web hosting on Arm.
- Container platforms and cloud-native workloads on Arm.
- A clean, minimal community-distribution base for your own stacks.
- Arm build and CI runners.
Troubleshooting
You cannot connect over SSH
- Check that the VM is in the Running state in the Azure Portal.
- Check that port 22 is allowed in the Network Security Group.
- Use the correct username:
azureuser. - Check that 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 offers, run ssh -v azureuser@<vm-ip> from your workstation and look for the Offering public key lines.
The VM does not create or does not boot
This is an Arm64 image. It runs only 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 size such as Standard_B2s or Standard_D2s_v5.
The Azure agent is not running
sudo systemctl status walinuxagentIf it is not running, start it. Run this on the VM.
sudo systemctl enable --now walinuxagentPackage manager problems
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 deb.debian.orgOn Azure, the archive is served through the Azure Debian mirror. This is normal and does not mean the mirror is misconfigured.
A service is blocked and the logs mention AppArmor
AppArmor is enforcing on this image. Instead of disabling it, look at what it denied. On a healthy machine there are no recent denials.
sudo dmesg | grep -i 'apparmor.*DENIED' | tail -n 5 || echo "no recent AppArmor denials"Serial console
On Arm64 Azure VMs the serial console is ttyAMA0 (the PL011 UART), not ttyS0. The Azure Serial Console attaches to that device, and it is already configured on the kernel command line.
Important Notes
Debian is free and open source. It is not covered by a single license. It is a distribution assembled from thousands of independently packaged components, each with its own terms, including the GPL, LGPL, MIT, BSD, Apache 2.0 and MPL. Everything in the Debian main archive complies with the Debian Free Software Guidelines (DFSG).
You can read every package's terms with dpkg -s <package> and under /usr/share/doc/<package>/copyright. Running this image needs no subscription or license key, and Debian has no commercial subscription or entitlement of any kind.
Debian 12 (Bookworm) is an oldstable release as of 2026. Debian 13 (Trixie) is the current stable release. Debian 12 continues to receive security support, and Debian's Long Term Support (LTS) program extends coverage to around 2028. Plan a move to a newer Debian image before that date for workloads that must outlive it.
Debian is a registered trademark of Software in the Public Interest, Inc. This page uses the name only to identify the distribution the image contains. SecureAnyCloud is not affiliated with, endorsed by or sponsored by the Debian Project or Software in the Public Interest, Inc.
Support
For help with this image, contact SecureAnyCloud support.
- Website: secureanycloud.com
- Product catalog: secureanycloud.com/products
- User guides: secureanycloud.com/guides
- SLA: 24 hour response guaranteed
Deploy on Azure
Launch Debian 12 Arm64 on Azure with 24/7 support from SecureAnyCloud.
View this image
Need Help?
Our support team is available 24/7.
sales@secureanycloud.com