COG - LAMP/LEMP is a pre-configured web application hosting environment built for AWS. Launch a fully operational web server in minutes - no manual package installation, dependency resolution, or configuration required. This AMI delivers a modern alternative to the traditional LAMP stack, replacing legacy components with higher-performance options optimized for today's web workloads.
Why LEMP Over Traditional LAMP?
NGINX instead of Apache - NGINX uses an event-driven architecture that handles thousands of concurrent connections with significantly lower memory consumption, making it ideal for high-traffic websites and applications behind load balancers.
MariaDB instead of MySQL - MariaDB offers improved query performance, additional storage engines, and full MySQL compatibility while remaining truly open source with an active development community.
PHP 8 - PHP 8 delivers up to 3x performance improvements over PHP 7 through the JIT compiler, along with modern language features like named arguments, attributes, and union types.
HTTP/2 enabled by default - Multiplexed connections, header compression, and server push reduce page load times without application changes.
AWS CodeDeploy agent pre-installed - Deploy application updates with zero-downtime rolling deployments directly from your CI/CD pipeline without manual SSH sessions.
What Is Included
64-bit Linux operating system
Latest PHP 8.x
NGINX with HTTP/2 configured
MariaDB database server
AWS CodeDeploy agent
Use Cases
PHP Web Applications - Host Laravel, Symfony, WordPress, Drupal, or custom PHP applications with a stack optimized for modern frameworks. The pre-configured NGINX server blocks and PHP-FPM pools let you deploy your first application within minutes of launch.
CI/CD-Driven Deployments - Use the pre-installed AWS CodeDeploy agent to automate application deployments from your existing pipeline. Push code to your repository, trigger a deployment, and CodeDeploy handles rolling updates across your fleet with automatic rollback on failure.
Development and Staging Environments - Spin up identical environments for development, staging, and production using the same AMI. Consistent configurations across environments eliminate "works on my machine" issues.
AWS Integration
The AMI is designed to work seamlessly within the AWS ecosystem:
AWS CodeDeploy - Automated deployments with zero-downtime strategies
Elastic Load Balancing - NGINX is configured for proper health check responses and proxy header forwarding
Amazon CloudWatch - Standard system metrics available for monitoring
EC2 Auto Scaling - HVM instances support all current-generation instance types for flexible scaling
Security Practices
The AMI receives regular updates to address security vulnerabilities and performance improvements. NGINX is configured with modern TLS defaults supporting HTTP/2, and MariaDB is installed with secure initial configuration.
Getting Started
After launching the AMI, your LEMP stack is immediately operational. Deploy your PHP application using AWS CodeDeploy or upload files directly to the web root. The stack is configured with sensible defaults for production workloads while remaining fully customizable to your requirements.
For configuration guidance and deployment documentation, visit the Cloud Ops Group services page.
Highlights
Launch production-ready PHP 8 web applications immediately with a pre-configured NGINX/HTTP2 web server and MariaDB database. No manual installation or dependency management required - the entire stack is tested and optimized for AWS, letting your team focus on application development rather than infrastructure setup.
Deploy application updates with zero downtime using the pre-installed AWS CodeDeploy agent. Integrate with your existing CI/CD pipeline to automate rolling deployments across single instances or entire fleets, with automatic rollback capability if a deployment fails.
Receive regular security patches and performance updates to keep your web server stack current. NGINX delivers higher concurrent connection handling with lower memory usage than Apache, while MariaDB provides improved query performance with full MySQL compatibility.
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 the software running on an Amazon EC2 instance. The web server stack includes NGINX with HTTP2, MariaDB, and PHP. Pricing is not a set of feature tiers. Instead, each line matches one EC2 instance size and type. Options span compute (c-family), general purpose (m-family), memory (r and x families), storage (i and d families), GPU/accelerated (g, p, f, dl families), and burstable (t3) instances. Your hourly cost rises as you pick instances with more CPU, memory, storage, or acceleration. You choose the instance that fits your workload.
Top-of-mind questions for buyers
What software runs on the EC2 instance I select and pay for hourly?
You get a web server stack with NGINX (HTTP2 with TLS), MariaDB 11.8.x, and the latest PHP. The image also includes a send-only email emulator you can configure. The hourly software charge is the same stack regardless of which instance size you choose.
Am I charged the hourly software fee when my EC2 instance is stopped?
The software fee meters running instance-hours. A fully stopped instance does not accrue the hourly software charge. Note that stopped instances may still incur separate AWS storage fees for attached volumes, which are billed by AWS, not by this software listing.
What drives my hourly cost when the software price is the same for all sizes?
Your total hourly cost combines the software fee with the AWS charge for the chosen instance. Both bill per hour and appear together. The instance you pick, based on CPU, memory, storage, or GPU, drives most of the change in your bill as you scale up.
www.cloudopsgroup.com
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
PHP 8.5, latest Nginx, and MariaDB. Updated kernel, other system updates for security
Additional details
Usage instructions
Use SSH, sftp, or rsync to upload content to /mnt/www/default.
Open a Web browser and type the public DNS name provided by Amazon into the URL bar.
For issues related to the AMI configuration, stack components, or deployment questions, please reach out through the support page above.
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.
Pre-configured AMI for browser-based MySQL, MariaDB, and Aurora administration. Manage databases, run SQL, and import/export data without CLI complexity.
Cloud Ops Group (COG) Linux Core is a Debian-based AMI optimized for AWS EC2 with Ruby and Python pre-installed. Launch a secure, regularly updated base image in minutes.
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.