SlideShare une entreprise Scribd logo
1  sur  49
Jets:
A Ruby Serverless Framework
on AWS Lambda
by Tung Nguyen
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Tung Nguyen
tung@boltops.com
linkedin.com/in/tongueroo
youtube.com/tongueroo
@tongueroo
sonic
swiss-army knife
jack
elastic beanstalk
ufo
ecs deployment
lono
cloudformation
framework
jets
ruby serverless
framework
Background
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Desire for Ruby
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Ruby on AWS Lambda
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Node Shim
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shim
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shim Issue
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda Cold Starts
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda Prewarm
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Lambda Prewarm
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda Execution Context
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Performance Comparison
Ruby: 164ms
Python: 178ms
Essentially the Same!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo Time: The Need for Speed
Jets
Ruby Serverless Framework
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why Again?
VS
YAML Code
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Web API Architecture
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Simple Function
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Controllers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Controllers
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Routes
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Routes
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Jobs
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Jobs
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Project Structure
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo Time: CRUD
Jets
Ruby Serverless Framework
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Web API Architecture Review
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Core Resource Model
=
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven Security: Auto-
Remediation
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven Security: Auto-
Remediation Code
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven Security: Auto-
Remediation Code
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven Security: Multiple Events
Supported
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Polymorphic Support
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Polymorphic Support: Python
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Polymorphic Support: Node
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Continuous Compliance: AWS Config
Rules
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Continuous Compliance: Config Rules
Code
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven Compliance: AWS Config
Rules
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven: Internet of Things
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven: Internet of Things Code
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Event Driven: Internet of Things Code
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
Jets Call
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
Jets Call
REPL Console
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
Jets Call
REPL Console
Database Support
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
Jets Call
REPL Console
Database Support
Function Properties
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
Jets Call
REPL Console
Database Support
Function Properties IAM Policies
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Jets Features
Prewarming
Local Server
Jets Call
REPL Console
Database Support
Function Properties IAM Policies
Polymorphic Support
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Working Examples
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thanks!
Tung Nguyen
tung@boltops.com
linkedin.com/in/tongueroo
youtube.com/tongueroo
@tongueroo
sonic
swiss-army knife
jack
elastic beanstalk
ufo
ecs deployment
lono
cloudformation
framework
jets
ruby serverless
framework

Contenu connexe

Tendances

Tendances (20)

はじめてのグラフデータベース 〜 Amazon Neptune と主なユースケース 〜
はじめてのグラフデータベース 〜 Amazon Neptune と主なユースケース 〜はじめてのグラフデータベース 〜 Amazon Neptune と主なユースケース 〜
はじめてのグラフデータベース 〜 Amazon Neptune と主なユースケース 〜
 
