Lambda: using AWS SAM Local to test Lambda functions locally on Windows

AWS SAM Local is a “CLI tool for local development and testing of Serverless applications.” It uses Docker to simulate a Lambda-like experience. The docs explain well how to get started, and the GitHub repo has lots of samples as well. As of this writing, it supports python, java, .net, and nodejs. This is a quick post to show how to use it in Windows Subsystem for Linux (WSL) and Docker For Windows. Installing on Windows The instructions recommend installing with npm. That didn’t work for me, giving me errors about file not found. I’m not sure if this is … Continue reading Lambda: using AWS SAM Local to test Lambda functions locally on Windows

Going Serverless: using Twilio and AWS Lambda to make phone calls with an AWS IoT button

  Credit Full credit for this idea and post goes to my colleague Andy, who presented this approach at a recent lunch-and-learn at work. A few months after his presentation, I decided to try replicating what he did. This blog post represents what I learned from that effort. Thanks Andy! The Goal For the 3 phones in our house, when one is misplaced, press an Amazon IoT button and have it dial the phone. A single click should call one phone number, double click another, and long click the third number. Then, the phone would ring, and I would listen … Continue reading Going Serverless: using Twilio and AWS Lambda to make phone calls with an AWS IoT button