Lambda with different runtimes 🚀☁️ - Issue #28
Lambda runtimes, production hurdles and Step Functions
Wrapping up Q1 2023, this issue is around how every Lambda runtime has something to bring to the table. And also looking into things that are production hurdles and how to overcome them.
📢 What's new in AWS Serverless
Amazon SNS announces support for setting content-type request headers for HTTP/S notifications
AWS Copilot adds support for full customization with AWS CDK or YAML overrides
🚀 AWSome content to learn from
When building solutions using Serverless we would have to be mindful of the limits associated and be creative in our workarounds, Fatima Medlij shares about the way Amazon SQS could handle large messages with Amazon S3 despite the payload limit of 256kb.
Maciej Radzikowski compares the popular 2 runtimes - NodeJS v/s Python with different aspects of language features, performance, and AWS SDK and goes through the reason - why the runtime stands out.
Serverless with Go lang has its own advantages while it still isn’t one of the popular runtimes preferences for Lambda, Matt Carey talks about why Go lang is a forgotten Lambda runtime and also the fact about its performance.
Benjamen Pyle explains about Lambda functions with Go runtime can use observability with Datadog by setting logs levels and also using AWS Lambda logging output and traces.
AJ Stuyvenberg benchmarks AWS SDK with respect to NodeJS SDK v2 v/s SDK v3 in terms of how it loads, and bundles with esbuild. This gives you a wider picture of the performance of SDK versions with Node16 and Node18 runtimes.
Lee James Gilmore in his blog series talks about Serverless AWS CDK Pipeline best practices and patterns - part 3 focuses on AWS CloudWatch Sythetics and also generating dynamic configurations with a React front-end.
Serverless has a pay based on usage but if you don’t think through the architecture you could end up with a huge bill. Stefan Sarmir writes about the costly mistake on AWS with the infinite S3-Lambda death loop and talks about how we should avoid such mistakes.
Johannes Koch shares his learnings from setting up AWS Amplify for Flutter in his Football match center project which uses AppSync and how to use Amplify codegen
and modeling can help front-end developers to build CRUD operations.
DynamoDB migration in production? That has a whole spectrum of learnings when you are migrating 85 million records across AWS accounts where Gerald Stewart talks about how S3’s import functionality helped and also the challenges associated with the migration process.
Jeff Gardner shares an AWS CDK tip over his tweet about custom roles being used in AwsCustomResources.
Luc van Donkersgoed shares insights on the Answers For AWS survey about the most used/aware/interested IaC tool, Serverless, EDA, and NoSQL DBs.
⚒️ What's happening with AWS Serverless tools
sam-patterns-cli has been updated with ChatGPT integration which can find Serverless patterns.
Lambda Powertools for Java (v1.15.0), TypeScript(v1.7.0) have been released.
AWS CDK 2.71.0 has been released.
Momento introduces Topics which is a low-latency event messaging service.
🗓️ Mark your calendars
AWS UG Mumbai is hosting a series about Security in AWS from March 11th to April 30th, 2023.
AWS UG Perth, Australia is launching a workshop about Alien Attach: A Hands-on Serverless Adventure on March 30th, 2023.
Cloud Builders: Java Conf is happening on March 30th, 2023. Sessions around how Serverless and Java go hand-in-hand!
CDK Happy Hour about CDK Serverless happening virtually on April 20th, 2023.
Serverless.Lab meet-up Prague Edition happening on April 20th, 2023.
ServerlessDays are happening -
ServerlessDays Paris 2023 on June 7th, 2023.
ServerlessDays Zurich 2023 on June 22nd, 2023.
ServerlessDays Cardiff 2023 on September 21st, 2023.
AWS Community Days happening -
ACD Nordics on April 20th, 2023.
ACD Turkey on May 6th, 2023.
ACD Warsaw on June 1st, 2023. CFPs are open until April 15th, 2023.
ACD Midwest on June 15th, 2023. CFPs are open until April 19th, 2023.
ACD DACH on September 14th, 2023. CFPs are open until May 15th, 2023.
⭐ Pick of the month
The pick of the month for March is Step Functions and Intrinsic functions.
You can understand Step Functions from a different angle by Ivica Kolenkaš.
Rosius Ndimofor talks about how you can use Step Functions workflow with SAM, AppSync and Python.
Jones Zachariah Noel (that’s me) for a while has been publishing blogs around Step Functions and Intrinsic functions, the whole series is available here.
👨💻 Word from the author
Thanks for the great response to my previous newsletter issues and also blog posts. I’m open to feedback, so feel free to DM me on Twitter or LinkedIn.
Until next time, happy building on Serverless!