DEV Community

Discussion on: Developing against the Cloud

Collapse
jayair_20 profile image
Jay

I agree that solutions like Localstack, serverless offline, or serverless invoke local don't quite work. You want to be able to connect directly to whats been deployed to the cloud and not the mocked versions of them.

However, the serverless deploy function approach has a couple of problems. The feedback loop is too slow. And if you make changes to code that multiple functions rely on, you'll need to keep track of which of those need to be updated.

To solve this, we created SST (github.com/serverless-stack/server...). It deploys your infrastructure to the cloud and hot reloads your Lambda functions. So you don't need to deploy them individually and they load instantly. It also allows you to do things like set breakpoints in VS Code. Here's a video of it in action — youtube.com/watch?v=2w4A06IsBlU