Small website on Amazon EC2 Linux: a single large instance or more small instances in load balancing?
- by Enrico Detoma
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?