22 serverless updates from re:Invent 2021 you need to know

Did you get all the serverless updates from AWS pre- & re:Invent 2021?๏ธ

If you’re a ๐˜€๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ๐—น๐—ฒ๐˜€๐˜€ ๐—ฒ๐—ป๐˜๐—ต๐˜‚๐˜€๐—ถ๐—ฎ๐˜€๐˜, we’ve collected the most important serverless updates from re:Invent 2021 you need to know about.

Announcements, updates and more – serverless edition โ†“

๐—”๐—ช๐—ฆ ๐—™๐—ฟ๐—ฒ๐—ฒ ๐—ง๐—ถ๐—ฒ๐—ฟ ๐——๐—ฎ๐˜๐—ฎ ๐—ง๐—ฟ๐—ฎ๐—ป๐˜€๐—ณ๐—ฒ๐—ฟ ๐—˜๐˜…๐—ฝ๐—ฎ๐—ป๐˜€๐—ถ๐—ผ๐—ป

Transfer limits significantly increased:
โ€ข from Regions: up from 1GB to now ๐Ÿญ๐Ÿฌ๐Ÿฌ๐—š๐—•
โ€ข from CloudFront: up from 50GB to now ๐Ÿญ๐—ง๐—• and no longer limited to the first 12 months!

https://aws.amazon.com/blogs/aws/aws-free-tier-data-transfer-expansion-100-gb-from-regions-and-1-tb-from-amazon-cloudfront-per-month/

๐—š๐—ฟ๐—ฎ๐˜ƒ๐—ถ๐˜๐—ผ๐—ป๐Ÿฎ ๐—ฆ๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜ ๐—ณ๐—ผ๐—ฟ ๐—™๐—ฎ๐—ฟ๐—ด๐—ฎ๐˜๐—ฒ

After being introduced for AWS Lambda, itโ€™s also now available for Fargate.
Youโ€™ll get ๐˜‚๐—ฝ ๐˜๐—ผ ๐Ÿฐ๐Ÿฌ% ๐—ฏ๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—ฝ๐—ฟ๐—ถ๐—ฐ๐—ฒ-๐—ฝ๐—ฒ๐—ฟ๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐—ป๐—ฐ๐—ฒ compared to x86 architecture.

https://aws.amazon.com/blogs/aws/announcing-aws-graviton2-support-for-aws-fargate-get-up-to-40-better-price-performance-for-your-serverless-containers/

๐—–๐—ผ๐—ป๐˜€๐—ผ๐—น๐—ฒ ๐—ก๐—ฎ๐˜ƒ๐—ถ๐—ด๐—ฎ๐˜๐—ถ๐—ผ๐—ป ๐—•๐—ฎ๐—ฟ ๐—˜๐—ป๐—ต๐—ฎ๐—ป๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐˜€

The new navigation bar reduces clutter & enables you to jump between your favorite services more easily.
Bonus: arrangements via Drag & Drop are finally also supported.

https://aws.amazon.com/about-aws/whats-new/2021/11/aws-management-console-navigation-bar-improvements/

๐—–๐—ฟ๐—ผ๐˜€๐˜€-๐—”๐—ฐ๐—ฐ๐—ผ๐˜‚๐—ป๐˜ ๐—˜๐—–๐—ฅ ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—”๐—ช๐—ฆ ๐—Ÿ๐—ฎ๐—บ๐—ฏ๐—ฑ๐—ฎ

Your images for your function can now be stored in a different AWS account. This enables you for example to store all your ECR images in a central, dedicated account.

https://aws.amazon.com/about-aws/whats-new/2021/11/aws-lambda-support-cross-account-image-amazon-elastic-container-registry/

๐—ฆ๐—ค๐—ฆ-๐—บ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—ฑ ๐—ž๐—ฒ๐˜†๐˜€ ๐—ณ๐—ผ๐—ฟ ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ถ๐—ฐ๐—ฒ-๐—ฆ๐—ถ๐—ฑ๐—ฒ ๐—˜๐—ป๐—ฐ๐—ฟ๐˜†๐—ฝ๐˜๐—ถ๐—ผ๐—ป

SQS already supported SSE encryption via customer-provided keys using the Key Management Service.
Now there are SQS-managed Keys (SSE-SQS) that reduce operational burdens

https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-sqs-server-side-encryption-keys-sse/

