Ubuntu 22.04 VM with SQL Server 2022 Web
by cloudimg
Ubuntu 22.04 VM with Microsoft SQL Server 2022 Web.
Ubuntu 22.04 VM with Microsoft SQL Server 2022 Web Edition by cloudimg
An Ubuntu 22.04 LTS VM with Microsoft SQL Server 2022 Web Edition (16.0.4305.5, CU27 with the October 2026 security update), installed from Microsoft's official repository.
Licensing: SPLA only. SQL Server 2022 Web Edition is licensed only through the Microsoft Services Provider License Agreement (SPLA): no SQL Server licence is included (the cloudimg charge, $0.04 per vCPU per hour, covers the image, hardening, maintenance and support), and you need a SPLA agreement covering the cores of the VM. Each VM sets the edition with MSSQL_PID=Web at first boot; there is no product key to enter.
Secure on first boot
- No SQL Server instance ships in the image. Each VM's first boot runs Microsoft's own setup with a 32-character sa password unique to that VM, so there is never a shared or temporary password
- SQL Server opens port 1433 only after its own password is set and proven; the dedicated admin connection stays on localhost
- Every connection is TLS encrypted (TLS 1.2 forced) with a certificate the VM mints for itself
- sa is the only SQL login, with the password policy enforced; no default database or extra login is created
- SQL Server cannot reach the Azure metadata service or wire server, telemetry is off and SQL Server Agent ships disabled
- The password is written only to
/root/mssql-credentials.txt(root only) and is never placed on a command line or in a log
What is included
- Microsoft SQL Server 2022 Web Edition and
mssql-tools18(sqlcmd,bcp) mssql-firstboot.servicefor the per-VM setup,mssql-server.servicemanaged by systemd- Ubuntu 22.04 LTS fully patched at build time, with unattended security updates on
- A step-by-step deployment guide and 24/7 cloudimg support
Web edition
- The full relational engine for public websites, web applications and web services
- Transparent Data Encryption, Always Encrypted, Row-Level Security and ledger tables
- Query Store and intelligent query processing
- Web edition limits: the lesser of 4 sockets or 16 cores and 64 GB of buffer-pool memory; licensed for public, Internet-accessible web workloads.
Technical specifications
- Operating system: Ubuntu 22.04 LTS
- Database: Microsoft SQL Server 2022 Web Edition 16.0.4305.5
- Port: 1433 (TLS forced); open it in your network security group only to the clients that need it
- Credentials:
sudo cat /root/mssql-credentials.txt - Recommended size: Standard_D4s_v3 or larger
Deployment guide: https://www.cloudimg.co.uk/guides/sql-server-2022-web-on-ubuntu-22-04-azure/
24/7 support: support@cloudimg.co.uk