A Weekly Newsletter By Jeremy Daly

Off-by-none: Issue #61

October 29, 2019

Yup, it’s “yum” for Lambda… 👨🏻‍💻

Welcome to Issue #61 of Off-by-none. I’m so happy you’re here! 😀

Last week, we looked at alternatives for function composition and introduced some new serverless development platforms. This week, we’re going to take a quick look at the new “yumda” project, plus we’ve got plenty of great content from the community.

BTW, are you going to AWS re:Invent this year? If so, don’t forget to register for the #ServerlessForEveryone Community Party @ AWS re:Invent 2019. We’ve got plenty of awesome guests and some amazing sponsors (Stackery, Thundra, AWS, CloudZero, LumigoProtego, and Serverless, Inc) that’ll make this a great event. I hope you’ll join us!

Lots to get to this week, so let’s get started! 🏎

Native dependencies in Lambda never tasted so good… 🍭

Last week on the Serverless Chats Podcast, I spoke with Michael Hart about an amazing new project he was working on called “yumda”. This project lets you easily install binary packages into your Lambda environments and then publish them as Lambda Layers to use in your serverless applications.

The project has been released to the public and is now available on GitHub. 🎉

This is a really great project that will make working with native binaries so much simpler. I think it will open up tons of possibilities, especially for those new to Lambda and serverless. Give it a look, and be sure to send your feedback.

Serverless News & Product Announcements 🚀

CNCF Serverless WG gets CloudEvents into incubator, approves 1.0 release
The CloudEvents spec from the CNCF is maturing. Several projects, including Microsoft’s EventGrid, Adobe I/O Events, Oracle Fn, and Knative have adopted the standard.

AWS Lambda Performance Optimization & Monitoring with Tracing & Spans (Serverless Framework Pro)
The Serverless Framework is adding feature after feature to give you complete visibility into your serverless applications. This new Tracing and Spans feature is another really useful tool.

Seamless Monitoring Simplified!
Thundra’s new update lets customers instrument their functions directly from the console rather than needing to modify YAML files or add additional instrumentation.

Serverless Stories 📖

Dirty Old Code
Pierre Bails and the team at Precogs migrated their monolithic Ruby on Rails app to a serverless environment. Check out how they migrated their application in pieces, slowly reducing the dependency on the legacy system.

Canary (B/G) Deployment for AWS Serverless Stacks (Immutable IaC)
Dinesh Dandu walks us through how his team built their CI/CD pipeline to deploy their serverless application.

My key takeaways from ServerlessDays Stockholm
ServerlessDays events are awesome. They give people a chance to see and hear speakers from around the world. Tuomo Varis was at ServerlessDays Stockholm, and has put together a nice recap of the event.

Serverless Use Cases 🗺

Creating, monitoring, and testing cron jobs on AWS
Running automated tasks is one of the most basic, yet powerful use cases for serverless. Gareth McCumskey has a very detailed post that will show you how to take full advantage of serverless cron jobs.

Serverless Event Scheduling
Ben Ellerby outlines a variation on the Step Functions as an email scheduler pattern. He adds an SQS queue for some additional durability and retries. I really like this Step Functions approach for scheduling ad hoc events.

The Serverless Vector Map Stack Lives!
Great post by Alexander Rolek that details how the release of AWS Aurora Serverless Postgres (with PostGIS support) makes building an entirely serverless map stack now possible.

When you’re looking for some advanced serverless concepts… 🏗

Serverless – AWS Lambda Python Dependencies
Dorian Machado gives you the basic steps to install Python dependencies for use in your Lambda functions.

.NET Core 3.0 AWS Lambda Benchmarks and Recommendations
Zac Charles has been keeping up with the performance of .NET Core 3.0 on AWS Lambda and shares his latest benchmarks and recommendations with us.

AWS Lambda – The Ultimate Guide
Pretty much everything you would ever want to know about Lambda is in this article from the team at Serverless, Inc.

A simple introduction to Step Functions
If you’ve yet to dive into AWS Step Functions, or just want a quick refresher, take a look at Renato Byrro’s introductory post.

Don’t wait for Functionless. Write less Functions instead
Sheen Brisals has a great post that gets you thinking about minimizing your Lambda functions in favor of using built in cloud integrations. We’re not “functionless” yet, but as Sheen points out, there are a lot of things we can do without them.

Serverless Tutorials 🏗

Serverless Data Visualizations
This tutorial will show you how to create data visualizations with AWS Lambda using Python’s Pandas, Numpy, and Matplotlib libraries.

How to get started and debug Lambda functions
Ankita Kulkarni shows you how to build and test Lambda functions with Netlify.

Developing Serverless Applications on AWS using AWS Serverless Application Model (SAM)
This is a thorough document that consolidates a lot of information into a single post. If you’re working with AWS SAM, this could be a good reference manual for you.

Go serverless in Kubernetes with Knative
If you’re thinking about going down the Knative route, Paulo Kieffer has a short and sweet intro for you.

Building A Serverless Backend API Part 1
Here’s a very detailed tutorial from Serkan Özal on how to create a serverless API. This is great for beginners.

Setting up CI/CD for Lambda Functions using AWS CodePipeline
Lots of posts on CI/CD for serverless projects, and everyone’s process is different! Here is another example by Maarten Thoelen.

Serverless CI/CD Using Github Actions
And here’s another CI/CD workflow for your serverless applications. This one uses the new Github Actions, which is kind of cool.

Serverless Security 🔒

Cloud Native Security: Focus On Your Domain
John Gilbert shares his thoughts on where the shared responsibility model ends with serverless applications, and where you must step in to ensure your users’ sensitive data is protected.

Cloud Native Security: What it Means
Tal Melamed explains how serverless and cloud native change the security landscape, and offers some recommendations for making sure your applications are secure.

