Deployment guide

Debian 13 ARM64

Overview

Debian is one of the oldest and most widely used community Linux distributions, produced by the volunteer Debian Project. Version 13, codename Trixie, is the current stable release. It gives you a clean, minimal and dependable base with a proven kernel, toolchain and package set.

This guide covers the deployment and configuration of Debian 13 on 64-bit Arm (AArch64/arm64) on Microsoft Azure, using SecureAnyCloud's preconfigured virtual machine image from the Azure Marketplace. This is the native Arm build. It runs on Azure's Arm virtual machine sizes (the Dpsv6/Dplsv6 families on Azure Cobalt 100 Arm processors, and other p-suffixed sizes), where many workloads deliver the same performance at a lower cost than on x86.

What you get:

  • Debian 13 (Trixie), native 64-bit Arm (arm64 / AArch64)
  • Every available security update applied at build time
  • unattended-upgrades armed, 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
  • LLMNR link-local name resolution disabled, so SSH is the only externally reachable service
  • The standard Debian archive 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.
  • PasswordAuthentication is disabled in the SSH daemon, so every login is by key.
  • PermitRootLogin is set to prohibit-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 azureuser at 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, which is the Debian default.
  • LLMNR is disabled. Debian 13's stock resolver listens on port 5355 for link-local multicast name resolution, a deprecated protocol with a well-known spoofing attack class that has no use on an Azure virtual network. This image switches it off, so the only externally reachable service is SSH on port 22.

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 (Azure Cobalt 100) families, or another p-suffixed Arm size. An x86 size such as Standard_B2s will not boot this image.

1

Deploy the Virtual Machine

Option A: Azure Portal

  • Go to the Azure Marketplace and search for "Debian 13 Arm64 SecureAnyCloud".
  • Select the image and click Create.
  • Configure the basics:
  • Subscription: Select your Azure subscription.
  • Resource Group: Create a new group or select an existing one.
  • Virtual Machine Name: Enter a name for your VM.
  • Region: Select your preferred Azure region.
  • Size: Select Standard_D2ps_v6 (recommended, an Arm64 size).
  • 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:debian-13-arm64:default:latest
az vm create \
  --resource-group myResourceGroup \
  --name my-debian-arm64-vm \
  --image sac1647283583153:debian-13-arm64:default:latest \
  --size Standard_D2ps_v6 \
  --admin-username azureuser \
  --generate-ssh-keys \
  --public-ip-sku Standard

The --size must be an Arm64 family (Standard_D2ps_v6 above). Azure rejects an x86 size for an Arm image at create time.

2

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-debian-arm64-vm --show-details --query publicIps -o tsv ssh azureuser@<vm-ip>

There is no password to enter. If SSH asks you for one, the key you supplied at create time is not the key your client is offering.

3

Confirm the release and the architecture

Check that the machine is the Debian 13 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-architecture

Expected output:

PRETTY_NAME="Debian GNU/Linux 13 (trixie)" NAME="Debian GNU/Linux" VERSION_ID="13" VERSION="13 (trixie)" ID=debian Linux 6.12.107+deb13-cloud-arm64 aarch64 arm64

aarch64 from uname and arm64 from dpkg both confirm that this is the native 64-bit Arm build, not an emulated or x86 image. The exact kernel version moves forward as Debian releases updates. You can also check the point release with cat /etc/debian_version. A released value looks like 13.6.

4

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 exactly one installed Arm kernel:

pending upgrades: 0 linux-image-6.12.107+deb13-cloud-arm64 6.12.107-1

This image 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-upgrade

Reboot if a new kernel was installed:

sudo systemctl reboot
5

Verify the security posture

Confirm that AppArmor is enforcing, root is locked, and SSH is key-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-31 0 99999 7 -1 permitrootlogin without-password pubkeyauthentication yes passwordauthentication no

without-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 that the root account is locked, and the date after it is the day the password field was last changed.

6

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 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 -h

Expected output:

