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

Jets

Category: Jets

All posts about Jets.

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 →
Introducing Serverless Gems header image

Introducing Serverless Gems

Tung Nguyen Tung Nguyen · January 07, 2021 · 2 min read
Originally called Lambda Gems, Serverless Gems has been rebuilt from the ground up. It provides better support for multiple versions of Ruby, notable Ruby 2.7. Jets v3 uses Serverless Gems for a developer-friendly experience.
Read more →
CloudWatch Log Tips: Jets AWS Introduction Series Part 5 header image

CloudWatch Log Tips: Jets AWS Introduction Series Part 5

Tung Nguyen Tung Nguyen · July 03, 2020 · 1 min read
In this video, we’ll go over some CloudWatch Log tips. These tips will be useful for someone new to CloudWatch logs and show you how to use CloudWatch logs effectively. The biggest tip here is to click on the “Search” button immediately after clicking on a Log Group. Don’t bother clicking on individual streams and trying to find the exact AWS Lambda function.
Read more →
CloudWatch Event Rules and AWS Lambda with Ruby on Jets header image

CloudWatch Event Rules and AWS Lambda with Ruby on Jets

Tung Nguyen Tung Nguyen · June 17, 2019 · 2 min read
In this video tutorial, we’ll cover CloudWatch Event Rules and how to connect them up to AWS Lambda Functions with Ruby on Jets. We’ll explain what CloudWatch Event Rules are. Then we’ll build a Jets project from scratch with the rule_event declaration. We’ll deploy the application and test the rule event. We’ll show you how simple it is to get started with Ruby on Jets and CloudWatch Event Rules.
Read more →
SNS Events and AWS Lambda with Ruby on Jets header image

SNS Events and AWS Lambda with Ruby on Jets

Tung Nguyen Tung Nguyen · February 27, 2019 · 1 min read
In this video tutorial, we’ll cover SNS Events and how to connect them up to AWS Lambda Functions with Ruby on Jets. We’ll explain what SNS Event are. Then we’ll build a Jets project from scratch with the sns_event declaration. We’ll deploy the application and test the SNS event. We’ll show you how simple it is to get started with Ruby on Jets and SNS Events.
Read more →
S3 Events and AWS Lambda with Ruby on Jets header image

S3 Events and AWS Lambda with Ruby on Jets

Tung Nguyen Tung Nguyen · February 22, 2019 · 2 min read
In this video tutorial, we’ll cover S3 Events and how to connect them up to AWS Lambda Functions with Ruby on Jets. We’ll explain what S3 Events are. We’ll discuss the design approach that Jets took by adding an SNS topic to the flow. Then we’ll build a Jets project from scratch with the s3_event declaration. We’ll deploy the application and test the s3 event. We’ll show you how simple it is to get started with Ruby on Jets and S3 Events.
Read more →
IoT Button Events and AWS Lambda with Ruby on Jets header image

IoT Button Events and AWS Lambda with Ruby on Jets

Tung Nguyen Tung Nguyen · February 20, 2019 · 2 min read
In this video tutorial, we’ll cover IoT Events and how to connect them up to AWS Lambda Functions with Ruby on Jets. We’ll explain what IoT Events are and then build a Jets project from scratch and add a Jets iot_event declaration. We’ll use a real physical AWS IoT Button and have the button send a text message to a phone. We’ll show you how simple it is to get started with Jets and IoT Event rules.
Read more →
Hello World Examples: Jets AWS Introduction Series Part 4 header image

Hello World Examples: Jets AWS Introduction Series Part 4

Tung Nguyen Tung Nguyen · February 11, 2019 · 1 min read
In this video, we’ll create several hello world examples with Jets code. We’ll create a simple function, controller function, and a job function. We’ll also walk through the Lambda console and test each one by invoking it. This post is a part of an introductory series for people who are new to AWS Lambda and Serverless.
Read more →
CloudWatch Event Rule: Jets AWS Introduction Series Part 3 header image

CloudWatch Event Rule: Jets AWS Introduction Series Part 3

Tung Nguyen Tung Nguyen · February 06, 2019 · 1 min read
In this video, we’ll walk through creating a CloudWatch Event Rule with the CloudWatch console. Simply getting familiar with the CloudWatch console is a really good way to learn how simple it is for those who are new to CloudWatch and are trying it out for the first time. We talk about how a Jets Job essentially creates the CloudWatch even rule for you. This post is a part of an introductory series for people who are new to CloudWatch, AWS Lambda, and Serverless.
Read more →
API Gateway: Jets AWS Introduction Series Part 2 header image

