Production-ready MariaDB 11 with full root access, automated backups, and security hardening - an alternative to RDS for teams needing OS-level control and custom configurations on AWS.
This fully managed MariaDB solution delivers a production-ready, hardened database server on AWS, built on Ubuntu 24.04 LTS. Every instance is pre-configured with security best practices, performance optimizations, and automated operations so you can focus on your application, not infrastructure.
Key Features
Automated Setup and Configuration
On first login, an interactive setup script guides you through MariaDB configuration. It securely generates and stores the root password, optionally enables remote database connections, and configures firewall rules - all within minutes. No manual database administration required.
Built-in Backup and Recovery
A pre-configured daily cron job automatically backs up all databases to /home/ubuntu/mariadb_backup/. Backups older than 7 days are automatically purged to manage disk space. The included restore script lets you recover any database from a backup file with a single command. For additional resilience, you can export SQL dumps to Amazon S3 or integrate with third-party backup tools.
Security Hardened
The instance ships with security best practices applied out of the box: secure password storage in /root/mariadb_root_password.txt (root-only access), UFW firewall pre-configured to allow only SSH (22) and MariaDB (3306) from trusted sources, and the latest security patches applied. MariaDB is configured to reject anonymous users and remove test databases by default.
Performance Optimized
InnoDB buffer pool, query cache, and connection limits are tuned for the selected instance type. Whether you are running a small development database on t2.medium or a production workload on m5.xlarge, the configuration scales with your instance size.
Monitoring and Troubleshooting
MariaDB logs are available at /var/log/mariadb/ for quick troubleshooting. You can integrate with AWS CloudWatch, Grafana, or Prometheus for advanced monitoring and alerting.
Use Cases
Web applications and CMS platforms (WordPress, Drupal, Joomla)
SaaS and multi-tenant applications requiring isolated databases with per-tenant schemas, supporting hundreds of concurrent connections across multiple tenants
E-commerce platforms (WooCommerce, Magento, PrestaShop) - for example, a mid-size online store handling thousands of product SKUs and concurrent shoppers can leverage the optimized InnoDB buffer pool to maintain fast catalog queries and reliable order processing during peak traffic
Data analytics and reporting pipelines
Development and staging environments with production-like configuration
Microservices architectures requiring lightweight, reliable database backends
Getting Started
Launch the AMI from AWS Marketplace on your preferred instance type
SSH into your instance and follow the interactive setup wizard
Your MariaDB server is production-ready with backups, firewall, and tuning configured automatically
For a detailed getting-started guide, architecture overview, and backup/restore runbook, visit our documentation at <www.perimattic.com>.
Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
Full Root Access MariaDB 11: get complete OS-level control to customize storage engines, install plugins, tune kernel parameters, and configure replication modes without vendor restrictions.
Automated Daily Backups with 7-Day Retention: Pre-configured cron job backs up all databases daily, auto-purges older backups, and includes a one-command restore script. Export to S3 for additional resilience.
24/7 Expert Support by Perimattic: 13+ years of cloud infrastructure expertise with free setup assistance, instance sizing guidance, migration planning, and dedicated support at aws-support@perimattic.com.
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator to estimate your infrastructure costs.
If you are an AWS Free Tier customer with a free plan, you are eligible to subscribe to this offer. You can use free credits to cover the cost of eligible AWS infrastructure. See AWS Free Tier for more details. If you created an AWS account before July 15th, 2025, and qualify for the Legacy AWS Free Tier, Amazon EC2 charges for Micro instances are free for up to 750 hours per month. See Legacy AWS Free Tier for more details.
You pay by the hour for a managed MariaDB 11 database. Pricing follows the EC2 instance type you select to run it. The dimensions are not tiers or feature levels; each one maps to a specific instance size and family. Families include general purpose, compute, memory, storage, and accelerated options. Smaller instances carry a lower hourly rate; larger ones cost more per hour. You pick the instance that fits your workload, and billing scales with the hours it runs. Software operation stays the same across every instance choice.
Top-of-mind questions for buyers
What does one hourly unit cover, and am I charged when the database instance is stopped?
Each unit is one running EC2 instance of the family and size you select, billed per hour. The software charge meters running time only. A fully stopped instance does not accrue software charges, though underlying AWS storage fees may still apply while data is retained.
What drives my cost if I run the same workload on a different instance type?
Cost follows the EC2 instance type you choose. Larger instances in a family carry a higher hourly rate; smaller ones cost less per hour. The managed MariaDB 11 operation stays the same across every choice. Only the instance size and family change what you pay.
Is this billed as pay-as-you-go, or do I commit upfront?
Billing is usage-based. You pay only for the hours each instance runs, with no upfront commitment. Charges stop accruing when you stop the instance. This suits variable workloads where you want cost to scale with actual running time rather than a fixed term.
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
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
Initial Release:
Automated MariaDB Setup: Includes a script that configures MariaDB with secure root passwords and the option for remote access.
Backup Functionality: A script for backing up all MariaDB databases and retaining them in /home/ubuntu/mariadb_backup.
Backup Retention: Backup files older than 7 days are automatically deleted.
Restore Functionality: A script to restore MariaDB databases in new or old database from previously created backups.
Cron Job for Backups: A cron job has been set up to automatically backup MariaDB databases daily.
Secure Password Storage: The MariaDB root password is stored securely in /root/mariadb_root_password.txt
Additional details
Usage instructions
Launch an Instance
From AWS Marketplace, select Continue to Subscribe then Continue to Configuration.
Choose the recommended instance type (t2.medium or larger).
Configure your VPC, subnet, and security group.
Set Security Group Rules
Allow:
SSH (22) from your IP to access the instance.
MariaDB (3306) only from trusted sources if remote access is required.
Connect to the Instance
After launch, connect via SSH:
ssh -i <your-key.pem> ubuntu@<Public-IP-of-Instance>
Initial Setup
On first login, the automated script will:
Prompt you to set a MariaDB root password (or generate one automatically).
Ask if you want to enable remote MariaDB connections.
Prompt you to configure firewall settings.
MariaDB Access
Once setup is complete, access MariaDB with:
mariadb -u root -p
The root password is securely stored in:
/root/mariadb_root_password.txt
Backups
A daily cron job backs up all databases to:
/home/ubuntu/mariadb_backup/
Backup files older than 7 days are deleted automatically.
Restore from Backup
To restore a database from a backup file, run:
/home/ubuntu/restore_db.sh <backup-file.sql>
Verification
Run mariadb -u root -p -e "SHOW DATABASES;" to confirm setup.
Check /var/log/mariadb/ for logs if troubleshooting is needed.
Thank you for subscribing. Your instance is ready to go!
Need Support or Customization?
Whether you're facing setup issues or need custom features, Perimattic's expert team is here to help:
We offer:
Free setup assistance
Custom development & integrations
Infrastructure consulting
Automation & AI solutions
With 13+ years of experience serving global clients, we ensure your deployment runs smoothly and scales with your needs.
What We Help With:
Initial setup and configuration assistance (free)
Troubleshooting database connectivity, performance, and backup issues
Custom development and integrations
Infrastructure consulting and architecture review
Migration planning from other database solutions
Automation solutions and scaling guidance
Instance Sizing Guidance:
To help you select the right instance type for your workload:
t2.medium or t3.medium: Development environments, small applications with fewer than 50 concurrent connections and under 10 GB of data
m5.large: Production workloads with moderate traffic, up to 200 concurrent connections and up to 50 GB of data
m5.xlarge: High-traffic production databases, e-commerce platforms, and SaaS applications with 500+ concurrent connections and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation. We ensure your deployment runs smoothly and scales with your needs.
Refunds and Issues:
If you experience any issues with the product or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly to resolve your concern.
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.
Production-ready Redis with full root access, automated backups, and security hardening - an alternative to ElastiCache for teams needing OS-level control and custom configurations on AWS.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.