How does everyone set up AWS for PHP with a git workflow while worrying about distributing EC2?

Posted by Parris on Server Fault See other posts from Server Fault or by Parris
Published on 2010-12-25T22:24:33Z Indexed on 2010/12/25 22:55 UTC
Read the original article Hit count: 178

Filed under:
|
|
|
|

Hello,
I have been looking for something like heroku but for php, and after much frustration (and almost finding what I need, but not quite) we decided to just go with AWS without any other abstraction.

We are using PHP 5.3 (and CakePHP 1.3), and are currently using git. Ubuntu seems like the easiest way to get both of those on there and we will most likely use that. We aren't really going worry about outgoing email. We are using smtp through gmail, but will most likely switch to some other service eventually.

I had 3 questions:
1) I have been looking at Zend Server, and I am not quite sure how that is more beneficial than xampp. Perhaps it is not?

2) I suppose to make the application scale we would need multiple instances of some ec2 ami. Then just duplicate it and such. The question then becomes how do we make sure all EC2 instances are up to date?

3) I understand the concept of load balancing to some degree. I understand that in 1 region you select a bunch of servers and have it load balance across them. The question then becomes well how about world wide? How do I make it so that traffic is directed to the correct ec2 server? I have heard of route 53, and tried signing up for that, but nothing appears in my control panel. Also perhaps it is just a DNS thing with my domain registrar?

AHHH... some tutorial would be helpful!

© Server Fault or respective owner

Related posts about php

Related posts about amazon-ec2