Failing Successfully in the Cloud: AWS Approach to Resilient Design (ARC335-R...
Failing Successfully in the Cloud: AWS Approach to Resilient Design (ARC335-R...Failing Successfully in the Cloud: AWS Approach to Resilient Design (ARC335-R...
Failing Successfully in the Cloud: AWS Approach to Resilient Design (ARC335-R...
 
Detect Anomalies Using Amazon SageMaker (AIM420) - AWS re:Invent 2018
Detect Anomalies Using Amazon SageMaker (AIM420) - AWS re:Invent 2018Detect Anomalies Using Amazon SageMaker (AIM420) - AWS re:Invent 2018
Detect Anomalies Using Amazon SageMaker (AIM420) - AWS re:Invent 2018
 
深入淺出學習雲端開發軟件 AWS Cloud9
深入淺出學習雲端開發軟件 AWS Cloud9深入淺出學習雲端開發軟件 AWS Cloud9
深入淺出學習雲端開發軟件 AWS Cloud9
 
Unifying Service Naming and Discovery Across Amazon EKS and ECS (CON403-R1) -...
Unifying Service Naming and Discovery Across Amazon EKS and ECS (CON403-R1) -...Unifying Service Naming and Discovery Across Amazon EKS and ECS (CON403-R1) -...
Unifying Service Naming and Discovery Across Amazon EKS and ECS (CON403-R1) -...
 
俺たちの AWS Loft Tokyo 実際に作ってみたらこうなった
俺たちの AWS Loft Tokyo実際に作ってみたらこうなった俺たちの AWS Loft Tokyo実際に作ってみたらこうなった
俺たちの AWS Loft Tokyo 実際に作ってみたらこうなった
 
AWSのIoTソリューション本番導入にむけた取り組み
AWSのIoTソリューション本番導入にむけた取り組みAWSのIoTソリューション本番導入にむけた取り組み
AWSのIoTソリューション本番導入にむけた取り組み
 
AWS上でのオンラインゲームリリースガイド
AWS上でのオンラインゲームリリースガイドAWS上でのオンラインゲームリリースガイド
AWS上でのオンラインゲームリリースガイド
 
AWS におけるエッジでの機械学習
AWS におけるエッジでの機械学習AWS におけるエッジでの機械学習
AWS におけるエッジでの機械学習
 
Accelerate Digital Experience with Serverless Computing - DEM86 - re:Invent 2017
Accelerate Digital Experience with Serverless Computing - DEM86 - re:Invent 2017Accelerate Digital Experience with Serverless Computing - DEM86 - re:Invent 2017
Accelerate Digital Experience with Serverless Computing - DEM86 - re:Invent 2017
 
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
Serverless Application Debugging and Delivery Best Practices (DEV307-R1) - AW...
 
통합 머신러닝 플랫폼 Amazon SageMaker 활용하기 (강지양 & 김태현, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
통합 머신러닝 플랫폼 Amazon SageMaker 활용하기 (강지양 & 김태현, AWS 솔루션즈 아키텍트) :: AWS DevDay2018통합 머신러닝 플랫폼 Amazon SageMaker 활용하기 (강지양 & 김태현, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
통합 머신러닝 플랫폼 Amazon SageMaker 활용하기 (강지양 & 김태현, AWS 솔루션즈 아키텍트) :: AWS DevDay2018
 
NEW LAUNCH! Introducing AWS Cloud9, a cloud IDE to write, run, & debug your c...
NEW LAUNCH! Introducing AWS Cloud9, a cloud IDE to write, run, & debug your c...NEW LAUNCH! Introducing AWS Cloud9, a cloud IDE to write, run, & debug your c...
NEW LAUNCH! Introducing AWS Cloud9, a cloud IDE to write, run, & debug your c...
 
Best Practice for Online Game Development on AWS
Best Practice for Online Game Development on AWSBest Practice for Online Game Development on AWS
Best Practice for Online Game Development on AWS
 
Modernizing on EKS (Keynote)- AWS Container Day 2019 Barcelona
Modernizing on EKS (Keynote)- AWS Container Day 2019 BarcelonaModernizing on EKS (Keynote)- AWS Container Day 2019 Barcelona
Modernizing on EKS (Keynote)- AWS Container Day 2019 Barcelona
 
Serverless Analytics on AWS
Serverless Analytics on AWSServerless Analytics on AWS
Serverless Analytics on AWS
 
AWS SAM(Serverless Application Model) 을 이용한 백오피스 마이그레이션 (현창훈, HBSmith) :: AWS...
AWS SAM(Serverless Application Model) 을 이용한 백오피스 마이그레이션 (현창훈, HBSmith) :: AWS...AWS SAM(Serverless Application Model) 을 이용한 백오피스 마이그레이션 (현창훈, HBSmith) :: AWS...
AWS SAM(Serverless Application Model) 을 이용한 백오피스 마이그레이션 (현창훈, HBSmith) :: AWS...
 
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
Gaining Visibility and Insight into Your Distributed Applications with AWS X-...
 
Continuous Integration Best Practices for Software Development Teams - AWS On...
Continuous Integration Best Practices for Software Development Teams - AWS On...Continuous Integration Best Practices for Software Development Teams - AWS On...
Continuous Integration Best Practices for Software Development Teams - AWS On...
 
Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018Building a Serverless AI Powered Twitter Bot: Collision 2018
Building a Serverless AI Powered Twitter Bot: Collision 2018
 

Similaire à Jets: A Ruby Serverless Framework

Similaire à Jets: A Ruby Serverless Framework (20)

Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
Automate & Audit Cloud Governance & Compliance in Your Landing Zone (ENT315-R...
 
Automating Compliance on AWS (HLC302-S-i) - AWS re:Invent 2018
Automating Compliance on AWS (HLC302-S-i) - AWS re:Invent 2018Automating Compliance on AWS (HLC302-S-i) - AWS re:Invent 2018
Automating Compliance on AWS (HLC302-S-i) - AWS re:Invent 2018
 
「リモートペアプロでマントルを突き抜けろ!」AWS Cloud9でリモートペアプロ&楽々サーバーレス開発
「リモートペアプロでマントルを突き抜けろ!」AWS Cloud9でリモートペアプロ&楽々サーバーレス開発「リモートペアプロでマントルを突き抜けろ!」AWS Cloud9でリモートペアプロ&楽々サーバーレス開発
「リモートペアプロでマントルを突き抜けろ!」AWS Cloud9でリモートペアプロ&楽々サーバーレス開発
 
Resiliency and Availability Design Patterns for the Cloud
Resiliency and Availability Design Patterns for the CloudResiliency and Availability Design Patterns for the Cloud
Resiliency and Availability Design Patterns for the Cloud
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Serverless best practices plus design principles 20m version
Serverless   best practices plus design principles 20m versionServerless   best practices plus design principles 20m version
Serverless best practices plus design principles 20m version
 
[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...
[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...
[NEW LAUNCH!] Introduction to AWS Global Accelerator (NET330) - AWS re:Invent...
 
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
Amazon Polly와 Cloud9을 활용한 서버리스 웹 애플리케이션 및 CI/CD 배포 프로세스 구축 (김현수, AWS 솔루션즈 아키텍...
 
Orchestrating containers on AWS | AWS Floor28
Orchestrating containers on AWS | AWS Floor28Orchestrating containers on AWS | AWS Floor28
Orchestrating containers on AWS | AWS Floor28
 
How Cox Automotive Runs GitHub Enterprise on AWS (ENT356-S) - AWS re:Invent 2018
How Cox Automotive Runs GitHub Enterprise on AWS (ENT356-S) - AWS re:Invent 2018How Cox Automotive Runs GitHub Enterprise on AWS (ENT356-S) - AWS re:Invent 2018
How Cox Automotive Runs GitHub Enterprise on AWS (ENT356-S) - AWS re:Invent 2018
 
Microservices for Startups - Donnie Prakoso - AWS - CC18
Microservices for Startups - Donnie Prakoso - AWS - CC18Microservices for Startups - Donnie Prakoso - AWS - CC18
Microservices for Startups - Donnie Prakoso - AWS - CC18
 
K8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKSK8s on AWS - Introducing Amazon EKS
K8s on AWS - Introducing Amazon EKS
 
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
What's New with the AWS CLI (DEV322-R1) - AWS re:Invent 2018
 
Amazon Container Services
Amazon Container ServicesAmazon Container Services
Amazon Container Services
 
Modern Application Delivery on AWS: the Red Hat Way
Modern Application Delivery on AWS: the Red Hat WayModern Application Delivery on AWS: the Red Hat Way
Modern Application Delivery on AWS: the Red Hat Way
 
Introduction to Simulation with AWS RoboMaker (ROB304) - AWS re:Invent 2018
Introduction to Simulation with AWS RoboMaker (ROB304) - AWS re:Invent 2018Introduction to Simulation with AWS RoboMaker (ROB304) - AWS re:Invent 2018
Introduction to Simulation with AWS RoboMaker (ROB304) - AWS re:Invent 2018
 
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
Amazon SageMaker 推論エンドポイントを利用したアプリケーション開発
 
Globalizing Player Accounts at Riot Games While Maintaining Availability (ARC...
Globalizing Player Accounts at Riot Games While Maintaining Availability (ARC...Globalizing Player Accounts at Riot Games While Maintaining Availability (ARC...
Globalizing Player Accounts at Riot Games While Maintaining Availability (ARC...
 
Landing zones: Creating a Foundation for Your AWS Migrations
Landing zones: Creating a Foundation for Your AWS MigrationsLanding zones: Creating a Foundation for Your AWS Migrations
Landing zones: Creating a Foundation for Your AWS Migrations
 
Future of Enterprise IT
Future of Enterprise ITFuture of Enterprise IT
Future of Enterprise IT
 

Plus de Tung Nguyen

Plus de Tung Nguyen (10)

re:Invent 2019 Highly Available ECS Spot Architecture: Save 50%-90%
re:Invent 2019 Highly Available ECS Spot Architecture: Save 50%-90%re:Invent 2019 Highly Available ECS Spot Architecture: Save 50%-90%
re:Invent 2019 Highly Available ECS Spot Architecture: Save 50%-90%
 
Jets: The Ruby Serverless Framework Nashville Tennessee 2019 August
Jets: The Ruby Serverless Framework Nashville Tennessee 2019 AugustJets: The Ruby Serverless Framework Nashville Tennessee 2019 August
Jets: The Ruby Serverless Framework Nashville Tennessee 2019 August
 
Jets: The Ruby Serverless Framework Balkan Ruby Bulgaria 2019 May
Jets: The Ruby Serverless Framework Balkan Ruby Bulgaria 2019 MayJets: The Ruby Serverless Framework Balkan Ruby Bulgaria 2019 May
Jets: The Ruby Serverless Framework Balkan Ruby Bulgaria 2019 May
 
Jets: The Ruby Serverless Framework Ruby Kaigi Japan 2019 April
Jets: The Ruby Serverless Framework Ruby Kaigi Japan 2019 AprilJets: The Ruby Serverless Framework Ruby Kaigi Japan 2019 April
Jets: The Ruby Serverless Framework Ruby Kaigi Japan 2019 April
 
Getting Started with ECS: An Easy Way to Run Docker Containers - AWS Summit A...
Getting Started with ECS: An Easy Way to Run Docker Containers - AWS Summit A...Getting Started with ECS: An Easy Way to Run Docker Containers - AWS Summit A...
Getting Started with ECS: An Easy Way to Run Docker Containers - AWS Summit A...
 
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless FrameworkRuby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
 
AWS Summit Santa Slara 2019 Mar ECS
AWS Summit Santa Slara 2019 Mar ECSAWS Summit Santa Slara 2019 Mar ECS
AWS Summit Santa Slara 2019 Mar ECS
 
Serverless Cron Jobs with Ruby on Jets
Serverless Cron Jobs with Ruby on JetsServerless Cron Jobs with Ruby on Jets
Serverless Cron Jobs with Ruby on Jets
 
Getting Started with Amazon ECS: Run Docker Containers on AWS
Getting Started with Amazon ECS: Run Docker Containers on AWSGetting Started with Amazon ECS: Run Docker Containers on AWS
Getting Started with Amazon ECS: Run Docker Containers on AWS
 
Ufo Ship for AWS ECS
Ufo Ship for AWS ECSUfo Ship for AWS ECS
Ufo Ship for AWS ECS
 

Dernier

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

Jets: A Ruby Serverless Framework

  • 1. Jets: A Ruby Serverless Framework on AWS Lambda by Tung Nguyen
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Tung Nguyen tung@boltops.com linkedin.com/in/tongueroo youtube.com/tongueroo @tongueroo sonic swiss-army knife jack elastic beanstalk ufo ecs deployment lono cloudformation framework jets ruby serverless framework Background
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Desire for Ruby
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Ruby on AWS Lambda
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Node Shim
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Shim
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Shim Issue
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Cold Starts
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Prewarm
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Lambda Prewarm
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Lambda Execution Context
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Performance Comparison Ruby: 164ms Python: 178ms Essentially the Same!
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo Time: The Need for Speed Jets Ruby Serverless Framework
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why Again? VS YAML Code
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Web API Architecture
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Simple Function
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Controllers
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Controllers
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Routes
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Routes
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Jobs
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Jobs
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Project Structure
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Demo Time: CRUD Jets Ruby Serverless Framework
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Web API Architecture Review
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Core Resource Model =
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven Security: Auto- Remediation
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven Security: Auto- Remediation Code
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven Security: Auto- Remediation Code
  • 30. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven Security: Multiple Events Supported
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Polymorphic Support
  • 32. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Polymorphic Support: Python
  • 33. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Polymorphic Support: Node
  • 34. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Continuous Compliance: AWS Config Rules
  • 35. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Continuous Compliance: Config Rules Code
  • 36. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven Compliance: AWS Config Rules
  • 37. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven: Internet of Things
  • 38. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven: Internet of Things Code
  • 39. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Event Driven: Internet of Things Code
  • 40. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming
  • 41. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server
  • 42. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server Jets Call
  • 43. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server Jets Call REPL Console
  • 44. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server Jets Call REPL Console Database Support
  • 45. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server Jets Call REPL Console Database Support Function Properties
  • 46. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server Jets Call REPL Console Database Support Function Properties IAM Policies
  • 47. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Jets Features Prewarming Local Server Jets Call REPL Console Database Support Function Properties IAM Policies Polymorphic Support
  • 48. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Working Examples
  • 49. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Thanks! Tung Nguyen tung@boltops.com linkedin.com/in/tongueroo youtube.com/tongueroo @tongueroo sonic swiss-army knife jack elastic beanstalk ufo ecs deployment lono cloudformation framework jets ruby serverless framework