Streaming AI Responses on AWS LambdaWhile building Creditaki, an AI-powered credit assistant, I had two non-negotiable requirements: a fully serverless architecture and real-time streaming for the best user experience. Users expect AI responses to appear token by token, like ChatGPT. B...Sep 19, 2025 · 5 min readblog.stefanolaru.com
Debugging AWS SES templatesAWS SES is extremely powerful but it's likely surpassed only by AWS Cognito in terms of opacity and debugging difficulty. It usually works, but when it doesn't, it's a time-sink. I've been working on migrating a client's on-premise shopping cart solu...Feb 23, 2024 · 3 min readblog.stefanolaru.com
Exporting RDS Snapshots to Athena using Step FunctionsA recent challenge I had on a project was enabling access to a production MySQL database on Amazon RDS, mostly for data analytics purposes. The requirement was to run ad-hoc SQL queries for periodic analytics reports and extract data to populate some...Nov 14, 2023 · 7 min readblog.stefanolaru.com
Run Lambda functions with fixed IPA Lambda function runs in its own container and when invoked, the external requests to 3rd-party services will appear as coming from various IP addresses. This becomes a problem when our Lambda function needs to communicate with IP-restricted access ...Mar 28, 2023 · 9 min readblog.stefanolaru.com
Scalable webhook listeners in AWSTraditionally, when we think about loose coupling and serverless in AWS, it's an API Gateway endpoint triggering a Lambda function that sends messages into SQS. But API Gateway directly integrates with a handful of other AWS APIs, and SQS is one of t...1AMar 8, 2023 · 5 min readblog.stefanolaru.com