Earlier quoted context omitted.
So how do you store your state? I assume DynamoDB part isn't serverless.
DynamoDB is very much serverless :) I'd highly recommend to anyone remotely interested in serverless and/or databases to read the Dynamo whitepaper to get an idea of how it works: https://www.allthingsdistributed.com/2007/10/amazons_dynamo....
DynamoDB is great, especially when it's used wisely.