amazon web services - Deploying a PHP/MySQL Application in Cloud (AWS) -
how deploy application (in case php , mysql based) in multiple server environment. specific, application supposed deployed per below mentioned configuration.
- mysql on amazon rds
- application (php) on 2 ec2 instances
mysql part obvious need clarity on how deploy application on 2 servers. understand need setup application on both ec2 instances , somehow aws elastic load balancing automatically balance load.
are there specific configuration/code changes need make in application work in such environment? in case application based on either cake or yii. cloud ready default? if not, changes, if any, needed.
essentially, looking guide or instructions clarifies such doubts , helps me deploy application per above mentioned configuration.
i'm using capistrano when deploy yii application multiple ec2 instances.
i think following article :
- deploy php websites using capistrano (and git) | fred wu's blog http://fredwu.me/post/720733257/deploy-php-websites-using-capistrano-and-git
then, following help, when create first config file of capistrano yii.
- deploy.rb https://gist.github.com/kix/3913165
Comments
Post a Comment