Serverless GraphQL API on Edge with Global DynamoDB Tables
Why? Mostly for fun. I don't see too many practical use cases for such setup. Lambda@Edges aren't suitable for a lot of cases due to limited memory and CPU, so they are slow. If you need a globally available website with dynamic content, you should consider going with JAMStack served via CloudFront, Vercel or Cloudflare.
npm run build
compile typescript to jsnpm run deploy
deploy this stack to your default AWS account/region1 MB
. Lambda@Edge is restricted to 128MB
of memory and 5000ms
of timeout for VIEWER_REQUEST
integration type.Looking for cool DynamoDB editor? Check out Dynobase