AWS Compute Blog
ICYMI: Serverless Q2 2021
Welcome to the 14th edition of the AWS Serverless ICYMI (in case you missed it) quarterly recap. Every quarter, we share all of the most recent product launches, feature enhancements, blog posts, webinars, Twitch live streams, and other interesting things that you might have missed!
In case you missed our last ICYMI, check out what happened last quarter here.
AWS Step Functions
Step Functions launched Workflow Studio, a new visual tool that provides a drag-and-drop user interface to build Step Functions workflows. This exposes all the capabilities of Step Functions that are available in Amazon States Language (ASL). This makes it easier to build and change workflows and build definitions in near-real time.
- Watch this 3-minute video to learn how to build with Workflow Studio.
- See the Serverless Office Hours episode, AWS Step Functions – New Workflow Studio.
The new data flow simulator in the Step Functions console helps you evaluate the inputs and outputs passed through your state machine. It allows you to simulate each of the fields used to process data and updates in real time. It can help accelerate development with workflows and help visualize JSONPath processing.
- Read the developer guide.
- See Serverless Office Hours: AWS Step Functions – Orchestrating data in Step Functions.
Also, Amazon API Gateway can now invoke synchronous Express Workflows using REST APIs.
EventBridge now supports cross-Region event routing from any commercial AWS Region to a list of supported Regions. This feature allows you to centralize global events for auditing and monitoring or replicate events across Regions.
The service now also supports bus-to-bus event routing in the same Region and in the same AWS account. This can be useful for centralizing events related to a single project, application, or team within your organization.
You can now use EventBridge as a resource within Step Functions workflows. This provides a direct service integration for both standard and Express Workflows. You can publish events directly to a specified event bus using either a request-response or wait-for-callback pattern.
EventBridge added a new target for rules – Amazon SageMaker Pipelines. This allows you to use a rule to trigger a continuous integration and continuous deployment (CI/CD) service for your machine learning workloads.
AWS Lambda extensions are now generally available including some performance and functionality improvements. Lambda extensions provide a new way to integrate your chosen monitoring, observability, security, and governance tools with AWS Lambda. These use the Lambda Runtime Extensions API to integrate with the execution environment and provide hooks into the Lambda lifecycle.
To help build your own extensions, there is an updated GitHub repository with example code.
To learn more:
- Watch a Tech Talk with Julian Wood.
- Watch the 8-episode Learning Path series covering all aspects of extensions.
Amazon CloudWatch Lambda Insights support for Lambda container images is now generally available.
Amazon SNS has expanded the set of filter operators available to include IP address matching, existence of an attribute key, and “anything-but” matching.
The service has also introduced an SMS sandbox to help developers testing workloads that send text messages.
To learn more:
- Find out how to migrate to 10DLC origination numbers when using SNS to send text messages to US destinations.
- Serverless Office Hours covered the new messaging and filtering options for Amazon SNS.
DynamoDB announced CloudFormation support for several features. First, it now supports configuring Kinesis Data Streams using CloudFormation. This allows you to use infrastructure as code to set up Kinesis Data Streams instead of DynamoDB streams.
The service also announced that NoSQL Workbench now supports CloudFormation, so you can build data models and configure table capacity settings directly from the tool. Finally, you can now create and manage global tables with CloudFormation.
Learn how to use the recently launched Serverless Patterns Collection to configure DynamoDB as an event source for Lambda.
Amplify Hosting announced support for server-side rendered (SSR) apps built with the Next.js framework. This provides a zero configuration option for developers to deploy and host their Next.js-based applications.
The Amplify GLI now allows developers to make multiple DynamoDB GSI updates in a single deployment. This can help accelerate data model iterations. Additionally, the data management experience in the Amplify Admin UI launched at AWS re:Invent 2020 is now generally available.
AWS Serverless Application Model (AWS SAM)
AWS SAM has a public preview of support for local development and testing of AWS Cloud Development Kit (AWS CDK) projects.
To learn more:
- Optimize serverless development with samconfig.
- Deploy machine learning models with serverless templates.
Serverless blog posts
The “Operating Lambda” blog series includes the following posts in this quarter:
- Apr 5 – Operating Lambda: Logging and custom metrics
- Apr 12 – Operating Lambda: Isolating and resolving issues
- Apr 26 – Operating Lambda: Performance optimization – Part 1
- May 4 – Operating Lambda: Performance optimization – Part 2
The “Building serverless applications with streaming data” blog series shows how to use Lambda with Kinesis.
- Jun 1 – Building serverless applications with streaming data: Part 1
- Jun 7 – Building serverless applications with streaming data: Part 2
- Jun 14 – Building serverless applications with streaming data: Part 3
- Jun 21 – Building leaderboard functionality with serverless data analytics
- Jun 28 – Monitoring and troubleshooting serverless data analytics applications
Getting started with serverless for developers
Learn how to build serverless applications from your local integrated development environment (IDE).
- Apr 12 – Getting started with serverless for developers: Part 1
- Apr 19 – Getting started with serverless for developers: Part 2 – The business logic
- Apr 26 – Getting started with serverless for developers: Part 3 – The front door
- Jun 7 – Getting Started with serverless for developers: Part 4 – Local developer workflow
- Jun 14 – Getting started with serverless for developers part 5: Sandbox developer account
- Apr 7 – Processing satellite imagery with serverless architecture
- Apr 8 – Evaluating access control methods to secure Amazon API Gateway APIs
- Apr 14 – Controlling concurrency in distributed systems using AWS Step Functions
- Apr 15 – Introducing cross-Region event routing with Amazon EventBridge
- Apr 19 – Optimizing serverless development with samconfig
- Apr 20 – Modeling workflow input and output path processing with data flow simulator
- Apr 29 – Better together: AWS SAM and AWS CDK
- May 6 – Using shared memory for low-latency, intra-node communication in AWS Batch
- May 10 – Learn how to integrate AWS services with the Serverless Patterns Collection
- May 14 – Introducing the Amazon EventBridge service integration for AWS Step Functions
- May 19 – Using bus-to-bus event routing with Amazon EventBridge
- May 20 – Building private cross-account APIs using Amazon API Gateway and AWS PrivateLink
- May 24 – Performance and functionality improvements for AWS Lambda extensions
- Jun 1 – Introducing the SMS sandbox for Amazon SNS
- Jun 1 – Provisioning and using 10DLC origination numbers with Amazon SNS
- Jun 2 – Setting up AWS Lambda with an Apache Kafka cluster within a VPC
- Jun 8 – Announcing migration of the Java 8 runtime in AWS Lambda to Amazon Corretto
- Jun 16 – Exploring serverless patterns for Amazon DynamoDB
- Jun 21 – Building leaderboard functionality with serverless data analytics
- Jun 21 – Prototyping at speed with AWS Step Functions new Workflow Studio
- Jun 22 – Deploying machine learning models with serverless templates
- Jun 22 – Building well-architected serverless applications: Managing application security boundaries – part 1
Tech Talks & Events
We hold AWS Online Tech Talks covering serverless topics throughout the year. These are listed in the Serverless section of the AWS Online Tech Talks page. We also regularly deliver talks at conferences and events around the world, speak on podcasts, and record videos you can find to learn in bite-sized chunks.
Here are some from Q2:
- Processing Streaming Data with AWS Lambda with James Beswick.
- Transferring SaaS Application Data Securely with Amazon AppFlow with Eric Johnson.
- Integrating AWS Lambda with Your Favorite Tools with Julian Wood.
- Advanced Serverless Messaging Patterns for Your Applications with Talia Nassi.
Serverless Live was a day of talks held on May 19, featuring the serverless developer advocacy team, along with Adrian Cockroft and Jeff Barr. You can watch a replay of all the talks on the AWS Twitch channel.
Serverless Office Hours – Tues 10 AM PT / 1PM EST
Weekly live virtual office hours. In each session we talk about a specific topic or technology related to serverless and open it up to helping you with your real serverless challenges and issues. Ask us anything you want about serverless technologies and applications.
- Apr 6 – AWS Messaging and Events – API Destinations for Amazon EventBridge
- Apr 13 – Serverless Surprise! AWS Cloud9 & paired programming with serverless!
- Apr 20, – AWS Lambda – The Lambda Operator’s Guide
- Apr 27 – AWS Step Functions – Orchestrating data in Step Functions
- May 4 – Amazon API Gateway – AWS IAM condition keys
- May 11 – AWS Messaging and Events – Kinesis all the Streams
- May 18 – Serverless Surprise – DynamoDB 101 from the 400 level guru
- May 25 – AWS Lambda – Getting started with Serverless
- Jun 1 – AWS Step Functions – Service integration for Amazon EventBridge
- June 8 – Amazon API Gateway – Multi level base path mapping
- June 15 – Message filtering and archiving with Amazon SNS
- June 22 – AWS Step Functions – New Workflow Studio
- June 29 – AWS Lambda – Lambda Extensions
DynamoDB Office Hours
Are you an Amazon DynamoDB customer with a technical question you need answered? If so, join us for weekly Office Hours on the AWS Twitch channel led by Rick Houlihan, AWS principal technologist and Amazon DynamoDB expert. See upcoming and previous shows
- Apr 14 – Optimizing AWS AppSync API’s with Single Table
- May 5 – Modeling an online banking service
- May 12 – Deep Dive on the Dropbox Alki Metadata Service
- June 2 – Modeling an Asset Management Service
- June 9 – Modeling a Mobile Payments Service
Learning Path – AWS Lambda Extensions: The deep dive
Are you looking for a way to more easily integrate AWS Lambda with your favorite monitoring, observability, security, governance, and other tools? Welcome to AWS Lambda extensions: The deep dive, a learning path video series that shows you everything about augmenting Lambda functions using Lambda extensions.
- 1: Understanding Lambda extensions
- 2: Using internal Lambda extensions
- 3: Using external Lambda extensions
- 4: The Lambda lifecycle
- 5: Building extensions with the Extensions API-Part 1
- 6: Building extensions with the Extensions API-Part 2
- 7: Including extensions in container images
- 8: Sending logs to custom destinations
There are also other helpful videos covering serverless available on the Serverless Land YouTube channel.
Still looking for more?
The Serverless landing page has more information. The Lambda resources page contains case studies, webinars, whitepapers, customer stories, reference architectures, and even more Getting Started tutorials.
You can also follow the Serverless Developer Advocacy team on Twitter to see the latest news, follow conversations, and interact with the team.
- Chris Munns: @chrismunns
- Eric Johnson: @edjgeek
- James Beswick: @jbesw
- Ben Smith: @benjamin_l_s
- Julian Wood: @julian_wood
- Talia Nassi: @talia_nassi