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?