Hardened Pi-hole, AdGuard Home and DNS Server AMIs on AWS: Guide
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 Pi-hole, AdGuard Home & DNS Server AMIs 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.
Security-hardened DNS and NTP server AMIs, built, patched and ready to deploy on AWS Each AMI is a repackaged open-source DNS or NTP product with security hardening, secure-by-default configuration and per-instance credentials generated on first boot, applied by cloudimg.
What cloudimg adds to every version - Every image is built on a fully patched base with the latest security updates applied at build time. - Where a product has a login, API key or TLS key (web consoles, DNS-over-TLS, NTS, rndc), credentials are generated uniquely on the first boot of each instance and written to a root-only file. No default login exists and no two instances share a secret. - DNS, DNS-over-TLS and NTP ports stay closed in the security group until you open them to your own VPC or VPN ranges. Resolvers answer only loopback and private networks by default, so an instance is never an open resolver.
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
- 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.
- Once the subscription is active, choose Launch your software.
- 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 exampleAdGuard Home 0.107.79 on Ubuntu 24.04 - YYYY-MM-DD. The date is when that version was added to the listing. - Choose your Region and an instance type (
m5.largeis recommended), your EC2 key pair and a security group that opens the ports in the product's guide, then choose Launch. - 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:
- AdGuard Home: 0.107.79 with Unbound on Ubuntu 24.04, 0.107.79 on Ubuntu 24.04
- BIND: 9.20.30 on Ubuntu 24.04
- Chrony: 4.5 on Ubuntu 24.04
- CoreDNS: 1.14.7 on Ubuntu 24.04
- DDNS Updater: 2.10.0 on Ubuntu 24.04
- ntpd-rs: 1.9.0 on Ubuntu 24.04
- Pi-hole: 6.5 on Ubuntu 24.04
- Poweradmin: 4.3.6 on Ubuntu 24.04
- PowerDNS Recursor: 5.4.7 + dnsdist on Ubuntu 24.04
- SmartDNS: 48.4 on Ubuntu 24.04
- Unbound: 1.19.2 on Ubuntu 24.04
- Zonemaster: 2026.1.2 on Ubuntu 24.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.
- Internal services on localhost. Databases and caches listen on
127.0.0.1only. Never open database ports (3306, 5432, 6379) to the internet. - Service ports closed until you open them. The listing's default security group does not open DNS (53 UDP and TCP), NTP (123/udp) or DHCP (67/udp). Open them only to your own networks or VPC CIDR, never to
0.0.0.0/0: a resolver or time server open to the internet is abused for amplification attacks. - Patched base. The operating system is fully patched when the image is built.
- HTTPS on first boot for AdGuard Home 0.107.79 on Ubuntu 24.04, AdGuard Home 0.107.79 with Unbound on Ubuntu 24.04, DDNS Updater 2.10.0 on Ubuntu 24.04, Pi-hole 6.5 on Ubuntu 24.04, Poweradmin 4.3.6 on Ubuntu 24.04 and Zonemaster 2026.1.2 on Ubuntu 24.04: these versions serve HTTPS with a per-instance certificate from first boot. SmartDNS 48.4 on Ubuntu 24.04 keeps its web interface off the network (the listing's security group opens SSH only): reach it through an SSH tunnel, as its guide shows. PowerDNS Recursor 5.4.7 + dnsdist on Ubuntu 24.04 serves HTTP; its guide shows how to add a certificate on the instance or behind an Application Load Balancer with AWS Certificate Manager. BIND 9.20.30 on Ubuntu 24.04, Chrony 4.5 on Ubuntu 24.04, CoreDNS 1.14.7 on Ubuntu 24.04, Unbound 1.19.2 on Ubuntu 24.04 and ntpd-rs 1.9.0 on Ubuntu 24.04 open no web port (80/443): they are managed over SSH, and their guide lists the ports they use.
Choose your product
| Product | Software version | OS | Guide |
|---|---|---|---|
| AdGuard Home | AdGuard Home 0.107.79 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| AdGuard Home | AdGuard Home 0.107.79 with Unbound on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| BIND | BIND 9.20.30 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| Chrony | Chrony 4.5 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| CoreDNS | CoreDNS 1.14.7 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| DDNS Updater | DDNS Updater 2.10.0 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| ntpd-rs | ntpd-rs 1.9.0 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| Pi-hole | Pi-hole 6.5 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| Poweradmin | Poweradmin 4.3.6 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| PowerDNS Recursor | PowerDNS Recursor 5.4.7 + dnsdist on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| SmartDNS | SmartDNS 48.4 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| Unbound | Unbound 1.19.2 on Ubuntu 24.04 | Ubuntu 24.04 | Open guide → |
| Zonemaster | Zonemaster 2026.1.2 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.