4 ms·
This is awesome. If you're deploying stuff with Python on Lambda, I highly recommend checking out Chalice (https://github.com/awslabs/chalice https://github.com
by ak217 10y ago
This is awesome. If you're deploying stuff with Python on Lambda, I highly recommend checking out Chalice (https://github.com/awslabs/chalice https://github.com/awslabs/chalice) and also an extension to it that I wrote for using Lambdas on SNS/S3/Cloudwatch events or scheduled events - https://github.com/kislyuk/domovoi https://github.com/kislyuk/domovoi (which I now need to go update to support this as well).
- Mizza 10y agoZappa can do all of that and more out of the box: https://github.com/Miserlou/Zappa https://github.com/Miserlou/Zappa Comparison: https://blog.zappa.io/posts/comparison-zappa-verus-chalice https://blog.zappa.io/posts/comparison-zappa-verus-chalice It also lets you build fully-fledged event-driven apps with a single line of code: https://blog.zappa.io/posts/zappa-introduces-seamless-asynchronous-task-execution https://blog.zappa.io/posts/zappa-introduces-seamless-asynch...
- brian_herman 10y agoZappa is amazing I am currently using it to make an alexa app.
- revicon 10y agoAWS now has Sam which I hadn't heard of before. It's an extension of cloud formation specifically for deploying serverless code to lambda, building API gateways etc. Their command line tool is pretty slick, I'm wondering if these other third party frameworks are needed anymore.
- ak217 10y agoSAM solves a different set of problems from the frameworks like Chalice. It does not address the app request/response API, deployment package building process and dependency bundling, the test-development cycle, routing and other API Gateway configuration specifics. Also, Chalice is a first party framework in that it's led by an AWS affiliated developer.
- Slippery_John 10y agoNot just an affiliated developer, one of the developers of the python SDK. It's in an official aws repo too (awslabs).
- jamiesonbecker 10y agoChalice locks you into using AWS services - Zappa is cross-platform.[1] Also, lambda can get very, very expensive [2][3], just FYI. 1. https://blog.zappa.io/posts/comparison-zappa-verus-chalice https://blog.zappa.io/posts/comparison-zappa-verus-chalice 2. https://www.reddit.com/r/Python/comments/4hebys/cost_analysis_for_python_scripts_aws_ec2_vs_aws/ https://www.reddit.com/r/Python/comments/4hebys/cost_analysi... 3. https://news.ycombinator.com/item?id=14075634 https://news.ycombinator.com/item?id=14075634
- acdha 10y agoRe: #3 – that's a huge claim to toss around without showing the numbers you used including the full cost to manage your own VMs. Yes, Lambda can get more expensive but staff time is also significant and many tasks don't get enough volume to outweigh saving even a developer hour or two per month.