Move WordPress site from shared hosting to Amazon EC2

This is a followup post from last week when I moved this blog from shared hosting on to Amazon Web Services EC2 Micro instance.

Basically the steps are straightforward for your old host
1. First is backup all your files
2. Backup the database.

Next series of steps are for the AWS side, first is to create an account
3. Create an account by signing up at and go through all verification to get your account activated.
Read the rest of this entry »

Permissions are too open ‘pem’ Warning! Unprotected Private Key File

I’m planning on taking on a Linux certification exam soon so I’ll be dropping some quick fix and tricks here for notes.

If you are getting an error when trying to SSH to your server with your private key, this means your permissions are too open.

Quick fix enter the following the command line.

#chmod 600 mykeyfile.pem

Finally moved my blog hosting to be hosted on the Cloud with AWS EC2 Micro package

When I first signed up to Bluehost they advertise the $4.95 per month cost of shared hosting. But after your the first(year(s)) subscription runs out the monthly would be $8.95/month and that’s not so cheap. Since I’ve been into Cloud Computing for years and my not so active blog needs a new host I finally moved my blog hosting from shared hosting on bluehost to Amazon Web Services EC2 for FREE. I chose a Micro Instance with an Ubuntu Linux image and got setup my server setup in 5 mins.

Read the rest of this entry »

Installing GoDaddy SSL on an EC2 Ubuntu Instance in AWS

If you have sensitive data on your site, you may want to install an SSL Certificate to make it more secure. Here is a brief tutorial being on AWS EC2 Ubuntu instance on how to set it up.

My server settings are Apache2 and Ubuntu 9.x
Read the rest of this entry »

Amazon RDS instance time zone workarounds

If you have an EC2 instance to run your application and an RDS instance for your database. On your EC2 instance you are in luck as you can easily change the time zone of the machine. Like set it to GST or by location like below

# ln -sf ../usr/share/zoneinfo/Asia/Dubai /etc/localtime

Read the rest of this entry »