Ha
Databases AWS

Hardened Microsoft SQL Server 2022 and 2025 on Ubuntu AMIs on AWS: Guide

| Product: Hardened AMIs for Microsoft SQL Server 2022 & 2025 on Ubuntu

No longer open to new subscribers. The AWS Marketplace listing this guide was written for is closed to new subscriptions. If you already run it, your instances and this guide are unaffected. For what you can launch today, see cloudimg products.

Overview

This page is the entry point for the cloudimg Hardened AMIs for Microsoft SQL Server 2022 & 2025 on Ubuntu AWS Marketplace listing. The listing is a single product that offers several products and releases as separate software versions. Subscribe once, then choose the version you want from the Software version list at launch, and open its guide below for the full setup and connection walk-through.

Hardened AMIs for Microsoft SQL Server 2022 and 2025 on Ubuntu Deploy Microsoft SQL Server on AWS with security hardening built in from the start. cloudimg publishes pre-configured AMIs that remove default credentials, generate per-instance secrets on first boot, and run on a fully patched Ubuntu LTS base, so each instance starts with its own credentials, TLS-encrypted connections and no database port exposed.

What cloudimg adds to every version - Every image is built on a fully patched Ubuntu LTS base with security hardening applied before publication. - First-boot setup generates a unique SQL Server sa password on each instance and writes it to a root-only file. - No default password exists, no two instances share a secret, and SQL Server authentication requires that per-instance password. - Every connection is TLS-encrypted with a certificate generated on each instance's first boot.

Pricing is metered hourly per EC2 instance type and is the same for every version in this listing. The recommended instance type is m5.large.

How to pick a version

  1. Open the listing on AWS Marketplace and choose View purchase options, then Subscribe. One subscription covers every product and release in the listing, and the free trial starts with it.
  2. Once the subscription is active, choose Launch your software.
  3. Choose One-click launch from AWS Marketplace (or Launch from EC2 Console for full control), then in Version choose the product and release you want. Each version is a separate software version, named <product> <release> on <operating system> - <date>, for example SQL Server 2022 Developer on Ubuntu 22.04 - YYYY-MM-DD. The date is when that version was added to the listing.
  4. Choose your Region and an instance type (m5.large is recommended), your EC2 key pair and a security group that opens the ports in the product's guide, then choose Launch.
  5. After launch, open the product's guide below for first login.

You can run several products from the same subscription: launch one instance per product, each from its own software version.

Versions in this listing, newest release first:

  • SQL Server: 2025 Developer on Ubuntu 24.04, 2025 Enterprise on Ubuntu 24.04, 2025 Express on Ubuntu 24.04, 2025 Standard on Ubuntu 24.04, 2022 Developer on Ubuntu 22.04, 2022 Enterprise on Ubuntu 22.04, 2022 Standard on Ubuntu 22.04

Security model

Every version in this listing follows the same model:

  • No default login. Administrator passwords, database passwords and application secrets are generated on the first boot of each instance and written to a root-only file. No two instances share a secret.
  • Only the documented ports. Each guide lists the ports the product needs; open only those in your security group.
  • Database port closed to the internet. The listing's default security group opens SSH only. Reach the database port over an SSH tunnel, or allow it only from the networks of your applications; never from 0.0.0.0/0.
  • Patched base. The operating system is fully patched when the image is built.
  • HTTPS. Each guide shows how to add a certificate on the instance or behind an Application Load Balancer with AWS Certificate Manager.

Choose your product

Product Software version OS Guide
SQL Server SQL Server 2022 Developer on Ubuntu 22.04 Ubuntu 22.04 Open guide →
SQL Server SQL Server 2022 Enterprise on Ubuntu 22.04 Ubuntu 22.04 Open guide →
SQL Server SQL Server 2022 Standard on Ubuntu 22.04 Ubuntu 22.04 Open guide →
SQL Server SQL Server 2025 Developer on Ubuntu 24.04 Ubuntu 24.04 Open guide →
SQL Server SQL Server 2025 Enterprise on Ubuntu 24.04 Ubuntu 24.04 Open guide →
SQL Server SQL Server 2025 Express on Ubuntu 24.04 Ubuntu 24.04 Open guide →
SQL Server SQL Server 2025 Standard on Ubuntu 24.04 Ubuntu 24.04 Open guide →

How to tell which version you launched

The version you chose is shown on the instance's launch record in the EC2 console (AMI name and description) and in your AWS Marketplace subscription. On the instance itself, the login message after SSH names the product and its credentials file. Open the matching guide above for the rest of the walk-through.

Support

cloudimg's support team is on hand 24 hours a day by email (support@cloudimg.co.uk), with a guaranteed response within 24 hours. Raise a ticket through the Marketplace console or by email.

All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.