Serverless Functions Post-Mortem

sizeoftheuniverse@programming.dev to Programming@programming.dev – 63 points –
matduggan.com
24

You are viewing a single comment

It's mind boggling that having an easy to use local environment wasn't the first thing cloud providers did

Not mine boggling imo when you think of it from the angle of "then they'll have to spend more money!"

Otoh I had an argument with an AWS rep who just didn't understand why I wanted an isolated local dev environment.

As someone who's worked a lot with Azure Functions, the experience for me in Visual Studio has always been:

  • Create C# function app
  • Write the code
  • Hit F5

The Functions runtime can be ran locally as a standalone as well, and I was able to get Rust function apps working locally using a custom handler. There's also a vscode plugin to run them.

Things might be different for Lambdas/GCP's Functions?

I'm thinking more about being able to run your entire environment locally. We use GCP and we have a combination of appengine, cloud run and cloud functions tied together with api requests and pubsub. The cloud functions are the main bit missing from our local environment as we've not been able to spend the time to set it up yet.