Yan Cuiintheburningmonk.comHow to handle execution timeouts in AWS Step FunctionsStep Functions lets you set a timeout on Task states and the whole execution.4 min read·Apr 21, 2024----
Yan Cuiintheburningmonk.comHow to apply the TDD mindset to serverlessTesting is an integral part of software development. Your tests are a living documentation of your system. They inform others how to use…4 min read·Apr 9, 2024----
Yan Cuiintheburningmonk.comHere are four ways you can implement WebSockets using serverlessThe myth that “you can’t do WebSockets with serverless” still persists today, even though we have some very good ways to implement…6 min read·Apr 3, 2024--1--1
Yan Cuiintheburningmonk.comDynamoDB 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…5 min read·Mar 23, 2024--1--1
Yan Cuiintheburningmonk.comWhen to use Step Functions vs. doing it all in a Lambda functionI’m a big fan of AWS Step Functions. I use it to orchestrate all sorts of workflows, from payment processing to map-reduce jobs.6 min read·Mar 10, 2024----
Yan Cuiintheburningmonk.comWhen 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…5 min read·Mar 3, 2024----
Yan Cuiintheburningmonk.comFirst impressions of the fastest JavaScript runtime for LambdaI thought Lambda needed a specialised runtime. One that works well with its resource-constraint execution environment. I even floated a few…5 min read·Feb 27, 2024--1--1
Yan Cuiintheburningmonk.comWhat’s the best way to migrate Cognito users to a new user pool?I shared on Linkedin [1] the other day that you should avoid using Cognito subs as the user ID for your system. One of the reasons is that…4 min read·Feb 21, 2024----
Yan Cuiintheburningmonk.comHow to secure CI/CD roles without burning production to the groundBy now, most of us have moved away from using IAM users for CI/CD pipelines. Instead, we’d use dedicated CI/CD roles, one for each…6 min read·Feb 16, 2024----
Yan Cuiintheburningmonk.comFirst impressions of CloudFormation IaC generator and CDK migrate commandCloudFormation recently announced the IaC generator [1]. It lets you:4 min read·Feb 9, 2024----