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
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 users and the test database removed, native TLS with a per-instance certificate, root restricted to localhost - unlike bare MariaDB AMIs that ship with no root password set and plaintext connections you have to lock down yourself.
- 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.
- Drop-in MySQL-compatible relational database: full wire-protocol compatibility, InnoDB engine, mariadb-backup bundled for hot backups. GPL-2.0 license - fully auditable, 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 - Initial release (June 2026)
- MariaDB Community Server 12.3.2 LTS on Ubuntu 24.04 LTS (official MariaDB Foundation packages)
- CIS Level 1 hardening applied (ansible-lockdown/UBUNTU24-CIS)
- CVE-scanned before every release
- A root password and a sample application database/user generated at first boot - never a default or empty password
- Anonymous users and the test database removed; root restricted to localhost
- Native TLS enabled at first boot with a per-instance self-signed certificate (connect with --ssl)
- mariadb-backup bundled for hot, non-blocking physical backups
- Bound to the private interface and loopback; port 3306 governed by your Security Group
- UFW firewall pre-configured (SSH on 22; 3306 governed by your Security Group)
- fail2ban, auditd, AppArmor pre-configured
- SBOM (CycloneDX 1.6) at /etc/lynxroute/sbom.json
- CIS Conformance Report (OpenSCAP) at /etc/lynxroute/cis-report.html
- IMDSv2 enforced
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)
- Connect from an app server in the same VPC using the private IP, port 3306, and --ssl
MariaDB is a VPC-internal database: it requires password authentication, native TLS is enabled, root is restricted to localhost, and access to port 3306 is governed by your Security Group. It is never meant to be exposed to the public internet.
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

