Operating Systems AWS

Hardened AlmaLinux 8, 9 and 10 AMIs on AWS: Guide

| Product: Hardened AlmaLinux 8, 9 & 10 AMIs: Minimal, LVM, STIG, Essential Eight

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 AlmaLinux 8.10 (RHEL 8 Compatible) with added AWS CLI v2 and SSM Agent.

Overview

This page is the entry point for the cloudimg Hardened AlmaLinux 8, 9 & 10 AMIs: Minimal, LVM, STIG, Essential Eight 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.

Deploy hardened AlmaLinux instances on EC2 without building your own hardening pipeline. AlmaLinux is a community-owned, open source enterprise Linux distribution. Every AMI in this listing boots with key-only SSH, no default passwords, unique SSH host keys generated on first boot, and compliance evidence included on the instance.

What cloudimg adds to every version - Built from the official AlmaLinux image, fully patched at build time and remediated with the OpenSCAP CIS Level 1 Server profile (SCAP Security Guide). STIG and Essential Eight variants apply the OpenSCAP DISA STIG or ACSC Essential Eight profile instead. - Measured on each image as built: the pass rate is published in every version's release notes (98% or more of scored rules on the CIS images), and the full HTML report plus the reason for each waived rule ship on the instance under /usr/share/doc/cloudimg/. - Unique SSH host keys and machine ID generated on every instance's first boot. Root is locked, there are no default passwords, and no build residue or shared keys. - Hardened for EC2: IMDSv2 required, SELinux enforcing, chrony on Amazon Time Sync, automatic security updates with dnf-automatic, an AIDE file-integrity database on the CIS and STIG images, cloud-init and current kernels.

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.

Videos

Short narrated videos: what this listing offers, how to launch it on AWS and a deep dive recorded on the images themselves. Each one has English captions.

Hardened AlmaLinux 8, 9 & 10 AMIs: overview

A tour of the AWS Marketplace listing: eleven AlmaLinux versions, pricing, usage and support.

AlmaLinux 8, 9 & 10 AMIs: launch and log in

Subscribe, launch from the console or the AWS CLI, connect over SSH, and check the instance.

Hardened AlmaLinux 8, 9 & 10 AMIs: deep dive

The compliance evidence, the LVM layout and growing a volume, and the Essential Eight and STIG profiles, on real instances.

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 <distribution> <release>[ <variant>] - <date>, for example AlmaLinux 10 LVM - 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 port 22 from your own network only, 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.

Releases and variants in this listing, newest release first:

  • AlmaLinux: 10.2 (standard); 10 (LVM, Minimal); 9.8 (standard); 9 (Essential Eight, LVM, Minimal, STIG); 8.10 (standard); 8 (LVM, Minimal)

Security model

Every version in this listing follows the same model:

  • Fully patched. Every package is updated when the image is built, superseded kernels are removed, and automatic security updates stay switched on.
  • Key-only SSH. You sign in with your EC2 key pair as the distribution's default user. Password login is disabled, the root account is locked and no account has a password.
  • Nothing shared between instances. No SSH keys, host keys, machine ID or credentials are baked into the image; each instance generates its own on first boot.
  • IMDSv2. Launch with instance metadata version 2 (token required).
  • Only port 22. Open SSH in your security group to your own network only.
  • Benchmark hardening for AlmaLinux 9 Essential Eight and AlmaLinux 9 STIG: these versions are remediated against the named OpenSCAP profile; their guide shows the report.

Choose your product

Distribution Software version Guide
AlmaLinux AlmaLinux 10 LVM Open guide →
AlmaLinux AlmaLinux 10 Minimal Open guide →
AlmaLinux AlmaLinux 10.2 Open guide →
AlmaLinux AlmaLinux 8 LVM Open guide →
AlmaLinux AlmaLinux 8 Minimal Open guide →
AlmaLinux AlmaLinux 8.10 Open guide →
AlmaLinux AlmaLinux 9 Essential Eight Open guide →
AlmaLinux AlmaLinux 9 LVM Open guide →
AlmaLinux AlmaLinux 9 Minimal Open guide →
AlmaLinux AlmaLinux 9 STIG Open guide →
AlmaLinux AlmaLinux 9.8 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, cat /etc/os-release shows the distribution and release. 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.