3 ms·
Tangentially related question. What deployment tools are people using to manage systems with many lambda functions? We use SWF to trigger over 50 separate lamb
by methurston 10y ago
Tangentially related question. What deployment tools are people using to manage systems with many lambda functions?
We use SWF to trigger over 50 separate lambda functions in processing. We've got some very nice internally developed tools to identify which functions are out of date and help with deployment. I'm just curious what else is available to handle DevOps tasks in a Serverless environment (i.e. deploying library updates, etc).
- news_to_me 10y agoI've only heard of Apex: https://github.com/apex/apex https://github.com/apex/apex
- ak217 10y agoI'm not aware of a publicly available tool that does this (without bringing in a big clumsy framework), but internally we just use a script that idempotently redeploys all the lambdas by calling update_function_code on them. It ingests package dependency changes by running "python setup.py install" and grabbing the resulting site-packages contents. This script can be subscribed to an SNS-SQS bus that listens to GitHub notifications for changes on a branch, etc. This will flush hot lambdas, so if you have a lot of traffic it can be a bit disruptive. I can imagine comparing deployment and commit timetamps make-style, or calling update_function_configuration(Description=...) to save and later compare version/commit metadata. AWS recently came out with https://github.com/awslabs/chalice https://github.com/awslabs/chalice, which is pretty sweet if you're using Python (although it doesn't seem to directly address the concern of deployment orchestration).
- methurston 10y agoI've looked at chalice very shortly, and it was really nice to easily set up an API Gateway -> Lambda connection, we haven't really looked at it for our non api-gateway uses.
- gbrits 10y agohttps://serverless.com/ https://serverless.com/