bangsar.net now on Amazon
Due to the inability of the Synology 411j NAS to host this wordpress site, we’ve finally moved to Amazon’s EC2 service. This is Amazon’s cloud service with its micro instance starting at USD15 a month if you run it 24/7.
Yes, USD15 is a little pricey for just a private wordpress blog, but Amazon allows new users to try it for free for a year. And since they have a data centre in Singapore, I thought why not?
The migration was simple enough. First step was to set up the EC2 instance, so we used one free preconfigured image by BitNami. Picked it up on the AWS Marketplace, then it’s up and running in no time.
Second step was migrating the entries over from the old blog. WordPress has a built in Import & Export feature so all the posts, including attachments, were migrated over effortlessly. Though I just realized we’re missing the posts from our guest bloggers; not sure when this happened, but it’s the same as the old site so it must’ve gotten deleted or transferred to another user during previous migrations.
Next was to point the site address from the old site to the new. The DNS server will continue running on the NAS, so it was just a matter of changing the CNAME entry from our current dynamic DNS to the Amazon one. There was a mention somewhere online that the Amazon hostname will change if the instance is restarted, so we’ll cross that bridge when we get to it.
After that, WordPress was running off the /wordpress subdirectory, so we needed to SSH into the instance and setup redirection from the root directory. A quick uncomment in /opt/bitnami/apps/wordpress/conf/httpd.conf and it happens, but permalinks are still pointing to the /wordpress subdirectory so I’m going to have to figure out how to work that with redirection.
As you may be able to tell, the server is running zippy as ever. Will just need to keep a reminder to move the blog again to a paid local web host before the AWS Free Tier expires. 😛