Messaging services in Serverless 🚀☁️ - Issue #26
We are talking about Amazon EventBridge, Amazon SNS, Amazon SQS.
For this issue, we are looking into messaging services - Amazon EventBridge which has updated with latency, and also the new Step Functions SDK that supports EventBridge Scheduler. This month we are also looking into Lambda functions that have triggers from Amazon SQS and Amazon SNS.
📢 What's new in AWS Serverless
Working with AppSync and DynamoDB direct resolvers just got leveled up with AWS AppSync now supports projection expressions in DynamoDB resolvers.
AWS SAM connectors now support multiple destinations.
Step Functions is continuing to expand the SDK integrations as AWS Step Functions adds integration for 35 services including EMR Serverless.
Improved Data Management in Amplify Studio.
🚀 AWSome content to learn from
Behind the Scenes at AWS – DynamoDB UpdateTable Speedup by Jeff Barr talks about how DynamoDB’s Standard-IA class has drastically saved a lot on cost for customers using over 500GB of size tables.
Gregor Hohpe writes about loose coupling and how it’s affecting the bills and also discusses the trade-offs that are to be considered when building a Serverless loosely coupled app.
FaaS means you pay for what you use, how about we optimize your AWS Lambda to make it faster and in-turn cheaper is the essence of Matteo Depascale’s blog post where he optimizes the Lambda with Node16 runtime and now Node18 runtime is available for Lambda functions, AJ Stuyvenberg shares an experiment he did to validate Node16 + AWS SDK v2 v/s Node18 + AWS SDK v3.
Amazon EventBridge has been the talk of the town! Lakindu Hewawasam in his YouTube video gives a crash course about EventBridge Pipes which enables point-to-point integrations. In the last few days, Amazon EventBridge has significantly reduced its latencies and Luc van Donkersgoed updates his findings in the Serverless Messaging: Latency Compared. I (Jones Zachariah Noel N) have authored a blog about Amazon EventBridge being the missing piece to our Serverless apps which focuses on Event Buses, EventBridge Pipes, and EventBridge Schedulers. Pubudu Jayawardana in his blog explains the solution which uses Step Functions SDK integration with EventBridge Scheduler where the state machine which creates and then deletes the one-time schedule on EventBridge.
Yan Cui writes about 3 ways to manage concurrency in Serverless applications where he deep dives into different patterns such as reserved concurrency, EventSourceMapping, and Dynamic concurrency control with services like EventBridge, SNS, and SQS playing a crucial role.
Excellent Twitter thread by Tyler van Hensbergen which talks about how Step Functions and SDK integrations with just configurations for his Serverless workflow with data from an on-prem machine.
Ryan Nazareth builds a Serverless workflow to analyze music data using Step Functions, Glue, and Athena, and in his blog post, he deep-dives into different components of his Serverless workflow and walks through the architecture.
⚒️ What's happening with AWS Serverless tools
Lamdy is Lambdas on Rails made easy! Ken Collins writes about the same in his blog post.
sfn-dynamodb-toolbox-integrations is an npm package to improve Step Functions and DynamoDB direct integrations. Check out Pierre Milliotte’s tweet about it.
AWS Lambda Powertools 2.9.0 for Python is now live.
🗓️ Mark your calendars
Serverless London is hosting their in-person meet-up on March 2nd, 2023.
Serverless Wroclaw is having a Back to the Serverless Wroclaw meet-up on March 9th, 2023.
AWS UG Mumbai is hosting a series about Security in AWS from March 11th to April 30th, 2023.
ServerlessDays are happening -
ServerlessDays ANZ 2023 on March 10th, 2023.
ServerlessDays Paris 2023 on June 7th, 2023.
ServerlessDays Zurich 2023 on June 22nd, 2023.
AWS Community Days happening -
ACD Dehradun on March 4th, 2023.
ACD Hyderabad on March 18th, 2023.
ACD Nordics on April 20th, 2023. CFPs are open until March 5th, 2023.
ACD Turkey on May 6th, 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
This month we are focused on Lambda functions with Amazon SNS and Amazon SQS triggers.
Raul Naupari shares about a SAM application that uses SNS and SQS Lambda triggers where he uses a .Net runtime Lambda fn with the SAM template to explain about different properties available when you are defining the resources and adding event triggers to the Lambda function.
👨💻 Word from the author
Congratulations to all the new AWS Community Builders who have been selected to join the program.
Thanks for the great response to my previous newsletter issues and also blog posts. If you have missed it, the newsletter has a new address, and also the blog is part of The Serverless Terminal blogs.
Until next time, happy building on Serverless!