Piotr Grzesik's personal blog
Hello there, my name is Piotr and for the past few years I've been working as a Software Engineer and Engineering Manager.
On this blog, I plan to share insights, tutorials, and examples, focusing on topics like serverless architecture, infrastructure as code, and cloud computing. Most of it will probably revolve around AWS ecosystem, but I also plan to learn a little bit more about solutions offered by other cloud providers.
Recent Posts
Taming wild LLaMas with Amazon Bedrock Guardrails
Introduction Large Language Models (LLMs) are incredibly powerful, but still, to this day, they can also be unpredictable and generate responses including inaccurate or even harmful content. This...
read articleTIL: Returning 0 instead of null in Prometheus
Annoying No data on my Grafana charts Another short entry, but I found it to be a nice quality of life improvement for when I'm writing PromQL queries for Grafana Dashboards. When you're writing a...
read articleIntroduction to DSPy with Amazon Bedrock
Introduction Earlier this week I had a chance to present this topic at a Silesia AI meetup and I figured it's a great opportunity to turn this topic into a blog post as well. So let's get started! You...
read articleDeployment of Go services to AWS Lambda made easy with `serverless-go-plugin`
Introduction Recently, I started writing a few toy projects with Go and I've realised that Serverless Framework does not offer great support for Go-based services out of the box. I started looking...
read articleTIL: ElastiCache for Redis failover quota
ElastiCache for Redis quota that I did not expect Today's entry will be very short, but I decided to share it on a blog as I did not find any other information about it online. Recently, I've been...
read articleTIL: Debugging Python segfaults with faulthandler
Introduction Recently, I encountered regular segfaults in one of the Python applications I was working on. During my investigation, I discovered a simple yet remarkable utility called faulthandler,...
read articleAutomatic detection of recursive loops with AWS Lambda
Introduction You probably saw a lot of horror stories involving a Lambda function going crazy and racking up a giant AWS bill. When I was just starting out, I remember being afraid to make such a...
read articleDeploying FastAPI app to AWS Lambda with Serverless Framework
Introduction If you're like me, from time to time you want to just create a simple API and quickly share it with others. FastAPI is a modern, Python-based web framework that allows to build such APIs...
read articleTIL: How to call IAM-secured AWS Lambda Function URLs with cURL
Introduction In one of my recents posts, I shared how to create AWS Lambda Function URLs secured with AWS IAM. I also showed how we can then call these URLs from Python with proper AWS SigV4...
read articleSecuring your Lambda function URLs with AWS IAM
Introduction For a long time, the only way to expose your Lambda functions over HTTP was to use AWS API Gateway service. As of April, 2022 that is no longer the case, as AWS introduced a new feature...
read article