So most of you have probably heard about this particular concept - "Serverless". I can't say I completely get the name of it, there is a server that is running it, the main difference is it only runs for the length of it to take to complete the computing of the function. As far as the big players go - I generally have all of my stuff running out of Amazon - so for the purpose of this article, this is what I'm referring to.
Lambda is the service of AWS where you can run your serverless functions. Now sadly for us PHP developers, it does not support natively support PHP and until now, I haven't found a simple and easy to grasp guide without the need to use some elaborate framework that sits on top of it. Until now...
Be sure to take a look in to this guide from Amazon. I was genuinely impressed. The one thing it left out was that I got about up to the very end when I found my functions could not be invoked properly, and the reason being is that my particular AMI I had selected was not quite compatible. The support guy's said to try the instance called ami-035b3c7efe6d061d5 - Look for the name "Amazon Linux AMI (HVM / 64-bit)" in the Community Marketplace.
Further to this, there is a very simple guide on how you can hook your lambda functions to your S3 buckets here.
Happy Coding!
Lambda is the service of AWS where you can run your serverless functions. Now sadly for us PHP developers, it does not support natively support PHP and until now, I haven't found a simple and easy to grasp guide without the need to use some elaborate framework that sits on top of it. Until now...
Be sure to take a look in to this guide from Amazon. I was genuinely impressed. The one thing it left out was that I got about up to the very end when I found my functions could not be invoked properly, and the reason being is that my particular AMI I had selected was not quite compatible. The support guy's said to try the instance called ami-035b3c7efe6d061d5 - Look for the name "Amazon Linux AMI (HVM / 64-bit)" in the Community Marketplace.
Further to this, there is a very simple guide on how you can hook your lambda functions to your S3 buckets here.
Happy Coding!
Comments
Post a Comment