Hi, Well... it really all depends on the application, the throughput, the user load, the SQL etc etc
Do not be fooled into thinking EC2 is something that will help scaling - it allows you to easily have many servers, but i doesn't do anything special to help other than perhaps finding pre built images with the software you will need. What you suggest will help your app layer, and you will need some load balancer in front of them. For the database layer, you will need to consider whether it is high read2write ratio, and if so, go for a single master replicated to several read only slaves which serve the application This site is excellent: http://highscalability.com You can read up on how youtube etc scaled: http://highscalability.com/youtube-architecture Similarly google "db war stories" and you can read up on flickr, craigs lists etc. It is pretty interesting to learn about. Sorry but there is no magic recipe for scaling. You need to analyse the app, analyse the usage and plan accordingly and continually adapt - reading around others helps but you are looking at something along the lines of load balancers to app servers to some kind of load balanced Master-Slave setup for the DB. You can use dynamic load balancers that will add extra instances when traffic is high also of course, and this is where EC2 really shines... you can self grow and shrink (e.g. coinciding with marketting activities) without buying new servers Cheers, and good luck Tim On Mon, Aug 25, 2008 at 1:23 PM, Juan Heyns <[EMAIL PROTECTED]> wrote: > I was just wondering how one would configure a scalable setup. The basic > idea I had > was to configure a instance for the database, and let multiple instances > serve web > content through tomcat. > > Do you think this will provide sufficient scaling abilities? Since it is > still dependant on one > database server. > > Juan > > > tim robertson wrote: > > I have done it on a single instance. > > > > On Mon, Aug 25, 2008 at 12:55 PM, Juan Heyns <[EMAIL PROTECTED]> wrote: > > > For interrest sake. Does anybody have experience in deploying an appfuse > application on EC2? > > Juan > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
