Playing with AWS Lamba

With all the buzz about serverless, I wanted to have quick play with AWS Lambda.

A few years ago, I developed a Python module to calculate tide predictions. Thanks to Chalice (Python Serverless Microframework for AWS), it was super quick to deploy an API endpoint with few lines of code.

It exposes a very simple REST API which returns a JSON list of hourly tide heights for the given location and date. Then the tide chart is rendered with ChartJS. Et voila 🙂