๐—˜๐—ป๐—ต๐—ฎ๐—ป๐—ฐ๐—ฒ๐—บ๐—ฒ๐—ป๐˜๐˜€ ๐—ณ๐—ผ๐—ฟ ๐——๐—ฒ๐—ฏ๐˜‚๐—ด๐—ด๐—ถ๐—ป๐—ด ๐—”๐—ฐ๐—ฐ๐—ฒ๐˜€๐˜€ ๐——๐—ฒ๐—ป๐—ถ๐—ฒ๐—ฑ ๐—ฅ๐—ฒ๐˜€๐—ฝ๐—ผ๐—ป๐˜€๐—ฒ๐˜€ ๐—ฎ๐˜ ๐—œ๐—”๐— 

AWS now started to contain the policy type that caused the rejection.
Currently, only a few services are supported yet (e.g. Secrets Manager)

https://aws.amazon.com/about-aws/whats-new/2021/11/aws-identity-access-management-efficient-troubleshoot-error/

๐—ฃ๐—ฎ๐—ฟ๐˜๐—ถ๐—ฎ๐—น ๐—ฏ๐—ฎ๐˜๐—ฐ๐—ต ๐—ฟ๐—ฒ๐˜€๐—ฝ๐—ผ๐—ป๐˜€๐—ฒ๐˜€ ๐—ฎ๐˜ ๐—”๐—ช๐—ฆ ๐—Ÿ๐—ฎ๐—บ๐—ฏ๐—ฑ๐—ฎ ๐—ณ๐—ผ๐—ฟ ๐—ฆ๐—ค๐—ฆ

The necessity to process all messages of a batch to not trigger a new invocation with all records is gone by marking certain messages as successfully processed.

https://aws.amazon.com/about-aws/whats-new/2021/11/aws-lambda-partial-batch-response-sqs-event-source/

๐—”๐—ช๐—ฆ ๐—Ÿ๐—ฎ๐—บ๐—ฏ๐—ฑ๐—ฎ ๐˜€๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜ ๐—ณ๐—ผ๐—ฟ ๐—˜๐˜ƒ๐—ฒ๐—ป๐˜ ๐—™๐—ถ๐—น๐˜๐—ฒ๐—ฟ๐—ถ๐—ป๐—ด ๐—ณ๐—ผ๐—ฟ ๐—ฆ๐—ค๐—ฆ, ๐——๐˜†๐—ป๐—ฎ๐—บ๐—ผ๐——๐—• & ๐—ž๐—ถ๐—ป๐—ฒ๐˜€๐—ถ๐˜€

You can now specify criteria that have to be met to trigger your Lambda functions for those named event sources.

https://aws.amazon.com/about-aws/whats-new/2021/11/aws-lambda-event-filtering-amazon-sqs-dynamodb-kinesis-sources/

๐——๐—ฒ๐˜๐—ฒ๐—ฐ๐˜๐—ถ๐—ป๐—ด ๐—›๐—ฎ๐—ฟ๐—ฑ๐—ฐ๐—ผ๐—ฑ๐—ฒ๐—ฑ ๐—ฆ๐—ฒ๐—ฐ๐—ฟ๐—ฒ๐˜๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—”๐—ช๐—ฆ ๐—–๐—ผ๐—ฑ๐—ฒ๐—š๐˜‚๐—ฟ๐˜‚

Besides scanning for potential defects in your Java or Python code, CodeGuru now helps you to detect accidentally committed secrets like SSH keys or access tokens.

https://aws.amazon.com/blogs/aws/codeguru-reviewer-secrets-detector-identify-hardcoded-secrets/

๐—–๐—น๐—ผ๐˜‚๐—ฑ๐—ช๐—ฎ๐˜๐—ฐ๐—ต ๐—˜๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ป๐˜๐—น๐˜†: ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—บ๐—ฒ๐—ป๐˜๐˜€ & ๐—™๐—ฒ๐—ฎ๐˜๐˜‚๐—ฟ๐—ฒ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜

Easily launch features darkly or do A/B testing without the need for a 3rd party tool.

https://aws.amazon.com/blogs/aws/cloudwatch-evidently/

๐—ฅ๐—ฒ๐—ฎ๐—น-๐—จ๐˜€๐—ฒ๐—ฟ ๐— ๐—ผ๐—ป๐—ถ๐˜๐—ผ๐—ฟ๐—ถ๐—ป๐—ด ๐˜„๐—ถ๐˜๐—ต ๐—–๐—น๐—ผ๐˜‚๐—ฑ๐—ช๐—ฎ๐˜๐—ฐ๐—ต

Gather metrics by adding a small piece of JavaScript to your pages to gain insights into user and application behavior.

https://aws.amazon.com/blogs/aws/cloudwatch-rum/

๐—”๐—ช๐—ฆ ๐—ช๐—ฒ๐—น๐—น-๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐—ฒ๐—ฑ ๐—–๐˜‚๐˜€๐˜๐—ผ๐—บ ๐—Ÿ๐—ฒ๐—ป๐˜€๐—ฒ๐˜€

