Here are four ways you can implement WebSockets using serverless

The myth that “you can’t do WebSockets with serverless” still persists today, even though we have some very good ways to implement WebSockets without needing to manage any servers. Part of the problem is that many still falsely equate “serverless” with Lambda. But serverless is much more than that. To me, it describes any technology …

Here are four ways you can implement WebSockets using serverless Read More »

DynamoDB now supports resource-based policies. But is that a good idea?

DynamoDB announced support for resource-based policies [1] a few days ago. It makes cross-account access to DynamoDB tables easier. You no longer need to assume an IAM role in the target table’s account. I was confused by this update and wondered if it was even a good idea. If you need cross-account access to DynamoDB, …

DynamoDB now supports resource-based policies. But is that a good idea? Read More »

When to use Step Functions vs. doing it all in a Lambda function

I’m a big fan of AWS Step Functions. I use it to orchestrate all sorts of workflows, from payment processing to map-reduce jobs. Why it’s yet another AWS service you need to learn and pay for. And it introduces additional complexities, such as: It’s hard to test [1]. Your business logic is split between configuration …

When to use Step Functions vs. doing it all in a Lambda function Read More »

When to use API Gateway vs. Lambda Function URLs

“Lambdalith” is a monolithic approach to building serverless applications where a single Lambda function serves an entire API, instead of one function per endpoint. It’s an increasingly popular approach. It provides portability between Lambda functions and container applications. You can lift and shift an existing application into Lambda without rewriting it. You can use web …

When to use API Gateway vs. Lambda Function URLs Read More »

First impressions of the fastest JavaScript runtime for Lambda

I thought Lambda needed a specialised runtime. One that works well with its resource-constraint execution environment. I even floated a few ideas in the past but sadly I don’t have the chops to make them happen myself. So I was pleasantly surprised when AWS open-sourced the LLRT runtime for JavaScript [1]! What is LLRT? LLRT, or Low …

First impressions of the fastest JavaScript runtime for Lambda Read More »

First impressions of CloudFormation’s IaC generator and CDK migrate

CloudFormation recently announced the IaC generator [1]. It lets you: Scan your AWS account and catalogue manually recreated resources. Select manually created resources and capture them in a generated CloudFormation template. Concurrently, CDK announced [2] a new cdk migrate command. Which lets you generate a CDK application from CloudFormation. On paper, these sound amazing! It …

First impressions of CloudFormation’s IaC generator and CDK migrate Read More »

How would you reprocess Lambda dead-letter queue messages on demand?

Imagine this… You have followed AWS best practices and set up a dead-letter queue (DLQ) or an OnFailure destination for every async Lambda function. (sidebar: you should prefer Lambda Destination over DLQs, here’s why [1]) A message arrives in your DLQ. You are alerted right away because you have alarms on all of your DLQs. …

How would you reprocess Lambda dead-letter queue messages on demand? Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close