[nzlug] Anyone here using Amazon EC2 and S3?

Robin Sheat robin at kallisti.net.nz
Thu Feb 7 13:52:17 NZDT 2008


On Thursday 07 February 2008 13:06:23 Steven Ellis wrote:
> Has anyone on the list tried to use this platform, and if so any tips?
I use both S3 and EC2. They work well. There are a few design decisions you 
need to account for, the primary ones being no static IPs and no permenant 
data store in the VMs. My solution to the former is a dyndns service, and the 
latter is a 2-minutely backup of postgres logfiles to S3 (using s3sync, which 
behaves similar to rsync) along with daily base backups. However, I've never 
had an instance go down without me telling it to.

It also pays to design your instances such that they rebuild themselves from 
S3 on startup, for example mine loads the postgres base backups and logfiles 
and replays them into the database when it boots, meaning that by the time it 
starts, the db is totally up to date. If you do this, you'll need to make 
sure you don't run more than one instance at a time or the dyndns and backups 
will stomp each other.

But, it works fine for me. If you have any other questions, let me know.

-- 
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.kallisti.net.nz>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.linux.net.nz/pipermail/nzlug/attachments/20080207/c21ebe36/attachment.pgp


More information about the NZLUG mailing list