Tidbits on software development, technology, and other geeky stuff

Quick Setup Guide: Amazon EC2 LAMP server running Fedora 15

New to EC2?  Take a look at the Getting Started Guide.

  • 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][1] 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

    Discuss on Twitter