Adding virtual memory to AWS EC2 micro instances (and use a 32-bit os)

Some of you have probably experienced that an Amazon Web Services EC2 micro instance might be too small with it’s 613MB of memory. If you deploy medium or large footprint application on it (well, even WordPress + MySQL could be stretch), both the instance and your systems might start to crash.
Continue reading Adding virtual memory to AWS EC2 micro instances (and use a 32-bit os)

Hosting Confluence 5.0 wiki and WordPress on an Amazon EC2 Micro instance

I’ll admit it, I do like a challenge! The Amazon EC2 micro-image is a really low end server with seriously small amounts of CPU to it’s disposition and very little memory. The challenge; running both a full Atlassian Confluence Wiki and a fully functional WordPress-site with decent performance on this low-end box (or should I say virtual box).

Continue reading Hosting Confluence 5.0 wiki and WordPress on an Amazon EC2 Micro instance

Octopress S3 Sync

One lacking feature in the Octopress-distribution is that support for automatic deployment to Amazon S3 is missing. I have been looking for a solution for some days, but most of them were somewhat lacking since they didn´t support setting cache-headers (important if you use Amazon CloudFront for distribution), as well as missing support for deleting removed files from the S3-bucket/CloudFront distribution.

Jerome Bernard has an good solution, but I´ve customized it by adding support for cache-expiration headers and adding support for deleting removed files on the S3 bucket. I´ve also added configuration variables to control the behaviour in the Rakefile.
Continue reading Octopress S3 Sync