News for hackers. Stuff that matters.
Re:Going Serverless: AWS and Compelling Science Fiction by methurston on Friday November 11, 2016 @02:42PM (#12933663)
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).

Re:Going Serverless: AWS and Compelling Science Fiction by ak217 on Friday November 11, 2016 @02:53PM (#12933740)
I'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, which is pretty sweet if you're using Python (although it doesn't seem to directly address the concern of deployment orchestration).

Re:Going Serverless: AWS and Compelling Science Fiction by methurston on Friday November 11, 2016 @03:10PM (#12933876)
I'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.
Re:Going Serverless: AWS and Compelling Science Fiction by gbrits on Friday November 11, 2016 @03:17PM (#12933936)
Re:Going Serverless: AWS and Compelling Science Fiction by news_to_me on Friday November 11, 2016 @02:52PM (#12933727)
I've only heard of Apex: https://github.com/apex/apex