Serverless architectures at it's best 🚀☁️ - Issue #30
Serverless architectures could be used in multiple ways to solve different use-cases.
Serverless has been evolving and we started to see a lot more fun things being built with the focus on solving real-world problems. This issue focuses on different AWS Serverless services which have been leveraged to build resilient solutions.
📢 What's new in AWS Serverless
Amazon DynamoDB now supports up to 50 concurrent table restores.
AWS Lambda adds support for Python 3.10 and Java 17.
AWS Amplify supports Push Notifications for mobile and cross platform apps.
Announcing the general availability of Amazon CodeCatalyst and Dev Environment dashboard in preview.
AWS SAM CLI announces local testing support for API Gateway Lambda authorizers.
Announcing Amazon GuardDuty support for AWS Lambda.
AWS WAF Captcha launches JavaScript API support.
AWS AppSync supports TypeScript and source maps in JavaScript resolvers.
Amazon S3 now applies two security best practices to all new buckets by default.
🚀 AWSome content to learn from
Matthew Wilson has published part-3 of Zero to Serverless car insurance which talks deeply about the Serverless mindset, less code, and integration testing in a Serverless application.
Michael Walmsley has you covered with Observability 101 for Serverless which talks about logs that give you a picture of what has happened and also logging things with meaningful messages.
Durgadas Kamath gives you an overview of Serverless messaging - SQS, SNS, and EventBridge where the blog talks about when and why each of the messaging services would be best for a Serverless architecture.
Serverless can be used for DevOps tasks, Neetu Mallan explains how the RDS retention period in a Serverless way can be reset with EventBridge Schedulers, Step Functions, and Lambda functions.
Time to energize with Express Step Functions by Lee Priest where the blog showcases the power of Express Step Functions for quick workloads, cost-optimized workflow, and with async approach using the Serverless framework.
Augusto Valdivia writes about the perfect trio for AWS cost optimization with Terraform, AWS Lambda functions, and EventBridge with Schedulers being a way to invoke Lambda functions.
Learn about different AWS Lambda function architecture layers by Ran Isenberg that talks about data or data access layer and how the logic layer invokes data access and the handler layer is the entry of any Lambda function invocation.
Cliff Crosland uses the Lambda function to process a 1GB JSON file from S3 with different runtimes - Rust, Go, Java, Python / CPU architecture - arm64 or x86_64 / memory - 128MB to 10GB.
Simon Hanmer talks about using Amazon EventBridge to avoid getting lost in translation where the blog focuses on EventBridge Input Transformation which helps in translating the event payloads as per the needs.
The serverless voting app which uses facial recognition, where Nwachukwu Chibuike writes about an application built with AWS Amplify and multiple AWS Serverless services with architecture and walkthrough.
An informative Twitter thread about DynamoDB by Igor Lamos.
Workaround solution for triggering AppSync subscription via Lambda from Jones Zachariah Noel N (author) where the blog explains how ChatGPT gives you a solution with gaps that make the solution vulnerable and how we would have to approach to build it old-school (human) way!
AWS Developer Innovation Day happened recently with a focus on developer productivity with AWS Amplify, CodeCatalyst, CodeWhisperer and Application Composer.
Luc van Donkersgoed’s session during AWS Community Day Nordics 2023 - The Tao of Event-Driven Architecture that explains the roadway to building EDA applications with the best practices.
⚒️ What's happening with AWS Serverless tools
Maxime David updates the lambda-perf tool to support arm64 and also different memory sizes with newer runtime supports included.
AWS Lambda Powertools for Python v2.14 is out.
The AWS CDK 2.77.0 is out.
Lars Jacobsson has been developing a whole bunch of Serverless tools, now lars.tools with a list of all of them. sfn-cli has a few updates with State Machine and AWS SAM project, and also an easy way to navigate to the console.
Infrastructure as Code got a lot easier with InfraCopilot by Klotho Engine.
If you use Excalidraw for architecture diagrams, Slobodan Stojanović has updated the Serverless icon library.
staticwebsite-cli a tool to deploy static websites on AWS S3 served over CloudFront.
🗓️ Mark your calendars
AWS UG Pretoria is hosting a hybrid meet-up Serverless Side-Projects With DynamoDB (Hybrid) on May 3rd, 2023.
AWS UG Montreal’s meet-up Build a Real-time Pizza Tracker 100% serverless happening on May 16th, 2023.
AWS Serverless Innovation Day 2023 - Modernize with Serverless happening on May 17th, 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 Turkey on May 6th, 2023.
ACD Warsaw on June 1st, 2023.
ACD Midwest on June 15th, 2023.
ACD DACH on September 14th, 2023.
⭐ Pick of the month
This month we are focused on DynamoDB Streams.
Alex DeBrie gives an overview of DynamoDB Streams, how to use it, and some FAQs.
Zied Ben Taha talks about Serverless REST APIs which are asynchronous in nature with an architectural breakdown of different components such as Lambda functions, DynamoDB with DynamoDB Streams to Event bus via EventBridge Pipes.
A blog about optimize your Serverless architectures with event filtering by Mohammed Izzy talks about multiple Serverless services and also DynamoDB Streams and filter patterns for it could be defined.
Jones Zachariah Noel N (author) has authored a blog about how DynamoDB Streams could trigger Lambda functions with filters.
👨💻 Word from the author
Thanks for the great response to my previous newsletter issues and blog posts. I’m open to feedback, so feel free to DM me on Twitter or LinkedIn.
Until next time, happy building on Serverless!