Overview
This is a repackaged software product wherein additional charges apply for hardening, security configuration, and support.
WHAT IS MARIADB
MariaDB Community Server is a free, open-source relational database server, implemented in C/C++ as a multi-threaded daemon (mariadbd) and maintained by the MariaDB Foundation as a community-developed fork of MySQL. It keeps wire-protocol and behaviour compatibility with MySQL, so existing applications, drivers, and tools connect unchanged. It offers ACID transactions with the InnoDB storage engine, the SQL standard, native JSON, generated columns, window functions, common table expressions, full-text and spatial indexes, stored procedures, views, triggers, and replication. This AMI ships the 12.3 long-term-support line from the MariaDB Foundation apt repository and bundles mariadb-backup for hot, non-blocking physical backups. Data is persisted on disk with InnoDB redo logging and the doublewrite buffer. Running it yourself in your own VPC keeps your data inside your AWS account rather than a managed service. GPL-2.0 license, no vendor lock-in.
WHAT THIS AMI ADDS
Security hardening:
- A root password and a sample application database plus user are generated at first boot - never a default or empty password
- Anonymous users and the test database are removed (secure-installation equivalent); root is restricted to localhost
- Native TLS enabled at first boot with a per-instance self-signed certificate - no shared private key is baked into the image; clients connect with --ssl
- Listens for VPC-internal access only - bound to the private interface and loopback; port 3306 is governed by your Security Group, not exposed to the internet
- UFW firewall - SSH on 22; port 3306 governed by your Security Group
- fail2ban, AppArmor
- CVE scan - every image is scanned for vulnerabilities before release
Web administration (phpMyAdmin):
- phpMyAdmin web UI - browse tables, run SQL, import/export, and manage users from your browser
- Served only over HTTPS behind an nginx TLS perimeter on 443 (per-instance self-signed certificate; swap in your own with certbot)
- Authenticates against MariaDB (cookie auth) - no separate account store; the setup script is removed and the cookie blowfish secret is generated per-instance at first boot
- No new database port is opened - the UI is reached on 443, governed by your Security Group
OS hardening (CIS Level 1):
- CIS Ubuntu 24.04 LTS Level 1 benchmark applied via ansible-lockdown
- auditd, SSH hardening, Kernel hardening, IMDSv2 enforced
Compliance artifacts:
- SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json
- CIS Conformance Report at /etc/lynxroute/cis-report.html
- CIS Tailored Profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md
Highlights
- MariaDB security baked in: a root password and sample database generated at first boot, anonymous/test removed, native TLS with a per-instance certificate, root restricted to localhost.
- CIS Level 1 hardened Ubuntu 24.04 LTS: auditd, fail2ban, AppArmor, SSH key-only, IMDSv2 enforced. CVE-scanned before every release. SBOM (CycloneDX) and CIS Conformance Report included.
- Bundled phpMyAdmin web UI: browse tables, run SQL, and import/export from any browser over HTTPS (nginx TLS perimeter on 443; cookie auth against MariaDB, blowfish secret generated at first boot, setup script removed). Drop-in MySQL-compatible database - full wire-protocol compatibility, InnoDB, mariadb-backup for hot backups. GPL-2.0 license, no vendor lock-in.
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Cost/hour |
|---|---|
t3.medium Recommended | $0.02 |
t3.large | $0.03 |
t3.small | $0.02 |
m6i.xlarge | $0.05 |
m6i.large | $0.03 |
Vendor refund policy
We do not offer refunds for this product. AWS infrastructure charges (EC2, EBS, data transfer) are billed separately by AWS and are not refundable by us.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
MariaDB 12.3.2 + phpMyAdmin 5.2.3 - adds the phpMyAdmin web administration UI (PHP 8.3 FPM) behind the nginx TLS perimeter on 443 (/phpmyadmin/); cookie auth against MariaDB, per-instance blowfish_secret generated at first boot, setup script removed. MariaDB 12.3.2 unchanged.
Additional details
Usage instructions
- Launch instance (t3.medium recommended)
- SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
- Read credentials: sudo cat /root/mariadb-credentials.txt
- Open port 3306 in the Security Group ONLY to your trusted app-tier sources in the same VPC (never 0.0.0.0/0); open 443 ONLY to the trusted IPs that will use the phpMyAdmin web UI
- Connect from an app server in the same VPC using the private IP, port 3306, and --ssl
- phpMyAdmin web UI: browse to https://<PUBLIC_IP>/phpmyadmin/ and log in with any MariaDB account (e.g. appuser, or create a dedicated admin); the certificate is self-signed by default
The database requires password authentication, native TLS is enabled, root is restricted to localhost, and access to port 3306 is governed by your Security Group - never expose 3306 to the public internet. The phpMyAdmin web UI is the only browser-facing component; it is served on 443 only and should likewise be scoped to trusted sources.
Example (mysql/mariadb client): mariadb -h <PRIVATE_IP> -P 3306 -u appuser -p --ssl appdb sudo mariadb (local administration on the instance, via the unix socket)
The root password and the sample appdb/appuser credentials are saved to /root/mariadb-credentials.txt at first boot. A per-instance self-signed TLS certificate is generated at first boot; for production, replace /etc/mysql/ssl/ca.pem, server-cert.pem and server-key.pem with a CA-signed pair (owned by mysql, key mode 600) and run sudo systemctl restart mariadb.
Resources
Vendor resources
Support
Vendor support
Lynxroute is not affiliated with or endorsed by the MariaDB Foundation, MariaDB plc, or Oracle Corporation. MySQL is a trademark of Oracle Corporation; "MariaDB" is a trademark of the MariaDB Foundation. This AMI packages the open-source MariaDB Community Server distribution (GPL-2.0) as a self-hosted EC2 service, distinct from Amazon RDS for MariaDB, which is a managed offering. It does not include MaxScale or any MariaDB Enterprise component.
Visit us online: https://lynxroute.com
For MariaDB documentation: https://mariadb.com/kb/en/documentation/ For MariaDB community support and bug reporting:
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products

