Overview
The LAMP blueprint provides a complete production environment with PHP, Apache, and MariaDB on Linux. This product also includes phpMyAdmin and PHP core modules.
Lightsail packages amis to be secure and up-to-date using industry best practices. Learn more about LAMP: https://aws.amazon.com/lightsail/features/#topic-0
By using this software, you agree to the software's end user license agreement: https://d25b4yjpexuuj4.cloudfront.net/eula/product/lightsail/lightsail-eula.txt
Highlights
- Apache, MariaDB, and PHP pre-configured and running at first boot
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
Vendor refund policy
If you need to request a refund for software sold by Amazon Web Services, LLC, please contact AWS Customer Service.
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
Updated the LAMP to address critical Linux vulnerabilities CVE-2026-98432
Additional details
Usage instructions
Connect over SSH as user admin with your EC2 key pair. EC2 Instance Connect and Session Manager are not supported on this image. Your site is served from /var/www/html.You need the default application password to access pre-installed applications or services on your instance. You can access the default application password at ~/application_credentials
You can also run this stack on Amazon Lightsail, which bundles compute, storage, and data transfer at a fixed monthly price and sets up the instance for you: https://console.aws.amazon.com/lightsail/webapp/create/instance?blueprintId=lamp_ls_1_0
Support
Vendor support
Vendor support: This image is built, patched, and published by AWS as part of Amazon Lightsail's first-party blueprints. AWS Support engineers assist with the image itself and with the Amazon EC2 infrastructure it runs on. Questions about the upstream open-source components: Apache, MariaDB, PHP and phpMyAdmin are best directed to those projects' own communities.
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. https://aws.amazon.com/premiumsupport
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.
Similar products
