R2nj9euaubu0nv3bo4du
SkillsCast

Running Symfony on AWS Lambda

27th February 2019 in London at CodeNode

There are 1 other SkillsCast available from Hexagonal Architecture & Symfony on AWS Lambda

Ever find yourself deploying your Symfony app to your EC2 boxes and wondering if you're using your resources wisely? You're almost certainly paying for CPU time you're not using, and scaling PHP applications on AWS can be tricky.

Wouldn't it be great to pay only for the stuff you actually use, and if your site could scale instantly without needing to configure auto-scaling-groups, alarms, and rules? AWS Lambda gives us these features but has no native PHP support.

With emerging tools a lot of the pain of getting running has been fixed for you; the hacks and workarounds are no longer necessary and we can finally deploy PHP applications on top of FaaS infrastructure.

Today we'll go through the steps required to set up a real Symfony 4 service running on Lambda, served over HTTPS, and without launching a single EC2 instance or ELB.

Finally we'll see if we can retro-fit to older Symfony applications, and think about how we might benchmark application performance.

YOU MAY ALSO LIKE:

Thanks to our sponsors

Running Symfony on AWS Lambda

Neal Brooks

Neal Brooks writes code for MyBuilder. As a result of an inability to say ‘no’, he is constantly over-subscribed with work, projects, courses, and hobbies.

SkillsCast

Ever find yourself deploying your Symfony app to your EC2 boxes and wondering if you're using your resources wisely? You're almost certainly paying for CPU time you're not using, and scaling PHP applications on AWS can be tricky.

Wouldn't it be great to pay only for the stuff you actually use, and if your site could scale instantly without needing to configure auto-scaling-groups, alarms, and rules? AWS Lambda gives us these features but has no native PHP support.

With emerging tools a lot of the pain of getting running has been fixed for you; the hacks and workarounds are no longer necessary and we can finally deploy PHP applications on top of FaaS infrastructure.

Today we'll go through the steps required to set up a real Symfony 4 service running on Lambda, served over HTTPS, and without launching a single EC2 instance or ELB.

Finally we'll see if we can retro-fit to older Symfony applications, and think about how we might benchmark application performance.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

Running Symfony on AWS Lambda

Neal Brooks

Neal Brooks writes code for MyBuilder. As a result of an inability to say ‘no’, he is constantly over-subscribed with work, projects, courses, and hobbies.