Overview
Production-Ready LAMP/LEMP Web Server Stack
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.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.002 |
t3.micro | $0.001 |
c6a.large | $0.008 |
c6a.xlarge | $0.015 |
c6a.2xlarge | $0.031 |
c6a.4xlarge | $0.061 |
c6a.8xlarge | $0.122 |
c6a.12xlarge | $0.184 |
c6a.16xlarge | $0.245 |
c6a.24xlarge | $0.367 |
Dimensions summary
Top-of-mind questions for buyers
Vendor refund policy
We do not currently support refunds, but you can cancel at any time.
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
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.
Resources
Vendor resources
Support
Vendor support
Support for COG - LAMP/LEMP
Cloud Ops Group provides technical support for the LAMP/LEMP AMI during business hours.
Response Time: Please allow up to 24 hours for an initial response.
Availability: Monday through Friday, 9:00 AM - 5:00 PM.
Contact: Visit https://www.cloudopsgroup.com/services/lamp to submit a support request.
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.