eliasbrange.dev

#Serverless

Displaying posts 1-10 out of 19.
#All #Cloudflare #Edge #Serverless #Automation #AWS #Python #CI/CD #EDA #Momento

Test Event-Driven Architectures with EventBridge and AppSync Events

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.


Next-level mocks with Lambda extensions

2024-10-24
| #AWS #Serverless

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.


Deploy Hono Lambdalith APIs with Lambda Function URLs and CloudFront OAC

2024-05-23
| #AWS #Serverless

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.


An opinionated approach to building serverless APIs

2024-05-15
| #AWS #Serverless

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.


Build a Simple URL Shortener with CloudFront KeyValueStore

Learn how to use CloudFront functions and the newly released CloudFront KeyValueStore to build a simple and fully serverless URL shortener.


Consolidate your Lambda Logs in CloudWatch

2023-11-29
| #AWS #Serverless

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

2022-12-19
| #AWS #Serverless

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.