2 ms·
Lambda does have a ton of rough edges and documentation is one of them. But we spent the better of 4 weeks figuring all of this out and automating it. Once aut
by jmathai 10y ago
Lambda does have a ton of rough edges and documentation is one of them.
But we spent the better of 4 weeks figuring all of this out and automating it. Once automated it's pretty brilliant.
It's not just the automation of getting a lambda function and api gateway working together (though that's a royal pain). It's building the tools to develop and test locally (which we've also done).
The service we created to automate everything is called Joule (it's not ready for prime time but you can kick the tires here; https://joule.run https://joule.run - it supports node, python would be easy if we ever get around to it). Docs are here https://joule.run/docs/quickstart https://joule.run/docs/quickstart
Anyways, the point is that it's possible and pretty amazing once you start deploying microservices using Lambda.
DDNS using Lambda and Route53 and Joule - https://medium.com/@jmathai/create-a-serverless-dynamic-dns-system-with-aws-lambda-fab5d0d02297#.n292gtfon https://medium.com/@jmathai/create-a-serverless-dynamic-dns-...
Group Text Message Channel using Lambda and Twilio and Joule - https://medium.com/@jmathai/create-a-group-text-channel-in-under-a-minute-with-joule-using-twilio-and-aws-lambda-58a2d12450e8#.ostbr011a https://medium.com/@jmathai/create-a-group-text-channel-in-u...
Sources on Github for the above Joules
https://github.com/joulehq/joule-node-twilio-group-text https://github.com/joulehq/joule-node-twilio-group-text
https://github.com/jmathai/joule-node-dynamic-dns https://github.com/jmathai/joule-node-dynamic-dns
Edit: Here's a Joule that takes an area code, looks up the city name by parsing Google search results and using that to get a creative commons photo from 500px.
https://api.joule.run/jmathai/area-code-500px/lookup?number=408 https://api.joule.run/jmathai/area-code-500px/lookup?number=...
Source (ugly but functional) - https://github.com/jmathai/area-code-500px/blob/master/src/index.js https://github.com/jmathai/area-code-500px/blob/master/src/i...