Scale With Amazon EC2
RightScale: Web site that manages Amazon EC2
Common Use of EC2
- Upload data to S3
- Put request in SQS work queue
- Fork new servers when needed
- Put changed data back to S3
- Put message in SQS when done (or POST to web)
RightScale Info
- RightScale monitors work queue and adds or subtracts servers, puts log files in S3 (which is important because when the EC2 instance goes away, all logs are lost) and produces audit records
- RightGrid and RightWorker manages the EC2 processes
- RightScale runs 100% on EC2 itself.
- Have to have a slave DB from day one, since the master can go away. RightScale also backs up DB every 10 minutes to S3.
- Slowest part is parsing XML with reXML
EC2 Experience
- Dynamic IP, need Dynamic DNS service
- Very stable: 3 instances with greater than 170 days uptime, dozen instances with greater than 90 days uptime
- Have seen spontaneous reboots
- Amazon is very response
- It's addictive, watch your credit card
Created on May 18, 2007 12:17:07
by
Max Dunn
(198.145.32.152)