Amazon Web Services, AWS, is a very powerful service and if you need Cloud hosting is something well worth looking at. I have used it for a some time and utilised heir small free tier hosting server for the past year. I haven’t done a huge amount with it over the past year just ran the server with a few websites.
There is a lot that can be done with the environments and recently I decided to do more with the servers and expand the sites. I am running a mix of WordPress and Drupal and sometimes have found that I am running out of memory. The micro servers only came with 512mb to no wonder. So time to look at the options on offer and the associated pricing. Having decided on a medium sized server which will not be too pricey each month I them looked at how to move the sites in a safe easy way.
In the past when I have moved sites from one server to another it has been very painful and has meant setting up the new server, attaching a test DNS entry, get the copy running and test it then eventually switch over the main domain to the new server. This time though I had the new server up and running in less than 45 minutes and that wasn’t moving very quickly!
First with the existing server I took a snapshot of the storage and left the existing site running. Then I created a new EC2 instance and attached it to the snapshot storage just created. Assigned this a temporary Elastic IP, updated my hosts files to point to the temporary IP and tested the sites on the new server. There they were working without any other input from me. I then moved the existing Elastic IP over to the new server, shutdown the old server and it was done!
Incredibly easy and took no time at all. Very impressive and will now do far more with AWS over the coming year.by