Reputation: 7725
I'm considering implementing EC2's Elastic Load Balancing features, but I'm running a web application (on the LAMP stack) that has frequent changes and wondering what the most common strategy is for keeping the application in sync between the servers that are load balanced. The database would live elsewhere, so I'm only worried (at this point) about keeping the actual scripts in sync when I make changes.
Upvotes: 4
Views: 4409
Reputation: 743
You can run Chef/Puppet on AWS Infra. Have this integrated to Git/SVN. New changes will be automatically picked up by Chef from SVN and moved into your Amazon EC2 web servers periodically.
Upvotes: 0
Reputation: 9415
The one way of addressing this problem is using a continuous integration which can transfer your files with rsync
and build the project on the servers, this is not just yet.
There are quite a bunch of plugins available (PHPUnit, Code Coverage, Code Analysis, etc):
How:
Reference:
Upvotes: 2
Reputation: 965
It depends how frequently you're going to update the scripts:
Upvotes: 5