Pre-configured MySQL LAMP AMI by Cloud Infrastructure Services for DevOps teams and developers migrating web apps to AWS. Includes phpMyAdmin, Apache, and PHP with security modules.
MySQL Server + phpMyAdmin + LAMP + Apache Web Server on CentOS Stream 9
Deploy a production-ready MySQL database environment on AWS in minutes. This pre-configured AMI by Cloud Infrastructure Services gives DevOps engineers, full-stack developers, and SMB teams a complete LAMP stack - eliminating hours of manual installation and configuration. Whether you are migrating an on-premises LAMP application to AWS, building a new SaaS backend, or setting up a development and testing environment for CI/CD pipelines, this AMI provides a secure, ready-to-use foundation.
What Is Included
MySQL Server Community Edition - Configure as a standalone database, set up master-slave replication, or deploy InnoDB clustering for high availability and automatic failover.
phpMyAdmin - Administer databases, tables, columns, indexes, users, and permissions through a web-based GUI without writing SQL commands.
Apache Web Server - Serve web applications with Mod_Security (Web Application Firewall protecting against OWASP top-10 attacks) and Mod_wsgi for Python WSGI support.
PHP with Performance Extensions - APCu and Redis extensions for in-memory caching that reduces database load; Swoole for asynchronous, high-throughput PHP processing; MongoDB and Libsodium extensions for flexible data handling and modern cryptography.
KodExplorer - A web-based file manager for browsing, uploading, and managing server files without SSH access.
MySQL Shell - Advanced command-line client for SQL, JavaScript, and Python scripting against your database.
Use Cases
E-commerce and SaaS backends - Host WordPress, Magento, or custom PHP applications with MySQL as the primary data store, using Redis caching to handle concurrent user sessions.
Read-replica architecture - Configure MySQL replication to distribute read traffic across multiple instances, improving response times for read-heavy applications.
Development and staging environments - Spin up identical LAMP environments for CI/CD pipelines, enabling developers to test database migrations safely before production deployment.
High-availability deployments - Use InnoDB clustering with automatic failover to maintain uptime for mission-critical applications.
Security Baseline
Mod_Security WAF - Pre-installed Apache module providing application-layer firewall protection against SQL injection, XSS, and other common web attacks.
Libsodium cryptography - Modern encryption library available for application-level data protection.
MySQL access controls - Configure bind address, user privileges, and TLS connections to restrict database access.
Buyers should configure AWS Security Groups to restrict inbound access to required ports only (SSH 22, HTTP 80, HTTPS 443, MySQL 3306) and enable EBS encryption for data at rest.
Requirements and Limitations
Minimum instance type: t3.small (2 vCPU, 2 GB RAM) for development workloads. For production databases, m5.large or higher is recommended.
Storage: Minimum 20 GB EBS volume (gp3 recommended). Size according to your expected database growth.
Operating system: CentOS Stream 9 (64-bit).
Not included: Automated backups (configure AWS Backup or mysqldump cron jobs), SSL/TLS certificates (use Let's Encrypt or AWS Certificate Manager), and InnoDB cluster auto-configuration (manual setup required following documentation).
Region availability: Available in all standard AWS commercial regions.
Highlights
Comes pre installed with MySQL Server community, phpMyadmin, LAMP Stack and Apache Web Server. Eliminates hours of manual MySQL configuration - deploy a production-capable database environment on AWS in minutes rather than spending time installing and tuning individual components. Includes MySQL Shell for advanced SQL, JavaScript, and Python scripting.
Built-in security with Mod_Security Web Application Firewall protecting against OWASP top-10 attacks (SQL injection, XSS, CSRF), Libsodium cryptography library for application-level encryption, and granular MySQL access controls. Apache serves applications behind WAF protection while PHP leverages modern cryptographic functions out of the box.
MySQL Server on AWS is optimised for speed and performance, ready for production ready databases.
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 based on the EC2 instance type you choose. Every option runs the same pre-configured software: MySQL Server, phpMyAdmin, Apache Web Server, and PHP on CentOS Server 9. Pricing scales with instance size and family, not with features. Smaller instances like t2.nano and t3.micro suit light workloads. Larger instances such as x1e.32xlarge, u-24tb1.metal, and p4d.24xlarge provide more CPU, memory, or specialized hardware. Compute, memory, storage, and GPU families let you match hardware to your needs. You are billed only for the hours each instance runs.
Top-of-mind questions for buyers
What does one hourly unit cover, and what is pre-installed on the instance?
One unit is one running EC2 instance of the type you select, billed per hour. Each instance comes pre-configured with MySQL Server, phpMyAdmin, Apache Web Server, PHP, and Let's Encrypt on CentOS Server 9. You choose the instance size to match your CPU, memory, or GPU needs.
Am I charged when my instance is stopped or powered off?
Software charges accrue only while the instance runs. A fully stopped instance does not accrue hourly software fees. Underlying AWS storage costs for the attached volume may still apply while the instance is stopped. Billing meters running hours per instance type.
If I switch to a bigger instance type, how does my hourly cost change?
Cost scales with the instance type you run, not with features. All types include the same software. Moving from a smaller type like t3.micro to a larger one like x1e.32xlarge raises the hourly rate for the added CPU, memory, or GPU. You are billed only for the type currently running.
cloudinfrastructureservices.co.uk+1
Helpful?
Vendor refund policy
We do not currently support refunds, but you can cancel at any time.
How can we make this page better?
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
Latest OS Patches installed. Simply run 'yum update' to install latest OS patches
Small production workloads: t3.medium (2 vCPU, 4 GB RAM) with 50 GB gp3 EBS
Medium production workloads: m5.large (2 vCPU, 8 GB RAM) with 100 GB gp3 EBS
Large production workloads: m5.xlarge or higher with provisioned IOPS EBS
Scale your instance type based on concurrent connections, database size, and query complexity. MySQL InnoDB buffer pool should be sized to approximately 70-80% of available RAM.
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.
Ran the installation process of Distro CentOS Server and integrated the Apache with DB MySQL was very fast and consistent. Straight forward with the commands, and the packages are significantly updated.
What do you dislike about the product?
The mounting process was a little tricky. But nothing to stop or looks for another distro. Once I get used to the philosophy behind CentOS, it doesn't differ much.
What problems is the product solving and how is that benefiting you?
Need to implement a Web App pilot to show capabilities and proof of concept, with a minimum of five-week to develop. No need to waste time configuring or performing at LAMP. But keep the security high and connectivity for our developer team. Nevertheless, the experience was better than other previously used options (Ubuntu and Amazon Linux AMI). The CEO approved the concept.
John B.
Extremely reliable and efficient
Reviewed on Nov 30, 2021
Review provided by G2
What do you like best about the product?
Although I am not currently running on the Linux platform, I have always found it to be very intuitive, secure, and efficient. phpMyAdmin is a straightforward and intuitive interface that makes database creation and management extremely simple. The Apache webserver/MySQL combination is highly efficient as it does not use a lot of resources to run. For that reason, I consider it to be lightweight and faster than some of the other options available.
What do you dislike about the product?
Not everyone has access to a Linux server, so the casual user misses out on the benefits of using one. Although I have no issues with Windows servers, Linux would be my preference whenever available.
What problems is the product solving and how is that benefiting you?
I am currently developing a variety of desktop applications that now have the ability to access multiple databases from a single location. This gave me the ability to have far more reusable code in my projects.