22 serverless updates from re:Invent 2021 you need to know
Taavi Rehemรคgi
Posted on December 20, 2021
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!
๐๐ฟ๐ฎ๐๐ถ๐๐ผ๐ป๐ฎ ๐ฆ๐๐ฝ๐ฝ๐ผ๐ฟ๐ ๐ณ๐ผ๐ฟ ๐๐ฎ๐ฟ๐ด๐ฎ๐๐ฒ
After being introduced for AWS Lambda, it's also now available for Fargate.\
You'll get ๐๐ฝ ๐๐ผ ๐ฐ๐ฌ% ๐ฏ๐ฒ๐๐๐ฒ๐ฟ ๐ฝ๐ฟ๐ถ๐ฐ๐ฒ-๐ฝ๐ฒ๐ฟ๐ณ๐ผ๐ฟ๐บ๐ฎ๐ป๐ฐ๐ฒ compared to x86 architecture.
๐๐ผ๐ป๐๐ผ๐น๐ฒ ๐ก๐ฎ๐๐ถ๐ด๐ฎ๐๐ถ๐ผ๐ป ๐๐ฎ๐ฟ ๐๐ป๐ต๐ฎ๐ป๐ฐ๐ฒ๐บ๐ฒ๐ป๐๐
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.
๐๐ฟ๐ผ๐๐-๐๐ฐ๐ฐ๐ผ๐๐ป๐ ๐๐๐ฅ ๐๐ฐ๐ฐ๐ฒ๐๐ ๐ณ๐ผ๐ฟ ๐๐ช๐ฆ ๐๐ฎ๐บ๐ฏ๐ฑ๐ฎ
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.
๐ฆ๐ค๐ฆ-๐บ๐ฎ๐ป๐ฎ๐ด๐ฒ๐ฑ ๐๐ฒ๐๐ ๐ณ๐ผ๐ฟ ๐ฆ๐ฒ๐ฟ๐๐ถ๐ฐ๐ฒ-๐ฆ๐ถ๐ฑ๐ฒ ๐๐ป๐ฐ๐ฟ๐๐ฝ๐๐ถ๐ผ๐ป
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)
๐ฃ๐ฎ๐ฟ๐๐ถ๐ฎ๐น ๐ฏ๐ฎ๐๐ฐ๐ต ๐ฟ๐ฒ๐๐ฝ๐ผ๐ป๐๐ฒ๐ ๐ฎ๐ ๐๐ช๐ฆ ๐๐ฎ๐บ๐ฏ๐ฑ๐ฎ ๐ณ๐ผ๐ฟ ๐ฆ๐ค๐ฆ
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.
๐๐ช๐ฆ ๐๐ฎ๐บ๐ฏ๐ฑ๐ฎ ๐๐๐ฝ๐ฝ๐ผ๐ฟ๐ ๐ณ๐ผ๐ฟ ๐๐๐ฒ๐ป๐ ๐๐ถ๐น๐๐ฒ๐ฟ๐ถ๐ป๐ด ๐ณ๐ผ๐ฟ ๐ฆ๐ค๐ฆ, ๐๐๐ป๐ฎ๐บ๐ผ๐๐ & ๐๐ถ๐ป๐ฒ๐๐ถ๐
You can now specify criteria that have to be met to trigger your Lambda functions for those named event 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.
๐๐น๐ผ๐๐ฑ ๐๐ฒ๐๐ฒ๐น๐ผ๐ฝ๐บ๐ฒ๐ป๐ ๐๐ถ๐ (๐๐ช๐ฆ ๐๐๐) ๐๐ฎ
The second major version of the famous infrastructure as code library is now generally available for JavaScript, TypeScript, Java, Python, .NET and Go.
๐๐ป๐ต๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐๐ฒ๐ฎ๐ฑ-๐น๐ฒ๐๐๐ฒ๐ฟ ๐ค๐๐ฒ๐๐ฒ ๐ ๐ฎ๐ป๐ฎ๐ด๐ฒ๐บ๐ฒ๐ป๐ ๐๐ ๐ฝ๐ฒ๐ฟ๐ถ๐ฒ๐ป๐ฐ๐ฒ ๐ณ๐ผ๐ฟ ๐ฆ๐ค๐ฆ ๐ฆ๐๐ฎ๐ป๐ฑ๐ฎ๐ฟ๐ฑ ๐ค๐๐ฒ๐๐ฒ๐
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
๐ช๐ฒ๐น๐น-๐๐ฟ๐ฐ๐ต๐ถ๐๐ฒ๐ฐ๐๐ฒ๐ฑ ๐ฆ๐๐๐๐ฎ๐ถ๐ป๐ฎ๐ฏ๐ถ๐น๐ถ๐๐ ๐ฃ๐ถ๐น๐น๐ฎ๐ฟ
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?
Posted on December 20, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.