We know the Well-Architected Lenses for Serverless or SaaS, but now youโ€™re also able to define your own custom lens, with all your best practices based on your industry, plans & processes

https://aws.amazon.com/blogs/aws/well-architected-custom-lenses-internal-best-practices/

๐—ฆ๐Ÿฏ ๐—˜๐˜ƒ๐—ฒ๐—ป๐˜ ๐—ก๐—ผ๐˜๐—ถ๐—ณ๐—ถ๐—ฐ๐—ฎ๐˜๐—ถ๐—ผ๐—ป๐˜€ ๐˜„๐—ถ๐˜๐—ต ๐—˜๐˜ƒ๐—ฒ๐—ป๐˜๐—•๐—ฟ๐—ถ๐—ฑ๐—ด๐—ฒ

You can now deliver notifications directly to EventBridge and benefit from additional enhancements like advanced filtering or the selection of multiple destinations.

https://aws.amazon.com/blogs/aws/new-use-amazon-s3-event-notifications-with-amazon-eventbridge/

๐—”๐—บ๐—ฎ๐˜‡๐—ผ๐—ป ๐—˜๐— ๐—ฅ ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ๐—น๐—ฒ๐˜€๐˜€ ๐—ป๐—ผ๐˜„ ๐—ถ๐—ป ๐—ฃ๐—ฟ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„

Run petabyte-scale data analytics on AWS, but serverless. Thereโ€™s no need to configure, optimize, or secure clusters.

https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-emr-serverless-preview/

๐—”๐—ช๐—ฆ ๐—•๐—ฎ๐—ฐ๐—ธ๐˜‚๐—ฝ ๐—ฆ๐˜‚๐—ฝ๐—ฝ๐—ผ๐—ฟ๐˜ ๐—ณ๐—ผ๐—ฟ ๐—”๐—บ๐—ฎ๐˜‡๐—ผ๐—ป ๐—ฆ๐Ÿฏ ๐—ถ๐—ป ๐—ฃ๐—ฟ๐—ฒ๐˜ƒ๐—ถ๐—ฒ๐˜„

The fully-managed backup service now also covers S3. Define your backup policies in a single place & easily perform point-in-time restores for your data.

https://aws.amazon.com/blogs/aws/preview-aws-backup-adds-support-for-amazon-s3/

๐—œ๐—ป๐—ณ๐—ฟ๐—ฒ๐—พ๐˜‚๐—ฒ๐—ป๐˜๐—น๐˜†-๐—”๐—ฐ๐—ฒ๐˜€๐˜€ ๐——๐˜†๐—ป๐—ฎ๐—บ๐—ผ๐——๐—• ๐—ง๐—ฎ๐—ฏ๐—น๐—ฒ ๐—–๐—น๐—ฎ๐˜€๐˜€

Save up to 60% of storage costs for infrequently accessed data.
Same performance guaranteed, but higher costs for reads & writes.

https://aws.amazon.com/blogs/aws/new-dynamodb-table-class-save-up-to-60-in-your-dynamodb-costs/

๐—ž๐—ถ๐—ป๐—ฒ๐˜€๐—ถ๐˜€ ๐——๐—ฎ๐˜๐—ฎ ๐—ฆ๐˜๐—ฟ๐—ฒ๐—ฎ๐—บ๐˜€ ๐—ข๐—ป-๐——๐—ฒ๐—บ๐—ฎ๐—ป๐—ฑ

Kinesis’ new mode eliminates the need for provisioning and managing the capacity for streaming data.
It will automatically scale in response to varying data traffic.

https://aws.amazon.com/blogs/aws/amazon-kinesis-data-streams-on-demand-stream-data-at-scale-without-managing-capacity/

๐—–๐—น๐—ผ๐˜‚๐—ฑ ๐——๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—บ๐—ฒ๐—ป๐˜ ๐—ž๐—ถ๐˜ (๐—”๐—ช๐—ฆ ๐—–๐——๐—ž) ๐˜ƒ๐Ÿฎ

The second major version of the famous infrastructure as code library is now generally available for JavaScript, TypeScript, Java, Python, .NET and Go.

https://aws.amazon.com/about-aws/whats-new/2021/12/aws-cloud-development-kit-cdk-generally-available/

