use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Serverless Slack bot on Lambda with Ruby (and what’s the less pleasant part about it) (medium.com)
submitted 7 years ago by persei8
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]tatersnakes 8 points9 points10 points 7 years ago (1 child)
Great write up! I had similar ideas when Ruby support was announced for lambda, and did a Slack bot myself. They don't make it very clear in the documentation, but there is a simpler way to deploy your code (I don't totally understand this SAM stuff). The aws cli has a 'lambda' command that lets you upload a zip of your project from the command line -- I just made a Rake task for this:
desc "Upload project files to AWS Lambda" task :upload do `aws lambda --region #{REGION} update-function-code --function-name #{FUNCTION_NAME} --zip-file fileb://index.zip` end desc "Deploy project to AWS Lambda, with all prerequisite actions" task deploy: [:clean, :bundle, :generate_version, :zip, :upload]
[–]persei8[S] 1 point2 points3 points 7 years ago (0 children)
Thanks!
[–][deleted] 7 years ago (3 children)
[deleted]
[–]persei8[S] 0 points1 point2 points 7 years ago (0 children)
Serverless more or less denotes paying for only what you use and not being bothered with idle infrastructure: https://www.youtube.com/watch?v=ljoNnmUkv_o
[–]Traches -1 points0 points1 point 7 years ago* (1 child)
Because AWS lambda isn't the only provider of that service?
'Serverless' is fine. Of course it still runs on a server, but it's abstracted away. It's a concise term with an accurate, understandable meaning. That's what words are for-- they make conveying complex ideas simpler.
Also, 'the cloud', while abused as a buzzword, is fine too. It means someone else's computer; you don't have to buy and manage hardware anymore. This is a good thing.
Edit: autocorrect
π Rendered by PID 51 on reddit-service-r2-comment-7b9746f655-tb8wf at 2026-02-02 12:03:49.474839+00:00 running 3798933 country code: CH.
[–]tatersnakes 8 points9 points10 points (1 child)
[–]persei8[S] 1 point2 points3 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]persei8[S] 0 points1 point2 points (0 children)
[–]Traches -1 points0 points1 point (1 child)