Using a AWS EC2 Server to host a busy website and I need to set up a loadbalancing
Posted
by
Philip Isaacs
on Server Fault
See other posts from Server Fault
or by Philip Isaacs
Published on 2012-10-26T23:45:14Z
Indexed on
2012/10/27
5:05 UTC
Read the original article
Hit count: 250
My company has one EC2 server running on AWS with a MYSQL-DB and Apache on the same instance. This one instance hosts a website built on PHP Zend Framework.
The site runs like crap when it starts to get busy with a lot of traffic so I'm looking for some advice on how to set up something that can handle the load better.
My first question is should I move the mysql DB on to a separate EC2 instance or perhaps use AWS's RDS service which looks like a nice option.
I'm sort of new to some of this but I'm guessing I'll need at least two EC2 instances for serving the website from and some sort of load balancing mechanism to distribute traffic. But maybe not, I'm not sure.
Also what are some best practices for how to replicate the data so that they stay in sync on both instances?
Okay I know these are a lot of questions. But I don't know where to start so any advice will help.
© Server Fault or respective owner