09 January 2012 ~ 0 Comments

Load balancing in EC2 with Nginx and HAProxy

TweetWe wanted to setup a loadbalanced web cluster in AWS for expansion. My first inclination was to use ELB for this, but I soon learned that ELB doesn’t let you allocate a static IP, requiring you to refer to it only by DNS name. This would be OK except for the fact that our current [...]

Continue Reading

02 August 2011 ~ 2 Comments

Amazon SES: “illegal headers” with ses-send-email.pl (followup)

TweetA few people have emailed me asking me to integrate the perl code snippet into I wrote to strip illegal headers when sending email via Amazon SES into something actually usable. I’ve done so! I haven’t really tested this beyond sending some test emails, but here it is. Use this at your own risk, I [...]

Continue Reading

16 May 2011 ~ 1 Comment

Amazon SES – “Illegal Header” errors

My thoughts on the “illegal header” error some people are encountering when relaying mail through postfix/SES. Plus some perl code that should help fix it.

Continue Reading

28 April 2011 ~ 8 Comments

Integrating Amazon Simple Email Service with postfix for SMTP smarthost relaying.

How I configured an EC2 instance to relay mail through Amazon’s SES, and some of the bumps I encountered along the way.

Continue Reading

01 December 2010 ~ 2 Comments

Relaying through Google Apps using Sendmail to bypass EC2 spam blockage

TweetUpdate 3 May 2011: I’ve subsequently modified our EC2 systems to relay SMTP mail through Amazon’s SES which doesn’t have the 500 messages per day limit that Google Apps does. A few months ago I moved a site into EC2. I didn’t want to move the existing IMAP server (ugh) so I moved the email [...]

Continue Reading

02 August 2010 ~ 0 Comments

Amazon EC2 – ext3 mkfs takes 30+ minutes?

TweetI’ve been playing around with Amazon EC2 for a new project I’m working on and so far I’m really impressed. One thing I’ve noticed, however, is that it takes forever to create an ext3 filesystem on a new volume. For example, the below command took over 30 minutes to create the filesystem on a 300 [...]

Continue Reading