๐—˜๐—ป๐—ต๐—ฎ๐—ป๐—ฐ๐—ฒ๐—ฑ ๐——๐—ฒ๐—ฎ๐—ฑ-๐—น๐—ฒ๐˜๐˜๐—ฒ๐—ฟ ๐—ค๐˜‚๐—ฒ๐˜‚๐—ฒ ๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ ๐—˜๐˜…๐—ฝ๐—ฒ๐—ฟ๐—ถ๐—ฒ๐—ป๐—ฐ๐—ฒ ๐—ณ๐—ผ๐—ฟ ๐—ฆ๐—ค๐—ฆ ๐—ฆ๐˜๐—ฎ๐—ป๐—ฑ๐—ฎ๐—ฟ๐—ฑ ๐—ค๐˜‚๐—ฒ๐˜‚๐—ฒ๐˜€

You can now easily redrive unconsumed messages from your dead letter queue to the source queue for reprocessing

https://aws.amazon.com/blogs/aws/enhanced-dlq-management-sqs/

๐—ฆ๐Ÿฏ ๐—š๐—น๐—ฎ๐—ฐ๐—ถ๐—ฒ๐—ฟ ๐—œ๐—ป๐˜€๐˜๐—ฎ๐—ป๐˜ ๐—ฅ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น ๐—ฆ๐˜๐—ผ๐—ฟ๐—ฎ๐—ด๐—ฒ ๐—–๐—น๐—ฎ๐˜€๐˜€

A new storage class at S3 for data that is rarely accessed, but still requires millisecond retrievals
Up to 68% costs reduction for storage compared to S3 Infrequent Access

https://aws.amazon.com/blogs/aws/amazon-s3-glacier-is-the-best-place-to-archive-your-data-introducing-the-s3-glacier-instant-retrieval-storage-class/

๐—ช๐—ฒ๐—น๐—น-๐—”๐—ฟ๐—ฐ๐—ต๐—ถ๐˜๐—ฒ๐—ฐ๐˜๐—ฒ๐—ฑ ๐—ฆ๐˜‚๐˜€๐˜๐—ฎ๐—ถ๐—ป๐—ฎ๐—ฏ๐—ถ๐—น๐—ถ๐˜๐˜† ๐—ฃ๐—ถ๐—น๐—น๐—ฎ๐—ฟ

With its new pillar, your organization can learn, measure & improve workloads using environmental best practices to increase efficiency & lower energy consumption.

https://aws.amazon.com/blogs/aws/sustainability-pillar-well-architected-framework/

๐—Ÿ๐—ผ๐—ฐ๐—ฎ๐—น ๐—ญ๐—ผ๐—ป๐—ฒ ๐—˜๐˜…๐—ฝ๐—ฎ๐—ป๐˜€๐—ถ๐—ผ๐—ป๐˜€

There will be launches of over 30 new AWS Local Zones in more than 21 countries, which will be made available beginning in 2022.

https://aws.amazon.com/about-aws/global-infrastructure/localzones/locations/


Further reading:

AWS updates for serverless builders in 2021

[Infographics] Securing serverless architectures

How to measure and improve your serverless architecture’s health?

Read our blog

5 Common Amazon SQS Issues

As with all services on AWS, issues can crop up while using SQS because itโ€™s not always obvious what every service can and cannot do. But fear not, for this article aims to help you solve the most common ones as quickly as possible. Ready to fix your queues? Then letโ€™s dive in!

5 Common Step Function Issues

Here you will find the most common issues when working with Step Functions, especially when starting with the service.

6 Common DynamoDB Issues

Itโ€™s expected that developers face many of the same issues when starting their NoSQL journey with DynamoDB. This article might clear things up a bit.

Made by developers for developers

Dashbird was born out of our own need for an enhanced serverless debugging and monitoring tool, and we take pride in being developers.

What our customers say

Dashbird gives us a simple and easy to use tool to have peace of mind and know that all of our Serverless functions are running correctly. We are instantly aware now if thereโ€™s a problem. We love the fact that we have enough information in the Slack notification itself to take appropriate action immediately and know exactly where the issue occurred.

Thanks to Dashbird the time to discover the occurrence of an issue reduced from 2-4 hours to a matter of seconds or minutes. It also means that hundreds of dollars are saved every month.

Great onboarding: it takes just a couple of minutes to connect an AWS account to an organization in Dashbird. The UI is clean and gives a good overview of what is happening with the Lambdas and API Gateways in the account.

I mean, it is just extremely time-saving. Itโ€™s so efficient! I donโ€™t think itโ€™s an exaggeration or dramatic to say that Dashbird has been a lifesaver for us.

Dashbird provides an easier interface to monitor and debug problems with our Lambdas. Relevant logs are simple to find and view. Dashbirdโ€™s support has been good, and they take product suggestions with grace.

Great UI. Easy to navigate through CloudWatch logs. Simple setup.

Dashbird helped us refine the size of our Lambdas, resulting in significantly reduced costs. We have Dashbird alert us in seconds via email when any of our functions behaves abnormally. Their app immediately makes the cause and severity of errors obvious.