
Supercharge your Serverless Workflow
Learn how to supercharge your Serverless Workflow with a fantastic Developer Experience and a rapid feedback loop. In this blog post, I share tools and techniques I use daily to develop serverless applications.
Driving Serverless adoption.
One
post at a time.
Follow me on LinkedIn for more content!
Learn how to supercharge your Serverless Workflow with a fantastic Developer Experience and a rapid feedback loop. In this blog post, I share tools and techniques I use daily to develop serverless applications.
After AWS introduced AppSync Events, I decided to revisit my old post on testing Event-Driven Architectures. This time, I use AppSync Events instead of Momento Topics to test my application end-to-end.
Learn how to easily mock external HTTP services in your Lambda functions using Stubr, a WireMock adaption in Rust, and Lambda extensions. Mocking allows team to build in isolation, reducing the need for coordination in shared non-production environments.
Learn how to use AWS CloudWatch Math Expressions to improve alarm accuracy when the metrics you track include missing data points. Missing data is common in metrics such as Lambda Errors or Lambda Invocations, and alarms on these metrics can behave weirdly at times. Never miss a beat again!
Learn how to build a Lambdalith API with Hono and deploy it with Lambda Function URLs and CloudFront, using OAC and bearer authentication to restrict access. Compared to REST API Gateway, you can save up to 66.7% of the cost.
There are countless ways to build serverless APIs. You can use single-purpose Lambda functions, monolithic Lambdaliths, or a mix of both. In this post, I share an opinionated and pragmatic approach that I've found to work well for me.
Learn how to use CloudFront functions and the newly released CloudFront KeyValueStore to build a simple and fully serverless URL shortener.
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.
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.
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.
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.
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.
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.
Have you ever had to deploy a page to your site in a time-sensitive manner when a new product has gone live? Learn how you can automate such releases with Cloudflare Workers. Workers let you transform incoming requests before they hit your application.
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.
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!
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
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.
In this article, you will learn how to build an asynchronous serverless task API from scratch on AWS using Lambda, DynamoDB, API Gateway, SQS, and SNS. The Lambda functions will be implemented in Python, and the REST API will use the FastAPI framework. The entire application will be deployed using AWS SAM.
I'm happy to announce that I just received an invite to join the AWS Community Builder community. I'm really looking forward to meet the community and deepening (and share) my knowledge around AWS and especially the Serverless parts, which is the group I will be part of.
In the previous part you learned how to deploy FastAPI on Lambda. This time we will use containers, but still in a serverless fashion. Read on to learn how to deploy a FastAPI application on AWS Fargate behind an Application Load Balancer using AWS CDK.
Ever wondered how easy it is to deploy FastAPI on AWS? In this post I will show you how to create a minimal API application, how to test it locally, and finally how to deploy it on AWS Lambda & AWS API Gateway using AWS SAM.
Whenever I start a new AWS SAM project I usually start from a previous project. To help my future self, and hopefully you, I have created a GitHub template repository to easily get started with a new project powered by AWS SAM and GitHub actions.
CodePipeline by AWS is a great tool for setting up Continuous Delivery (or Deployment). It can, as an example, be used to automatically deploy your CloudFormation stacks to different environments on every push to your VCS. Chaining multiple stacks in a CodePipeline stage is easy and allows you to have one central view where you can see the status of your current release as it progresses through different stages.