How to setup PHP, MySQL, phpMyAdmin, SSL on AWS (Amazon) EC2

I always hear good reviews about AWS but never tried hosting there because I’m not comfortable with system admin stuff, ssh etc… that comes along, so I was pretending that I’m happy hosting my startup TrendArY at Inmotion hosting.  But they tested my patience with their cheap tactics to loot money by stopping my current services and asked me to upgrade to get back the same services. So I decided to move away from them and to host on AWS, but it wouldn’t been smooth ride without these gentlemen’s help.

Setup PHP, MySQL, phpMyAdmin on Amazon EC2

Here is the great tutorial by Tuấn on how to setup PHP, MySQL, phpMyAdmin on EC2. Here are the detailed instructions and the video tutorial.

Installing Godaddy SSL Certificate on Amazon EC2

Also, I needed to setup SSL for my website and I found this great tutorial by Ian

In  the “Configure httpd.conf and ssl.conf” section of the tutorial, he talks about uploading certificates from GoDaddy into ec2-user folder on the webserver, but missed the command on how to upload. Here it is command to upload two (2) certificates from godaddy.

scp -i /path/to/private_key.pem  GODADDY.crt ec2-user@



  1. You could definitely see your expertise in the work you write.
    The arena hopes for more passionate writers such as you who aren’t afraid
    to say how they believe. Always go after your heart.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: