AWS Lambda for Yii Console Commands

Has anyone used AWS Lambda to schedule and run Yii console commands? I’m currently using Iron.io via the Yiiron extension, and Iron.io has just gotten cost prohibitive. I’d love to explore some different options.

PHP is not supported on AWS Lambda. ( directly… )

However, you can jump through some hoops and compile a php interpreter that you can call from a node.js lambda script.

I have not tried this, but here is a link on how you can do this.

Run PHP code on AWS Lambda

Let us know how it works, or if it does not work…

-John

It would be great if there would be a plugin or something that would integrate Yii with AWS SDK for Lambda PHP

https://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-lambda.html