Hey all, trying to gauge interest here. How many of you would be interested in a codesandbox-like website for Serverless development? I know that I've put a lot of time and effort into learning the serverless ecosystem, and I feel like something like

Just trying to see if anyone else would be interested. In the same way that codesandbox can make it easier to get started and collaborate with teams, I imagine a sandbox for serverless development would be equally helpful. It can be hard to get started with all the configuration files and IAM permissions when you’re new to the AWS ecosystem (not that all serverless is AWS, but a good portion of it is). There are also just a ton of complex services, like API Gateway, RDS proxy, Batch, and Kinesis, Appsync, AWS Organizations, X Ray, etc. that could be a bit easier to work with.

All code would be exportable and would sync up with github just like codesandbox.

Thoughts?

Edit: Some template ideas:

  • Serverless API: API Gateway, Lambda, Dynamodb with optional X Ray
  • Serverless API Gateway with RDS Proxy: The same as above but with RDS Proxy instead of Dynamodb
  • Serverless ETL: SQS → Lambda → Dynamodb with Reddis for Deduplication & a dead letter queue
  • Serverless order processing with a manual verification step: Step function, Lambdas, Dynamodb

I’m realizing that’s pretty similar to what serverless.com is doing with their app. Not that that’s a bad thing.

How would a code sandbox make it easier to work with the aws services you listed? I don’t have any experience with code sandbox.

Some utility would come from templates that allow you to set things up like say an API using API Gateway/Lambda/Dynamodb written in Typescript, possibly with X Ray already in place. Potentially adding cors, domains, authentication/authorization, etc. could be a click of a button and would generate your infrastructure as code (Terraform, CDK, CloudFormation/Serverless), which would be right along side your code-editor.

AWS doesn’t really have tools to generate code like that, at least as far as I’m aware. It does allow you to edit infrastructure, but considering that this interface would be tailored to serverless development I think it could provide a better user experience.

edit: One of the things that makes Codesandbox nice is the templates. They give you a base, boilerplate working example which saves a lot of time digging through “getting started” docs.

You can already do that from the console. You configure everything from the Lambda console and export your SAM template.

Besides that, the SAM framework makes all of this really easy.