#Computing on the cloud

Back is the last thing we think of until we have an issue. I am no stranger to backup solutions. I have designed many enterprise level array to array based solutions in my time, but to back up the 4 / 5 web sites that i host doesn’t require anything like this level of complexity.

Now I run my services on AWS using and Ubuntu Image. This is (no one will be surprised) is wordpress so back needs to encompass both the htdocs (really only wp-content but its quicker to restore if you just have all the files) with the whole backup less than 30mb im not going to loose any sleep over backing it all up every time. So this lends itself brilliantly to using a simple shell script and a remote storage location.

So a quick Google and I came across this great piece of shell script by Mike Rogers using S3 as the repository Backup Shell Script check it out.

image

Combine this with cron tab and you have automated backup. S3 at this usage is nearly free and if you are running on the free tire it is completely free for the first year.

This is backing up 3 web repositories 3 mysql databases and the vhost config files.

Getting up and running with a useful cloud service has never been so simple

Bitnami (odd name but great service) have gone to the trouble of creating a large number of pre-built either packages or entire images that can be deployed as or to common Linux operating systems or Windows. The packages include Ruby on Rails, LAMP and WAMP, WordPress, Joumla and many others. The very variety and speed at which you can deploy a fully working website, blog or application makes them very attractive to people looking to deploy web services quickly and with little or no further customisation. I have experimented with a few packages now and run the very blog you are reading this post from on a bitnami WordPress package on Linux. with a few teaks…

BitNami Stacks

BitNami Stacks make it incredibly easy to deploy your favorite open source software. BitNami Stacks include an open source application and all of the other software necessary to run it, such as Apache, MySQL, PHP or Ruby. All you need to do is select your deployment format of choice (Native Installer, Virtual Machine Image or Cloud Image) and either run the installation wizard or start the image. In just minutes, your new application will be ready to run. All Native Installers for the Stacks have been packaged using BitRock’s multiplatform installer.
There are other ways of using BitNami. If you choose to install a BitNami Stack natively on your system, you can download a base Stack and then use BitNami Modules for the added benefit of being able to install several applications on top of a single infrastructure stack. Learn more about BitNami modules. We also offer VMWare images and Cloud Images for most Linux-based stacks as a download option.

BitNami Application Stacks

SugarCRM Redmine Alfresco JasperServer
WordPress Drupal Joomla OSQA
Coppermine Photo Gallery DokuWiki Moodle eZ Publish
Gallery Mantis MediaWiki ocPortal