active /usr/bin/cloud-init 25.1.4 enabled APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Unattended-Upgrade "1"; active Filesystem Size Used Avail Use% Mounted on /dev/sda1 30G 946M 27G 4% / total used free shared buff/cache available Mem: 7.7Gi 379Mi 7.2Gi 480Ki 332Mi 7.4Gi Swap: 0B 0B 0B

The 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.

free -h shows Swap: 0B, which is expected. Azure manages swap on the ephemeral resource disk, not on the OS disk.

7

Networking and the firewall

The Azure Network Security Group (NSG) is the control plane for inbound and outbound traffic. It is the first and usually the only place where 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. Confirm what is listening before you open anything:

sudo ss -tln | awk '$1=="LISTEN"{print $1, $4}'

Expected output:

LISTEN 127.0.0.54:53 LISTEN 127.0.0.53%lo:53 LISTEN 0.0.0.0:22 LISTEN [::]:22

The only external listener is sshd on port 22. The two 127.0.0.5x:53 rows are systemd-resolved's local DNS stub, bound to loopback and not reachable from outside. Unlike a stock Debian 13 install, there is no listener on port 5355. This image disables LLMNR, so the resolver does not accept multicast name-resolution traffic from the network at all.

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 enable

Once ufw is running, a port must be open in both the Azure NSG and ufw before traffic reaches your service. If you prefer to manage rules directly, the Debian archive also ships nftables.

8

Install software

The Debian archive carries the application packages. Search it, then install what you need:

apt-cache search --names-only '^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. There is nothing extra to configure for the architecture.

To add another administrator, create the account with sudo adduser <name>, then add it to the sudo group with sudo usermod -aG sudo <name>. Next, copy your public key into /home/<name>/.ssh/authorized_keys with mode 600, and set the .ssh directory to mode 700, owned by that user. The image ships with no human accounts at all, so azureuser is the only login until you add one:

getent group sudo

Common Use Cases

  • Cost-efficient Arm application and web hosting
  • Container platforms and cloud-native workloads on Arm
  • A clean, minimal community-distribution base for your own stacks
  • Arm build and CI runners

Troubleshooting

Cannot connect via 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 that you are using the correct username: azureuser.
  • Verify 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 is 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 Azure Cobalt 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 walinuxagent

If the agent is not running, start it by running this command on the VM:

sudo systemctl enable --now walinuxagent

Package manager issues

Refresh the metadata cache first:

sudo apt-get update

If repositories are unreachable, check DNS resolution. getent is always present and resolves through the same system resolver:

getent hosts deb.debian.org

On Azure, the archive is served through the Azure Debian mirror. This is normal 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"

Harmless messages in the boot log

Two messages are normal on Debian 13 Azure VMs and are not faults:

  • systemd-ssh-generator: Failed to query local AF_VSOCK CID: Debian 13's systemd probes for SSH-over-vsock support. Azure's hypervisor does not expose a VSOCK CID, and systemd falls back cleanly. This message is harmless.
  • I/O errors mentioning sr0: This is the emulated CD-ROM device used during provisioning. These errors are harmless.

Serial console

On Arm64 Azure VMs, the serial console is ttyAMA0 (the PL011 UART), not ttyS0. If you use the Azure Serial Console, this is the device that it attaches to. It is already configured on the kernel command line.

Important Notes

Debian is free and open-source software. 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. 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. No subscription or licence key is required to run this image, and Debian has no commercial subscription or entitlement of any kind.

Debian 13 (Trixie) is the current stable release of Debian. It receives security support from the Debian security team, and Debian's Long Term Support (LTS) programme extends coverage to around five years from release. There is no end-of-life concern in choosing it today, because it is the release that the Debian Project itself recommends.

Debian is a registered trademark of Software in the Public Interest, Inc. The name is used here nominatively, only to identify the distribution that this image contains. SecureAnyCloud is not affiliated with, endorsed by or sponsored by the Debian Project or Software in the Public Interest, Inc.

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 Debian 13 Arm64 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