Serverless Reads 🤓

Serverless and multi-cloud: Hype or reality?
Interesting post by Sebastien Goasguen from TriggerMesh. In my mind, there is a big difference between being “multi-cloud” and using services from “multiple” clouds. While we’ll definitely continue to see enterprises adopting the multi-cloud strategy, I still believe this has the opposite effect on choosing best-of-breed services.

Hey AWS – it’s time to pay OSS developers
Forrest Brazeal’s latest Cloud Irregular newsletter points out the lack luster performance of AWS’s Serverless Application Repository (SAR). Could adding some incentives for developers make it more popular?

What is Serverless? The “2020” edition
Paul Johnston can’t stand the word “serverless” any more, but that hasn’t stopped him from embracing the value it provides. In his latest post, he articulates a few major positions on what serverless is, and why it’s important for the future of the cloud.

The Serverless Supercomputer
If you’re curious about the future of serverless, and what’s truly possible, take a few minutes to read Tim Wagner’s latest post.

For the those that want an audio/visual experience… 📽

Episode #20: The Serverless Journey of LEGO.com with Sheen Brisals
In this episode, I chat with Sheen Brisals about the problems the LEGO Group was trying to solve with serverless, what they learned from their journey, and what’s the idea behind “functionless.

Serverlessconf NYC 2019 Videos
A Cloud Guru posted several of the talks from this year’s Serverlessconf in NYC. Lots of really interesting presentations, so be sure to grab some popcorn and a notebook.

Building CI/CD Pipelines for Serverless Applications
More serverless CI/CD goodness. This time from the Serverless Toronto meetup.

When you’re wondering what the devs at AWS are up to… 👷‍♀️

Amazon Transcribe Now Supports Australian English Speech-to-Text in Real Time
I know AWS keeps adding dialect support, but I’ve been using it with US English for quite some time and the accuracy can be terrible. Maybe they just need to add Boston English as another supported language. 🤷‍♂️

AWS Amplify Console announces Pull-Request Previews for Fullstack Serverless Applications
This is a pretty cool feature. A pull-request preview deploys every pull request made to your GitHub repository to a unique preview URL. It even spins up and tears down ephemeral backends for testing.

200 Amazon CloudFront Points of Presence + Price Reduction
Wow, 200 total POPs. I have some extra room in my basement if AWS is looking for some more space.

Serverless Tools 🛠

@totallymoney/serverless-sns-to-sqs-events
This is a Serverless framework plugin that simplifies the configuration of SNS to SQS to Lambda.

Edit serverless YAML templates in VSCode like a pro | Serverless IDE
I think we’ve mentioned this tool before, but Pavel Vlasov’s Serverless IDE tool is a nice little add-on for your serverless development workflow.

Thoughts from Twitter 🐦

10 reasons why I love AWS Step Functions so much, illustrated using a JavaScript Promise chain: step = json => service(params) .then(flakyService()) .then(longService()) .then(({ id }) => Promise.all([send(id), audit(id)])) ~ Jesse Warden
Jesse Warden has a clever thread that demonstrates the usefulness of AWS Step Functions.

Upcoming Serverless Events 🗓

There are a lot of upcoming serverless events, webinars, livestreams, and more. If you have an event you’d like me to mention, please email me.

October 30, 2019 – Serverless Transformation Webinar – How Can Serverless Improve (I’ll be on this with Ran Ribenzaft and Erica Windisch)

October 30, 2019 – Retail at the Scale of Serverless with AWS – Webinar

October 30, 2019 – Managing Serverless Applications with SAM Templates

November 6-8, 2019 – Serverless Computing London

December 2-6, 2019 – AWS re:Invent 2019

Serverless Star of the Week ⭐️

There is a very long list of people that are doing #ServerlessGood and contributing to the Serverless community. These people deserve recognition for their efforts. So each week, I will mention someone whose recent contribution really stood out to me. I love meeting new people, so if you know someone who deserves recognition, please let me know.

This week’s star is Daniel ZivKovic (@DanielBookmarks). Daniel is a Cloud Solutions Architect at Onica, and the organizer of the Serverless Toronto User Group. He’s been organizing and running these events since May of last year, and has brought in a number of amazing serverless speakers to share their knowledge with the Toronto developer community. I’ve met Daniel a number of times, and his enthusiasm for serverless is infectious. The work he does helps bring new people into the serverless community everyday, and that is something to cheer for. Thanks for all you do, Daniel! 🙌

Final Thoughts 🤔

It’s been another heads down week for me trying to wrap up a big serverless project I’m working on, but I did get a chance to chat with some AWS PMs and partners. Lots of super cool stuff coming down the pike for Lambda and serverless at AWS. We’re just over a month away from re:Invent, and I’m ridiculously excited about it. It’s going to be a very, very good end-of-year for serverless.

I hope you enjoyed this issue of Off-by-none. Please send me your feedback and suggestions as they help to make this newsletter better each week. You can reach me via Twitter, LinkedIn, Facebook, or email and let me know your thoughts, criticisms, or (perhaps) even how you’d like to contribute to Off-by-none. If you like this newsletter, and think others would too, please do me the honor of sharing it with friends and coworkers who are interested in serverless.

Until next week,
Jeremy

Share this newsletter with your friends and coworkers!


Off-by-none is a weekly email newsletter that focuses on the technical details of building applications and products in the cloud using serverless technology. Together we can become better developers and product people by making fewer mistakes as we learn from each other. Off-by-none is the idea that we can become exceptional at what we do, if we are willing to put in the work. Join me on this journey as we help the community work to develop best practices, share our ideas, and learn to build better cloud-based software.

Sign up below and get Off-by-none delivered to your inbox every Tuesday.

I respect your privacy and I will NEVER sell, rent or share your email address.