This document provides instructions for installing the LAMP stack on an Ubuntu instance in AWS EC2 to deploy a Play Framework application. It describes configuring the security group to allow HTTP, HTTPS, SSH and port 9000 traffic. It then explains how to install and configure Apache web server, PHP 5, MySQL database and PHPMyAdmin. Key steps include enabling the Apache rewrite module, testing PHP installation, configuring the MySQL server, linking PHPMyAdmin at the /var/www/html directory and checking that the LAMP stack is fully installed and functional.