Consolidate your Lambda Logs in CloudWatch
Learn how to use the newly released advanced logging controls to consolidate your Lambda logs into a single log group. This overcomes one of the most painful aspects of CloudWatch Logs Insights: combing through hundreds of Log groups.
Test Event-Driven Architectures with AWS EventBridge and Momento Topics
Testing Serverless applications end-to-end is difficult. Testing distributed systems is difficult. But with the right tools, it can be made easier. Learn how to use Momento Topics to test that your application(s) produces the EventBridge events you expect.
Implementing the Transactional Outbox Pattern for Serverless Domain Events
Learn how to reliably publish domain events in Serverless applications using the Transactional Outbox Pattern. Get the reliability your events deserve with DynamoDB Streams and Transactions while keeping your domain layer clean and complexity low.
Level up your Lambda Game with Canary Deployments
Do you often hear people advocating "testing in production" and wonder how that is possible? One piece of the puzzle is canary deployments. This SST-focused tutorial will teach you how to implement canary deployments using AWS CodeDeploy and Lambda aliases.
Debug item-level modifications in DynamoDB with EventBridge Pipes and CloudWatch
Debugging applications that write to DynamoDB just got a lot easier. Learn how to use the newly released EventBridge pipes to log all item-level modifications in a DynamoDB table to a CloudWatch log group, for debugging or audit purposes.
Migrate DynamoDB tables with zero downtime and no data loss
Learn how to migrate DynamoDB tables with zero downtime and no data loss. AWS recently released new functionality to ease migrations with native imports from S3. There are a lot of guides on how to do this with ClickOps. But, I prefer to use an Infrastructure-as-Code tool such as AWS CDK to manage my resources. While digging around, I found yet-to-be-announced functionality in CloudFormation to do this.
How To Separate Your Serverless Infrastructure
Continuously adding services and resources without thinking about separation can lead to a tangled web of Lambda functions, DynamoDB tables, API Gateways, SQS Queues, and other services. Learn how to separate your serverless infrastructure into more manageable chunks, using CloudFormation Outputs and SSM parameters. See examples for AWS CDK, AWS SAM, Serverless Framework, and Terraform.
Automatically generate grocery list with Trello and AWS Lambda
I use Trello for all kinds of personal stuff, one of which is keeping track of recipes and grocery lists. After planning which meals to cook and buy groceries for, a lot of manual work goes into checking every recipe and adding the ingredients to the grocery shopping list. Manual stuff is tedious, so I automated it with AWS Lambda. Read on to find out how!
Secure AWS deploys from GitHub Actions with OIDC
Long gone are the days when you had to keep long-lived access keys in your CI/CD pipelines to deploy to AWS. Learn how to use GitHub Actions and OIDC to securely deploy to AWS
Observability Best Practices when running FastAPI in a Lambda
Serverless makes it incredibly easy to get an API up and running in record time. But how do you achieve a high level of observability in a distributed architecture? In this post, we will be looking at instrumenting logging, metrics, and tracing capabilities for a FastAPI application using AWS Lambda Powertools for Python.