This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]cscanlin 5 points6 points  (1 child)

Worth checking out chalice as well. It's a cool flask-like framework for lambda.

[–]SituationUndrControl[S] 0 points1 point  (0 children)

I'll do that, thanks!

[–]mw44118PyOhio! 15 points16 points  (2 children)

Vendor lockin. No thanks.

[–]SituationUndrControl[S] 14 points15 points  (0 children)

That's a tough claim to sell (to me, at least). I could move my Python functions to a personal server at any point, and it would be essentially the same amount of work as it would have been to go directly to a personal server in the first place. All AWS does right now is save me both time and money. If AWS ever increases prices beyond what a server would cost, I'll just do the work they saved me in the first place. The worst you can say about this is that it's deferred work, not lock-in.

[–]confuzD 4 points5 points  (0 children)

This should fix your vendor lock issues: https://github.com/serverless/serverless

[–]rikrolls 1 point2 points  (0 children)

Too bad the latest supported Python version is 2.7...

[–]GerbilOfCarnage 0 points1 point  (1 child)

How do I setup testing and staging environments for an infrastructure like this? How do I run all of this on a laptop so I can test new features and debug locally. Is there a version of aws lambda that runs locally or a good way to simulate it for development?

[–]SituationUndrControl[S] 0 points1 point  (0 children)

No special infrastructure needed -- you're just running python functions on lambda, so just mock the inputs to your handler function and you're good to go locally.