Set up your Ubuntu EC2 instance with LAMP stack – Linux, Apache, MySQL, PHP. I have used Ubuntu 16.04 machine. To know how to set up an instance in AWS, check this post.
Launching an EC2 instance in AWS is much simpler. It can be launched in just 10 steps. For this demo, we are going to use latest Ubuntu xenial-16.04 64 bit version.