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
Streaming Lambda responses with API Gateway and Serverless Framework
Streaming support for Lambda Lambda response streaming has been available since 2023, but the main way of supporting it was with Lambda Function URLs which aren't perfect, especially if everything...
read articleGoodbye unnecessary extra attributes: DynamoDB GSIs now support multi-attribute keys
No more extra GSI attributes Recently, AWS announced support for multi-attribute composite keys on DynamoDB Global Secondary Indexes. It's not the most grounbreaking of the releases, but its...
read articleCleaning up our S3 buckets for fun and profit
What you see is not all that you're paying for AWS S3 has at least two cases where it's hard to notice the "objects" for which you're still paying. Let's take a quick look at them! Abandoned...
read articleNew AWS Free Tier setup, finally a way to learn, without worrying about breaking the bank by accident
A long-standing issue with the old Free Tier Recently, AWS released a new, revamped Free Tier model, and it's actually a really nice change for anyone just starting out with AWS. I probably shouldn't...
read articleA few gotchas when running Debezium on MSK Connect
Introduction A while ago, my team replaced our previous data pipeline with a CDC setup based on Amazon MSK Connect running the Debezium connector for PostgreSQL, streaming changes from our RDS...
read articleTIL: Setting multi-line secrets in AWS Secrets Manager
How the AWS Console can quietly mess up formatting of your values Recently I had to store a PGP private key inside a JSON secret in AWS Secrets Manager, as one of the key/value pairs. Sounds pretty...
read articleWait, you can invoke Lambda from a SQL query in RDS PostgreSQL?
Introduction A while ago, when I was exploring various CDC options for our RDS PostgreSQL database, I came across a very surprising capability. Turns out, you can invoke an AWS Lambda function...
read articleStop letting CloudFormation pick gp2 type for your EBS volumes
Old default that costs you money (and performance) In 2020, AWS launched a new, gp3 EBS volume type. It was marketed as a clear no-brainer switch - cheaper, better baseline performance than previous...
read articleTaming 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 article