We all know it’s a cliche, but here it goes.
You’re probably wondering what is elastic8.com and how it can help you. elastic8.com is an unofficial blog about our thoughts and experiences with EC2 (Elastic Computing Cloud) service from Amazon, currently in beta. We’ll write here our experiences using the service, tips and tricks and all sort of nice stuff.
So hang around for some interesting things. Oh, and by the way, this blog is hosted on EC2.
I’ve Shared Some of The Cool Tips For You Below
How To Do Domain Forwarding on Amazon’s EC2 with DHIS
So i installed Debian Sarge on Amazon’s EC2 service.
The thing is, Amazon doesn’t give you a static ip address or dns name … so either use a dynamic dns service (something like no-ip, dyndns or any other one) or do your own thing.
I chose to do my own, and found this piece of software . They offer a service too, but i used only the software and installed the daemon on another machine i use (outside amazon). Though Debian Sarge has Dhis in the package collection, it’s an older release which doesn’t work with bind9 so i had to install from source.
Building Fault Tolerance With EC2
Maybe i’m gonna write something comprehensive later on this topic ( because i have to do some reading on the topic), but in the meantime this is a good article on mysql replication and the new possibilities.
Other cool stuff you can do .. when popping up multiple instances because of your site being slashdotted you could do basic load balancing using round robin dns with small ttl values for your dns entries (so you can add and remove hosts on the fly and have the updates taken into account). The dns part is fairly simple to do.