This talk will show how to deploy a CakePHP application with AWS OpsWorks. It will cover auto scalling by time range or server load, and how the load is distributed between the servers.
p l o y ] . e a c h d o | a p p l i c a t i o n , d e p l o y | i n c l u d e _ r e c i p e ' a p a c h e 2 : : s e r v i c e ' e x e c u t e ' S e t u p P H P d e f a u l t t i m e z o n e ' d o a c t i o n : r u n c o m m a n d " s e d - i ' s / ; d a t e \ . t i m e z o n e . * / d a t e . t i m e z o n e = U T C / g ' ` p h p - r ' e c h o p h p _ i n i _ l o a d e d _ f i l e ( ) ; ' ` " u s e r ' r o o t ' n o t i f i e s : r e l o a d , r e s o u r c e s ( : s e r v i c e = > " a p a c h e 2 " ) , : d e l a y e d e n d e n d
c a k e p h p : : s e t u p Configure: p h p : : t i m e z o n e _ c f g Deploy: c r o o g o : : i n s t a l l and p h p : : t i m e z o n e _ c f g Create the RDS and ELB beforehand Import database data PS: Sessions are going to be stored on DB