


Overview of AWS Lambda Custom Runtimes and Layersīefore we get started, we should take a moment to consider how native language support on Lambda behaves and how the custom runtime API differs.Īt a high level, selecting a natively-supported language when creating your Lambda function defines the environment that Amazon Web Services (AWS) will use to execute your function code.

Not a PHP developer? You can adapt the examples in this guide to build a custom runtime in your language of choice. In this post, we’ll take a brief look at the overall workflow and runtime lifecycle, and then I’ll show you one way to build a PHP runtime to start powering your PHP applications on AWS Lambda. Native PHP support on Lambda wasn’t one of those features, but the new AWS Lambda runtime API and layers capabilities give us the ability to build a clean, supportable implementation of PHP on Lambda of our own. This year’s AWS re:Invent was a nonstop, high-powered firehose of exciting new features and products. By Michael Moussa, APN Ambassador at Rackspace
