Last Updated: February 25, 2016
· emgiezet
736212 10200976756252420 836055407 o

Amazon Hosting of Symfony2 Projects

The m1-small EC2 instance is not enought for mid-scale projects (also behind ELB). Symfony2 spread his wings from m1-medium. But there also CPU is little too short. Perfect solution for cloud hosting on Amazon AWS is the m1-medium-highcpu.

Main reason of the requirements is the Doctrine hydration( checked with http://pecl.php.net/package/xhprof )

Say Thanks

6 Responses
Add your response


Is there not some missing stuff?

  • APC
  • Nginx -> PHP-FPM
  • RDS -> Size?
over 1 year ago ·
736212 10200976756252420 836055407 o

@FrancisVarga I was using ngnix on php-fpm but on highcpu instance with 2 cores the gain was about 10% (with 20 workers of fpm). On two nodes plus two more for traffic peaks.
APC was there can't live without.
RDS was db.m1.small.
plus ElastiCache for cache queries and forms(form generations is really heavy).

over 1 year ago ·
Profile 50x50

What was your memory usage with that configuration? I'm worried the 1.5GB of RAM are not going to be enough for us (used memory - cached memory is now around 2.5GB, but with Apache2)

over 1 year ago ·
736212 10200976756252420 836055407 o

@sdepablos Maximum usage was about 60% on high-cpu have 1.7GB of ram.

over 1 year ago ·
Profile 50x50

Ok, thanks.

over 1 year ago ·
736212 10200976756252420 836055407 o

@sdepablos No problem. But I bet we will be tight on Ram soon :)

over 1 year ago ·