Small website on Amazon EC2 Linux: a single large instance or more small instances in load balancing?
Posted
by
Enrico Detoma
on Server Fault
See other posts from Server Fault
or by Enrico Detoma
Published on 2012-06-28T08:56:56Z
Indexed on
2012/06/28
9:17 UTC
Read the original article
Hit count: 234
amazon-ec2
I need to run a small website with a JSON webservice on Amazon EC2 Linux. The largest number of requests come from the JSON webservice, which provides some load in terms of MySQL queries.
I'm trying to decide between two choices:
- A single large instance (Ubuntu 12.04 64-bit) with full LAMP stack
or
- One or two small instances (Ubuntu 12.04 64-bit) with Apache/PHP only
- One small instance dedicated to MySQL (or RDS)
Which setup would you consider to be more performant?
© Server Fault or respective owner