Serverless Infrastructure and API 🚀☁️ #54
Considerations and trade-offs, authorization and Architecture as Code to build Serverless APIs
In the previous issue, Serverless APIs are evolving 🚀☁️ #53 we looked into updates on the Serverless APIs front and some amazing things around APIs; also a poll to check about what’s your preferred Serverless API with Amazon API Gateway leading it!
In this issue, we are continuing to explore the Serverless APIs while taking into consideration the Lambda Cold Starts, response streaming with Lambda function URL, AppSync for GraphQL APIs, cost-effective consideration and trade-offs!
And in other news IBM acquires Hashicorp.
📢 What's new in Serverless
AWS CloudFormation ChangeSets now offer enhanced change visibility for deployments
Workflow approvals for Amazon CodeCatalyst
NoSQL Workbench for Amazon DynamoDB launches a revamped operation builder user interface
⭐ Pick of the month
This month’s Pick of the month is “Serverless APIs“.
David Behroozi shares how using CloudFront functions as a REST API could be fast (low-latency) and also cost-effective when you want to generate presigned S3 URLs and also overcome Cold Starts from Lambda.
Ike Gabriel Yuson explains about Lambda Function URL Response Streaming and how that helps when building Generative AI APIs to get a streaming response from Amazon Bedrock.
Elias Brange posts about the cost associated with Amazon Verified Permissions.
Yan Cui dives into the cost associated with Amazon API Gateway and Application Load Balancer.
Andre Lopes takes on the code walkthrough of creating a simple API with Winglang for building and deploying API Gateway, Lambda function, and DynamoDB.
Abhishek Wagh’s blog about SAML Authentication using AWS IAM Idenity Center for Serverless APIs guides through setting SAML for user identities managed with Identity Center which are used for authentication using Lambda and API Gateway.
Vinayak Pandey in a step-by-step tutorial explains how to set up Lambda Authorizer to grant access to GET or POST requests based on API key
Jones Zachariah Noel (author) has authored the AppSync blog series which sheds light on getting started to triggering AppSync subscriptions. And also about Lambda Function URL and how it works.
🚀 AWSome content to learn from
Nick Frichette from DataDog has published the security findings of AWS Amplify IAM roles vulnerability, which exposes the policy misconfiguration and how it can be a security vulnerability along with the fix from AWS to address this.
Learn how to add flexibility to your deployments with Lambda Web Adapter by Zied Ben Tahar which walkthrough CDK code base with Lambda Web Adapter which supports the web app architecture. And also an alternative approach with Fargate deployment to compare both approaches.
Kasun de Silva writes about boosting the Lambda function performance with AWS Lambda Powertools with the key components - Logger, Tracer, Mertics, and Utilities.
Navigating through failures and build resilient Serverless systems by Jimmy Dahlqvist discusses Serverless and the different services that are Serverless/Managed Services and being mindful of the limits and how to address when something breaks to make it more resilient.
Lakindu Hewawasam published an IEEE paper about the impact of Software testing on Serverless that dives into the Serverless Testing methodologies along with the challenges and also addresses the fact of EDA, Cold Starts, and other limitations.
Gregor Hohpe addresses if Serverless is an illusion in the world of abstractions where it removes the complexity for the developer but also shifts the complexity on the provider to make it as developer-friendly as possible with AaC (Architecture as Code).
Riley Peronto from Edge Delta writes about 10 methods to reduce AWS Lambda cost from memory considerations, reducing Cold Starts, and ARM-based processors to enabling monitoring and alerts for cost.
Martina Della Corte addresses the performance with Secrets Manager v/s Lambda Extenstion and uses the Lambda Power tuning tool to compare the results.
Lee Gilmore kickstarted a blog series with the first part about Serverless Event Sourcing and CQRS which explains CQRS and event sourcing as a concept and pattern with a walkthrough of the architect and code in TS.
Jones Zachariah Noel (author) writes about Serverless patterns of Orchestration and Choreography and how AWS Step Functions and Amazon EventBridge fit into this pattern along with contrasting both patterns.
⚒️ What's happening with AWS Serverless tools
Jean-Baptiste Le Duigou has published slog: AWS Lambda Handler.
Anton Aleksandrov has published Lambda on deprecated runtimes finder.
AWS Lambda Powertools for TypeScript has a Parser Utility available in beta.
LocalStack 3.4.0 is out now.
Neon Serverless Postgress is now GA.
🎙️ Podcasts and live-streams
Wing Lang’s update on Step Function integration on Wing and chat with Filip Pyrek
Khawaja Shams on Believe in Serverless talks about Multitenancy in SaaS.
Andres Moreno and Allen Helton on Believe in Serverless talk about Building complex things with Step Functions.
🗓️ Mark your calendars
AWS Budapest CoP is hosting Serverless Security & Securing Gen AI virtually on April 30th, 2024.
Cloud Weekend happening on May 11th, 2024 at Montenegro.
AWS UG Liverpool’s May meet-up on May 16th, 2024.
Moar Serverless is happening on May 23rd, 2024 virtually.
ServerlessDays are happening -
ServerlessDays ANZ is happening in Sydney, AU (May 21st, 2024) and Auckland, NZ (May 24th, 2024).
ServerlessDays Belfast happening on May 23rd, 2024.
ServerlessDays Milano happening on June 13th, 2024.
ServerlessDays Cardiff happening on October 10th, 2024 (CFP open until July 1st, 2024).
AWS Community Days happening -
ACD Nordics on May 7th, 2024.
ACD Bangladesh on May 18th, 2024. (CFP is open).
ACD Turkey on May 18th, 2024.
ACD Colombo on June 27th, 2024 (CFP is open)
👨💻 Word from the author
Thanks for the constant love and support from everyone in the Serverless community!
I’m open to feedback, so feel free to DM me on Twitter or LinkedIn for any queries about AWS or Serverless.
If you are looking for any guidance or assistance with learning Serverless, my LinkedIn DMs are open for a chat!
Stay tuned and share with Serverless enthusiasts. Follow The Serverless Terminal on X (formerly Twitter) and Blog.
Until next time, happy building on Serverless!