Andrea Amorosi's Avatar

Andrea Amorosi

@dreamorosi.bsky.social

Seรฑor Solutions Architect @awscloud โ€ข Cloud Engineer โ€ข Powertools for AWS Product โ€ข Opinions = mine only. ๐Ÿ•๐Ÿ‘พ ๐Ÿ›น

558 Followers  |  48 Following  |  42 Posts  |  Joined: 18.07.2023  |  1.9701

Latest posts by dreamorosi.bsky.social on Bluesky

Would be curious to hear why Hono

11.10.2025 14:03 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Issue #37 of the Serverless Advocate Newsletter is now out! ๐Ÿ‘‡๐Ÿฝ

This week, our serverless expert is AWS Community Builder Matthew Wilson, and our spotlight falls on Senior Solutions Architect, Powertools for AWS, Andrea Amorosi! ๐Ÿ”ฅ

serverlessadvocate.substack.com/p/37-model-d...

#serverless #AWS

17.05.2025 10:47 โ€” ๐Ÿ‘ 4    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

OMG thank you for the spotlight and callout Lee!

17.05.2025 13:16 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Release v2.19.0 ยท aws-powertools/powertools-lambda-typescript Summary We are excited to announce a new integration for Event Handler to work with AWS AppSync Events APIs. This utility provides a structured way to handle AppSync real-time events through dedica...

The new Powertools for AWS AppSync Events resolver is available today for TypeScript/Node.js, Python, and .NET

github.com/aws-powertoo...

#aws #lambda #appsync

24.04.2025 21:53 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

The new resolver works with both publish and subscribe events, and by default calls your handler once for each message. For when you want to have more control, you can also tell the resolver to give you the entire list of events. This is useful when you need fine grained control.

24.04.2025 21:52 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
A code snippet showing TypeScript code for the new Powertools for AWS Lambda release in conjunction with AWS AppSync Events.

A code snippet showing TypeScript code for the new Powertools for AWS Lambda release in conjunction with AWS AppSync Events.

With this new resolver you can easily define handlers for namespaces and channel patterns. We'll take care of routing to the most specific handler, transforming the payloads to/from AppSync Events format, so that you can focus on the implementation for your application.

24.04.2025 21:52 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
A code snippet showing TypeScript code for the new Powertools for AWS Lambda release in conjunction with AWS AppSync Events.

A code snippet showing TypeScript code for the new Powertools for AWS Lambda release in conjunction with AWS AppSync Events.

AWS AppSync Events just added support for Lambda functions as data sources, meaning you can now filter, persist, and enrich events sent to namespaces. Excited to finally share that we're launching a new resolver to Powertools for AWS Lambda to help you write these functions!

๐Ÿงต

24.04.2025 21:51 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Video thumbnail

๐Ÿš€ Just launched: Unofficial Powertools MCP Search Server!

Let Claude search AWS Lambda Powertools docs for all runtimes. No more outdated info!

Learn more on GitHub: github.com/serverless-d...

#AWS #Serverless #MCP

22.04.2025 00:43 โ€” ๐Ÿ‘ 5    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Woah thatโ€™s super cool Michael!

22.04.2025 01:32 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thanks - Iโ€™ll get it fixed tomorrow!

11.03.2025 23:06 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Self-host Umami analytics with Traefik | andrebuilds.dev Learn how to self-host Umami analytics using Traefik as a reverse proxy on your VM.

Over the weekend I decided to add analytics to my personal website. My budget was $0 so I went for self-hosting Umami on a VM. It was a fun project and I got to learn about Traefik, a proxy that might replace nginx in my future projects. This is how I set it up.

andrebuilds.dev/blog/self-ho...

10.03.2025 15:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Yes, perhaps we should call this out in the docs - you're the second person to point it out already. We wanted to respect the original timestamp but when flushing they'll appear out of order now - thanks for the feedback though!

07.03.2025 16:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Would love to hear your feedback and experience with this new feature. ๐Ÿ’ฌ Also, If you have a specific use case or are interested in exploring how Logger Buffering can optimize your Serverless applications, we are more than happy to connect and dive deeper into your requirements. ๐ŸŽ‰

07.03.2025 15:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Logger - Powertools for AWS Lambda (TypeScript) Core utility

