This week’s picks are:
- Custom runtime on AL2 for AWS Lambda
- MSK as an event source for Lambda
- HTTP API Gateway now integrates with five new AWS services
To learn more about all the latest updates from AWS visit: https://aws.amazon.com/new/
Custom runtime on AL2 for AWS Lambda
Lambda is a fully managed serverless compute service which allows you to run your code without provisioning or managing of servers, worrying about scaling, patching and securing the platform running your code. It natively supports Python, Java, Ruby, Go, NodeJS and .NET Core as of writing this article.
In case your love is not yet supported natively by AWS, you can use the custom runtime feature and run your code. With this release, your runtime will use Amazon Linux 2 which provides a secure, stable and high performance execution environment along with long term support and access to latest innovations within the Linux ecosystem.
MSK as an event source for Lambda
Amazon Managed Streaming for Apache Kafka (MSK) is a fully managed service to run Apache Kafka on the cloud. Apache Kafka is an open-source real-time data streaming service. It supports both queuing and pub-sub model to fulfil most of the consumer’s need.
With the introduction of MSK as an event source, you can now build a complete serverless data streaming pipeline without worrying about managing infrastructure. Your lambda function will be invoked when the batch size is maximized, or the payload exceeds 6MB.
HTTP API now integrates with five AWS services
AWS HTTP API is the newest addition to API Gateway family which is quite cost-effective compared to API Gateway if you are looking for a simple HTTP proxy for your lambda function.
You could only point your HTTP API to lambda function or another HTTP endpoint till now but with this update, you can now forward requests to AWS AppConfig, Amazon EventBridge, Amazon Kinesis Data Streams, Amazon SQS, and AWS Step Functions. Using this feature you can build API for ingesting data to Kinesis, trigger Step Functions, pull configuration from AppConfig, etc.
That’s all for now. Stay tuned to learn more about new releases/updates by AWS. ✌️