#Instructions
- 1 - Follow the commands listed in ec2-commands.txt:
This will show you have to generate all the files on the EC2 or for a more detailed explanation - 2 - Follow the links below for a more detailed step-by-step guide:
To get the example working:
1 - Upload the runtime.zip file as layer 1 to Lambda
2 - Upload the vendors.zip file as layer 2 to Lambda
3 - Upload the hello.zip and goodbye.zip as individual functions to Lambda
(remember to rename your functions to only hello
instead of hello.handler
)
https://aws.amazon.com/blogs/apn/aws-lambda-custom-runtime-for-php-a-practical-example/
https://aws.amazon.com/blogs/compute/scripting-languages-for-aws-lambda-running-php-ruby-and-go/
https://akrabat.com/serverless-php-on-aws-lamda/