A fifteen minute presentation I gave at the 24th Japan AWS User's Group in Sapporo (on 2019/9/12) describing the requirements and necessary steps to fully implement a custom runtime on AWS Lambda. From building a PHP binary from source using the same AMI/runtime environment as Lambda, to writing a complete event loop handler is presented in detail.
(Note: This presentation is only in Japanese, sorry.)