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 EC2 instance size you run. Pricing scales with the instance you pick, not with software tiers. The software license is the same across every option; only the hourly instance rate changes. Choices span general-purpose (M, T), compute-optimized (C), memory-optimized (R, X, Z), storage-optimized (I, D), and accelerated (G, P, F, DL) families. Sizes range from small (nano, micro, medium) up to large multi-core and bare-metal instances. Larger instances cost more per hour. You are billed only for the hours each instance runs, with no upfront commitment.
Top-of-mind questions for buyers
What does the hourly rate include beyond the EC2 instance itself?
You get a preconfigured web server stack running on a Linux image. It includes NGINX with HTTP/2, PHP 8.x, and a MariaDB database server. An AWS CodeDeploy agent comes pre-installed for automated deployments. The hourly software rate is the same across all instance types; only the instance rate changes.
Am I charged when the instance is stopped or paused?
The hourly software charge applies only while the instance runs. A stopped instance stops accruing software charges. You may still pay AWS for attached storage on a stopped instance, but that is separate from the software license metered here.
What is not included and must I set up separately?
Domain registration and DNS are not included. Email delivery must be configured separately. Backups are your responsibility. SSL/TLS is not configured by default; placing the instance behind a load balancer or CDN is recommended. The bundled database is local; production high-availability may need a managed database service.
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.
This product has charges associated with it for seller support and pre-configured stack (phpMyAdmin and Webmin) in it. Intuz LEMP is a pre-configured, ready to run image for running LEMP on Amazon EC2 and has Nginx, MySQL, PHP, phpMyAdmin, Webmin, and Scripts which make it easy for you to use LEMP.
This is a repackaged software product wherein additional charges apply for a pre-hardened, SI Core STIG Hardened image and seller support. The LEMP Stack Ubuntu 24.04 LTS is a robust solution designed for developers and system administrators seeking to deploy high-performance web applications. Powered by Linux, Nginx (Engine-X), MySQL, and PHP, this AMI provides a secure and optimized environment tailored for scalable applications. With the LEMP Stack Ubuntu 24.04 LTS, users benefit from rapid deployment, enhanced security configurations, and automated updates. Ideal for hosting dynamic websites, content management systems, and RESTful APIs, the LEMP Stack Ubuntu 24.04 LTS simplifies operational tasks while ensuring reliability and performance.
This is a repackaged software product wherein additional charges apply for a pre-hardened, SI Core STIG Hardened image and seller support. LAMP Stack on Amazon Linux 2023 offers a robust environment for deploying dynamic web applications with exceptional performance and security. This AMI combines the Linux operating system, Apache web server, MySQL database, and PHP programming language, providing a versatile platform for developers. Ideal for launching scalable web services, LAMP Stack on Amazon Linux 2023 ensures compatibility with modern frameworks and libraries, simplifying the development process. Benefit from timely updates and patches, making LAMP Stack on Amazon Linux 2023 a reliable choice for both new and legacy applications.
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.