Blossom Logo Deploy your apps with Heroku-like simplicity using Blossom See Your Savings
BoltOps Logo

Rails

Category: Rails

All posts about Rails.

Serverless Slack Commands with Ruby: Fun with AWS Image Recognition header image

Serverless Slack Commands with Ruby: Fun with AWS Image Recognition

Axel Molina Axel Molina · February 02, 2021 · 11 min read
This post will detail the steps to get a serverless slack command running on AWS Lambda using the Jets Serverless Ruby framework. We’ll make something fun: a command that takes in a URL, scrapes all the images on the page, filters the images using AWS image recognition, and posts the filtered images to the current slack channel. For example:
Read more →
Serverless Ruby Cron Jobs Tutorial: Route53 Backup header image

Serverless Ruby Cron Jobs Tutorial: Route53 Backup

Tung Nguyen Tung Nguyen · January 03, 2019 · 6 min read
A great use case for AWS Lambda is running Cron Jobs. Instead of setting up a special one-off Cron server to run a simple task, we can just run the task on serverless nowadays. In this blog post, we’ll go over how to build a simple Cron Job with Jets, the Ruby Serverless Framework. As a useful practical example, we’ll create a job that backs up route53 records. This is quite handy when if you ever need it!
Read more →
Introducing Lambda Gems: Hassle-Free Serverless Ruby header image

Introducing Lambda Gems: Hassle-Free Serverless Ruby

Tung Nguyen Tung Nguyen · January 01, 2019 · 5 min read
I created Jets, the Ruby Serverless Framework, over a year ago – way before AWS officially released Ruby Support for AWS Lambda. Although it would have been nice to have official Ruby support back then, it was all for the best because I was forced to learn a lot about AWS Lambda and Serverless in general – its strengths, weaknesses, and the challenges that one typically encounters.
Read more →
Jets Tutorial: jets delete header image

Jets Tutorial: jets delete

Tung Nguyen Tung Nguyen · November 12, 2018 · 2 min read
This video tutorial demos the jets delete command. Since all the infrastructure is codified, deleting a Jets application is a straightforward process. What’s more interesting is that it is also easy to recreate the entire environment. jets delete For more info on the jets delete command, refer to its CLI reference.
Read more →
Rails on AWS Lambda: jets import:rails --submodule header image

Rails on AWS Lambda: jets import:rails --submodule

Tung Nguyen Tung Nguyen · November 09, 2018 · 2 min read
Update 12/21/2018: An improved way to run Rails on AWS Lambda is now supported that is effortless. This blog post covers it: Jets Afterburner: Serverless Rails on AWS Lambda in 5 Minutes. It is also documented here: Jets Rails Support. It is recommended you use Jets Afterburner for simple cases. In the previous post: Jets Mega Mode: Run Rails on AWS Lambda, I covered how to get Rails running on AWS Lambda with Jets. In this video tutorial, I show you how to use the --submodule option for the same command we used to set things up previously: jets import:rails. Example: jets import:rails http://github.com/tongueroo/demo-rails.git --submodule Importing the Rails application as a submodule allows you to keep the Rails project in a separate repo. This allows you to manage the Rails project with a separate history and sync it with a Jets project when you want to. This is a useful setup if you are testing Jets Mega Mode Rails Support for an extended period of time.
Read more →
Jets Mega Mode: Run Rails on AWS Lambda header image

Jets Mega Mode: Run Rails on AWS Lambda

Tung Nguyen Tung Nguyen · November 03, 2018 · 10 min read
Update 12/21/2018: An improved way to run Rails on AWS Lambda is now supported that is effortless. This blog post covers it: Jets Afterburner: Serverless Rails on AWS Lambda in 5 Minutes. It is also documented here: Jets Rails Support. It is recommended you use Jets Afterburner for simple cases. Jets allows you to run Rails applications on AWS Lambda via Mega Mode. The name reminds me of a few things: Mega Monolith: Rails applications can sometimes become a Majestic Monolith. Or sometimes it just becomes a Monolith 😁 Power Rangers Mega Mode: The Power Rangers can combine their Zords. Mega Man: This superhero can change his arm to use different special weapons. One of the things that makes him Mega Man. Mega Mode combines a Jets app and a Rack app together to allow you to run Rails on AWS Lambda with little effort. The docs for Rails Support are on the Ruby On Jets site. Here’s a Live Mega Mode Demo. We’ll go through an example of Mega Mode and get a Rails application running on AWS Lambda in this post.
Read more →
Blossom Logo
Deploy Your Apps with Ease

Blossom lets you deploy to your own servers with Heroku-like simplicity. Connect any cloud provider and we'll handle the rest. Save time and money with Blossom.

BoltOps Blog
Join a group of good-looking folks who get free email updates from BoltOps.