API Gateway: Jets AWS Introduction Series Part 2

Tung Nguyen Tung Nguyen · February 05, 2019 · 1 min read
In this video, we’ll walk through creating an API Gateway REST API from scratch manually. Just getting familiar with the API Gateway console is an excellent way to learn how simple it is for those who are new to API Gateway and trying it out for the first time. We talk a little bit about Jets and how config/routes.rb essentially maps to API Gateway resources, but the focus is really on API Gateway console. This simple exercise will help understand what Jets does for you. This post is a part of an introductory series for people who are new to API Gateway and Serverless.
Read more →
AWS Lambda Function: Jets AWS Introduction Series Part 1 header image

AWS Lambda Function: Jets AWS Introduction Series Part 1

Tung Nguyen Tung Nguyen · February 04, 2019 · 2 min read
In this video, we’ll walk through creating a Lambda Function with the Lambda console. Simply getting familiar with the AWS Lambda console is an excellent way to learn how simple AWS Lambda is for those who are new to AWS Lambda and trying it out for the first time. We do not talk much about Jets in this video, but this simple Lambda Console exercise will help understand what Jets does for you. This post is a part of an introductory series for people who are new to AWS Lambda and Serverless.
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 Image Upload Carrierwave Tutorial: Binary Support header image

Jets Image Upload Carrierwave Tutorial: Binary Support

Tung Nguyen Tung Nguyen · December 13, 2018 · 8 min read
Jets, a Ruby Serverless Framework, makes use of API Gateway Binary Support to make uploading images and files from AWS Lambda a straightforward task. We’ll cover how to upload images or any file with Jets and Carrierwave in this tutorial guide. Note, please use Jets v1.3.1 and above for this tutorial guide as the jets new generator was updated for it. Here’s the Live Demo of this tutorial. The full source code is on Github: tongueroo/jets-example-upload.
Read more →
Official AWS Ruby Support for Jets Serverless Framework header image

Official AWS Ruby Support for Jets Serverless Framework

Tung Nguyen Tung Nguyen · December 12, 2018 · 6 min read
Ever since AWS released official Ruby support for AWS Lambda on Nov 29 at re:Invent, I’ve been super excited about switching Jets over to the official AWS version of Ruby. Happy to say that Jets is now on the official AWS Ruby runtime. Knew it was going to be interesting to learn about AWS Lambda Custom Runtimes and Lambda Layers as part of this Jets update.
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 →
Jets Simple AWS Lambda Ruby Function header image

Jets Simple AWS Lambda Ruby Function

Tung Nguyen Tung Nguyen · October 26, 2018 · 2 min read
Jets supports writing simple AWS Lambda functions with Ruby. You define them in the app/functions folder. A function looks like this: app/functions/simple.rb: def lambda_handler(event:, context:) puts "hello world" end
Read more →
Jets Tutorial Different Environments Part 8: AWS Lambda Ruby header image

Jets Tutorial Different Environments Part 8: AWS Lambda Ruby

Tung Nguyen Tung Nguyen · September 26, 2018 · 2 min read
In this video, we continue the tutorials on the Jets Ruby Serverless Framework that adds Ruby support to AWS Lambda. We talk about the difference between Jets extra vs different environments. Different environments refer to development, staging, uat, production environments. Extra environments refer to instances of each of those environments. For example, development-1, development-2, development-3, etc.
Read more →
Toronto Serverless Presentation: Jets Framework on AWS Lambda header image

Toronto Serverless Presentation: Jets Framework on AWS Lambda

Tung Nguyen Tung Nguyen · September 25, 2018 · 2 min read
Here’s the presentation I gave at the Serverless Meetup in Toronto on Jets: A Ruby Serverless Framework. We discuss how Ruby support at native speed was achieved. We learned a bit about how AWS Lambda works under the hood to understand how it works. 2 demos with a Jets application are also provide. We deploy it to Lambda with a single command.
Read more →
Jets Tutorial An Introductory CRUD App Part 1: AWS Lambda Ruby header image

Jets Tutorial An Introductory CRUD App Part 1: AWS Lambda Ruby

Tung Nguyen Tung Nguyen · September 07, 2018 · 2 min read
In this video tutorial, we cover how get to started with the Jets Ruby Serverless Framework that adds Ruby support to AWS Lambda. We’ll build the quintessential CRUD application, and more we’ll importantly explore and edit it to understand how it works. Here’s the link to the Live CRUD Demo.
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.