Remote Ruby

Utilizing AWS Lambda and Rails to Build Applications with Ken Collins


Listen Later

On this episode of Remote Ruby, we have an awesome guest joining us. Today, we have Ken Collins, who’s a Principal Engineer and Cloud Architect at Custom Ink, an active member in the Ruby community for over fifteen years, a Microsoft open source contributor, PC Gamer, and an AWS Serverless Hero. We have so much to discuss today, as Ken fills us in on Lamby, Custom Ink, how Lambda evolved, a gem called Lambdakiq, and if you’re looking for cost optimization, why Lambda is the best compute service out there. We’ll also learn how CloudFormation can help developers, how CloudWatch Events is used, and we’ll hear about the different database options Amazon has such as Aurora Serverless, DynamoDB, and RDS. If you’ve never used Lambda, it’s a good time to try it out. Andrew realized he’s in the perfect place to try it since he recently built a proxy one. Download this episode to learn much more! 


[00:01:52] Ken tells us about himself and his background


[00:04:47] Custom Ink makes some great products, and we’ll learn how Lamby came to be, the stuff they build, the cool tech behind it, and the services, such as AWS Lambda.


[00:08:16] How did Lambda evolve?


[00:09:17] Ken details what the OCI format is, and how Lambda works compared to deploying to a traditional server. We hear about Lambda releasing Function URLs, a free API gateway, and what it does.


[00:12:16] We hear the whole process from end-to-end, starting from a web request, what happens, how it gets to Rails, Dynos are running, the database gets affected, and how those containers can be used for other things like an event driven architectures.


[00:16:03] Chris asks Ken how Kubernetes and Lambda compare. Also, we hear how background jobs and cron jobs fit in, and a gem that Ken wrote called, Lambdakiq.


[00:20:30] How does Ken manage connections being made and the events being sent to the right place? Also, Chris wonders if CloudFormation is something you should learn as one of the starting points or you should later for it to be more useful, and Ken tells us about the AWS Cloud Development Kit and what it does.


[00:24:10] Amazon has many different database options and Ken explains that you can use any database you want, wherever you want.


[00:25:39] Ken explains the differences between Aurora Serverless, DynamoDB, and RDS.  

 

[00:30:23] We’re going back to talking about Lambda now and Ken tells us about their website, a documentation website where they cover things, and a Quick Start Guide on how you can deploy a new Rails APP on Rails 3.2 to Lambda in 5 minutes.

[00:33:02] Chris mentions how Taylor Otwell modified Laravel to run on Lambda, and Vapor is their tool for deploying to Lambda.


[00:36:25] Are there any gotchas? Chris heard people were talking about Rails being slow to boot and issues with connecting to your Lambda to a VPC was slow. Ken tells us the VPC has been solved very well.


[00:39:31] Ken and Chris chat about the hardest things are learning and change management, like setting up CI for the first time can be challenging, Heroku is amazing but has its limits, and using CloudWatch Logs which is a change for people. Also, Ken shares a hotspot with Lambda, and he tells us about Lambda Punch and New Relic.

 

[00:42:47] Ken tells us to use CloudWatch Events for setting up Cronjobs that run on a schedule.


[00:44:51] Chris wonders if there are concerns or ways you have to change th

  • Chris Oliver X/Twitter
  • Andrew Mason X/Twitter
  • Jason Charnes X/Twitter


...more
View all episodesView all episodes
Download on the App Store

Remote RubyBy Chris Oliver, Andrew Mason

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

34 ratings


More shows like Remote Ruby

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

377 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

272 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

283 Listeners

The Ruby on Rails Podcast by Elise Shaffer

The Ruby on Rails Podcast

53 Listeners

The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

627 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

21 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

983 Listeners

REWORK by 37signals

REWORK

210 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

Code with Jason by Jason Swett

Code with Jason

14 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

64 Listeners

Code and the Coding Coders who Code it by Drew Bragg

Code and the Coding Coders who Code it

6 Listeners

IndieRails by Jess Brown & Jeremy Smith

IndieRails

5 Listeners

The Pragmatic Engineer by Gergely Orosz

The Pragmatic Engineer

52 Listeners