AWS Lambda looks simple when you look at the code. It’s also really easy to see the benefits. But it’s tedious to get to it to work. Take a look Alex Edward’s very good tutorial.

AWS SAM CLI is aimed to make it simpler.

Testing aws-sam-cli

My sam cli testing was based on code generated by aws-sam-cli. Local testing is done using Docker images from lambdaci/lambda.

I also described the issues running Docker containers that need Internet access, and how to solve them.