Launch a new EC2 instance from the AWS Management Console. Search for ami-2abf4443 which is a Fedora 15 64bit image backed by a 10GB EBS instance.
On the Configure Firewall step, create a new security group and add an inbound rule for ports 80 (HTTP) and 22 (SSH).
* **Connect** to your new instance using the ssh client of your choice. Note, you’ll need to use the Key Pair your generated when you launched your instance to connect. When asked for the username enter **ec2-user**. I use PuTTY from Windows and it was a little tricky to get connected but the [Appendix: PuTTY] helped. The thing is, you need to use puttygen.exe to convert a .pem key pair file to .ppk format so that Putty can use it.
* **Install** the needed software with yum.
sudo yum install httpd mysql mysql-server php
sudo chkconfig --levels 235 httpd on
sudo service httpd start
sudo chkconfig --levels 235 mysqld on
sudo service mysqld start
Test apache by firing up a browser and navigating to the Public DNS name of your server listed in the EC2 instance properties. It usually looks something like ec2-52-15-148-17.compute-1.amazonaws.com. If you get the Apache test page you are in business.