Check out the documentation for detailed implementation:
- TypeScript: docs.powertools.aws.dev/lambda/types... Python: docs.powertools.aws.dev/lambda/pytho...

07.03.2025 15:07 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This feature allows you to:
- Buffer logs at WARNING, INFO, and DEBUG levels (configurable)
- Control buffer size to manage memory usage
- Automatically flush logs on error or trigger manual flushing
- Optimize CloudWatch costs by reducing log message volume

07.03.2025 15:07 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Code snippet that shows how the new log buffering feature in Powertools for AWS Lambda works.

Code snippet that shows how the new log buffering feature in Powertools for AWS Lambda works.

I am excited to announce that you can now enable Logger Buffering in Powertools for AWS Lambda Python and TypeScript. This is useful when you want to reduce the number of log messages emitted while still having detailed logs when needed, such as when troubleshooting issues.

๐Ÿงต

07.03.2025 15:06 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 1
Preview
feat (provider/bedrock): add image generation support by dreamorosi ยท Pull Request #4953 ยท vercel/ai This PR adds support for image generation via the Amazon Nova Canvas. Support is added via the experimental generateImage feature and at this time it focus exclusively on the Amazon Nova Canvas mod...

Here's the PR, in case you want to ๐Ÿ‘ it: github.com/vercel/ai/pu...

20.02.2025 18:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Screenshot of a proposed feature in the Vercel AI SDK. The code shows how to generate images using the SDK integration with Amazon Bedrock, and specifically the Amazon Nova Canvas model.

Screenshot of a proposed feature in the Vercel AI SDK. The code shows how to generate images using the SDK integration with Amazon Bedrock, and specifically the Amazon Nova Canvas model.

The @vercel.com AI SDK is pretty cool. Was able to go from zero to pull request in no time, great abstractions!

I noticed it didn't have support for generating images with @awscloud.bsky.social newer Nova model, so I added it.

You can just do things.

20.02.2025 18:11 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

In Naples you gotta try โ€œpizza portafoglioโ€ which translates to โ€œpizza walletโ€. Itโ€™s basically a margarita pizza folded onto itself, and is considered a street food since itโ€™s smallish (about 12cm diameter) and you take away. Iโ€™d recommend this place โ€œAntica Pizzeria Port'Albaโ€ best of this kind imo

17.02.2025 09:41 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Wow this is extremely cool, architecture is clever. Looking forward to dive into the codebase and see how youโ€™re using DuckDB to query the data in Lambda + frontend. Iโ€™ve seen some samples but having a real application helps.

05.02.2025 19:44 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Happy new year David, looking forward to see/read what youโ€™re going to create in 2025! Also really liked the โ€œresisting the bokehโ€ section and its candor

08.01.2025 21:24 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Thatโ€™s fair - I like the copy of the new one better tho!

30.12.2024 14:00 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Older had more personality imo, Iโ€™m a big fan of the bold colors and neon graphics - new one is ok

30.12.2024 12:48 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Likewise Michael, meeting you again and introducing you the rest of the team was important to us. Also looking forward to collaborate more this next year!

11.12.2024 03:33 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Code example showing how to use module.registerHooks() in ESM

Code example showing how to use module.registerHooks() in ESM

Code example showing how to use module.registerHooks() in CJS

Code example showing how to use module.registerHooks() in CJS

Landed module.registerHooks() in Node.js โœจ

github.com/nodejs/node/...

These customization hooks are run for modules loaded by require(), import(), and functions returned by createRequire() in the same thread they are registered, which makes them easier for CJS monkey-patchers to migrate to.

10.12.2024 00:47 โ€” ๐Ÿ‘ 156    ๐Ÿ” 29    ๐Ÿ’ฌ 6    ๐Ÿ“Œ 6

Thanks for coming to see the session, and for the obvious inspiration on the topic!

04.12.2024 03:00 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Expo booth for AWS re:Invent

Expo booth for AWS re:Invent

I will be at the Modern Applications and Open Source Zone to talk about Powertools for AWS between 4 & 5pm. Come to say hi!

02.12.2024 23:05 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Donโ€™t miss this one!

29.11.2024 23:39 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Yes please, especially the business/product aspect more than the tech itself.

28.11.2024 13:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is such a good idea!

26.11.2024 06:49 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@dreamorosi is following 20 prominent accounts