Would be curious to hear why Hono
Would be curious to hear why Hono
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
OMG thank you for the spotlight and callout Lee!
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
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.
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.
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!
🧵
🚀 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
Woah that’s super cool Michael!
Thanks - I’ll get it fixed tomorrow!
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...
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!
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. 🎉
Check out the documentation for detailed implementation:
- TypeScript: docs.powertools.aws.dev/lambda/types... Python: docs.powertools.aws.dev/lambda/pytho...
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
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.
🧵
Here's the PR, in case you want to 👍 it: github.com/vercel/ai/pu...
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.
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
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.
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
That’s fair - I like the copy of the new one better tho!
Older had more personality imo, I’m a big fan of the bold colors and neon graphics - new one is ok
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!
Code example showing how to use module.registerHooks() in ESM
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.
Thanks for coming to see the session, and for the obvious inspiration on the topic!
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!
Don’t miss this one!
Yes please, especially the business/product aspect more than the tech itself.
This is such a good idea!