#​228 — January 14, 2022

Read on the Web

🗓 Hello! After a break over the holidays we're back in your inbox, ready for a new year of all things Serverless. If you missed our last issue, it took a look back over 2021 — well worth checking if you want to reflect on the past year across the Serverless ecosystem.
Peter Cooper and Chris Brandrick, your editors

Serverless Status

📑 PDF: The State of Cloud Native Development — This report, published last month, pulls together thoughts from over 19,000 developers, and highlights usage trends of serverless tools — including how AWS Lambda is still the most popular serverless platform, but Google Cloud Run has some good momentum.


Miniflare 2.0: Fully-Local Dev and Testing for Cloudflare Workers — If you’re using Cloudflare Workers, Miniflare is a handy fully-local simulator for the system which can speed up development somewhat. 2.0 is a “more modular, lightweight and accurate” evolution. Brendan tells the whole Miniflare story and shows off some examples here.

Brendan Coll (Cloudflare)

Build a Serverless Lambda Function with InfluxDB — How to use InfluxDB to build a serverless app for IoT or DevOps monitoring using AWS Lambda, InfluxDB Python client library, and the Postman plugin.

InfluxData sponsor

You Can Now Invoke AWS Lambda Functions over IPv6 — IPv6 is steadily, if slowly, gaining more and more adoption and if you have IPv6 compliance requirements to meet, you can now use new dual stack endpoints to enable your Lambda functions to be triggered over both IPv4 and IPv6 in most regions.

Amazon Web Services

ICYMI: The AWS Look at Serverless in Q4 2021 — Each quarter, the AWS team takes a quick look back at the previous quarter to round up all of the serverless related news, given that AWS tends to have quite a lot of it. Q4 2021 was relatively quiet, though, and mostly oriented around gentle improvements like cross account SQS triggers for Lambda functions.

James Beswick (AWS)

⚡️ Quick Links

Image via: Priyanka Vergadia

Serverless vs Fully Managed: What's The Difference? — Priyanka shares a straightforward, high-level run down on the decisions you may face when it comes to deciding how your cloud app will be built, be it serverless, fully managed, or something in between. We're here for the pands though, really.

Priyanka Vergadia (Google Cloud)

How a Company Improved API Response Times Moving from Cloud Functions to Cloud Run — They ran into cold start problems, basically, and while there are ways around that, Unloc found a better fit with Cloud Run.

Raymond Gulbrandsen (Unloc)

Using Node.js ES Modules and Top-Level await in AWS Lambda — Serverless AWS Lambda functions now support ES modules by way of the Node.js 14.x runtime. Here's an explainer on how to use them, along with some guidance on using top-level await with Provisioned Concurrency to improve cold start perf.

Dan Fox

Creating an AWS Lambda function with nbbnbb is a ClojureScript environment that runs on top of Node.js, so it’s ideal for AWS Lambda..

Michiel Borkent

Validating Addresses with AWS Lambda and the Amazon Location Service — Yet another Amazon service we didn’t know existed – a location/address validation service! Here’s how to use it from AWS Lambda to do, well, what it says on the box.

Matthew Nightingale

How I Built My Own URL Forwarder on Cloudflare Workers — A URL shortening service like this is a pretty good second project (beyond ‘hello world’!) for serverless platforms given the relative lack of UI required.

Jerry Ng

How to Structure a Python AWS Serverless Project — This is really about doing it from scratch, but you could use something like Chalice if you want a framework.

Filip Wojciechowski

Eleventy 1.0 - The Serverless Plugin — Eleventy Serverless is a new plugin that supports SSR pages on Eleventy sites (version 1.0 of Eleventy just dropped). Ray explains how this works and shows how you can build one.

Raymond Camden