Deployment guide

Debian 12

Overview

This guide covers deploying and configuring Debian 12 (Bookworm) on Microsoft Azure. It uses SecureAnyCloud's preconfigured virtual machine image from the Azure Marketplace.

What you get:

  • Debian 12 (Bookworm), latest stable release
  • Azure Linux Agent (waagent) for cloud integration
  • Non-free firmware included for broad hardware compatibility
  • Gen2 Hyper-V virtual machine support
  • APT package management with Debian repositories
  • 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 "Debian 12 (Bookworm) on Azure SecureAnyCloud".
  • Select the image and click Create.
  • For Subscription, select your Azure subscription.
  • For Resource Group, create a new one or select an existing one.
  • For Virtual Machine Name, enter a name for your VM.
  • For Region, select your preferred Azure region.
  • For Size, Standard_B2s is 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:debian-12:default:latest
az vm create \
  --resource-group myResourceGroup \
  --name my-debian-12-azure-vm \
  --image sac1647283583153:debian-12: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 with SSH:

ssh azureuser@<public-ip-address>

To find your VM's public IP address, run:

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

Verify the installation

After connecting, verify the operating system:

cat /etc/os-release uname -r

Check disk space and memory:

df -h free -h

Verify that the Azure Linux Agent is running. On Debian, its service is named walinuxagent:

systemctl status walinuxagent
4

Update the system

Install the latest security patches to keep your system up to date:

sudo apt-get update && sudo apt-get upgrade -y
5

Configure the firewall (optional)

The Azure network security group (NSG) controls inbound and outbound traffic. You can also configure the local firewall:

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 web application hosting
  • Container and microservices deployments
  • Database and application server hosting
  • Minimal, secure production environments

Troubleshooting

Cannot connect via 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.
  • Check that you are using the correct user name: azureuser.
  • Check that your SSH key matches the one you configured during deployment.

Azure agent not running

sudo systemctl start walinuxagent
sudo systemctl enable walinuxagent

Package manager issues

sudo apt-get update && sudo apt-get upgrade -y

If the repositories are unreachable, check DNS resolution:

nslookup google.com

Important notes

Debian is free and open source. No licence 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 Debian 12 (Bookworm) 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