Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
What’s happening with Serverless Framework, and...
Search
堀家隆宏
February 22, 2019
Technology
0
77
What’s happening with Serverless Framework, and it lives with AWS SAM.
堀家隆宏
February 22, 2019
Tweet
Share
More Decks by 堀家隆宏
See All by 堀家隆宏
オープンソースコミュニティで加速するサーバーレスの未来/serverless will be
horike37
4
690
auth0-meetup.pdf
horike37
1
240
What is Serverless. Why is Serverless.
horike37
1
59
aws-with-functional-saas
horike37
2
160
serverless-with-oss
horike37
0
100
slsconftokyo
horike37
0
5.3k
slsconfworkshop
horike37
3
2.5k
Test Driven Development For Lambda
horike37
2
290
serverless-kyoto
horike37
1
150
Other Decks in Technology
See All in Technology
AWS DDKを利用したDataOps事始め
beex
1
170
APIs for AI: Have we failed?
zdne
0
130
フェンリルの SwiftUI の研修を覗いてみる / Fenrir SwiftUI Training
studio_rookery
0
160
なぜ Rack を理解すべきかプレトーク / Why should you understand Rack - Pre-talk
hogelog
0
230
寒冷地稲作の歴史にみるコミュニティ
miu_crescent
2
140
管理画面とユーザー機能の調和を取り戻す!~クエリパフォーマンス改善の成功物語~ / Restore harmony between administrative and user functions!
minisera
1
320
Bluesky 2019〜2022
yamarten
1
120
Japan AWS Jr. Championsがお届けする、アウトプットのすすめ
hamijay_cloud
0
210
Vue.js、Nuxtの機能を使い、 大量のコピペコードをリファクタリングする
igayamaguchi
3
1.4k
Brakeman を欺く - Kashiwa.rb #4
kozy4324
1
100
塩野義製薬様のAWS統合管理戦略:Organizations設計と運用の具体例
tkikuchi
0
320
【㈱アイモバイル】エンジニア向け会社説明資料
imobile
0
480
Featured
See All Featured
Faster Mobile Websites
deanohume
304
30k
Designing for humans not robots
tammielis
249
25k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Designing on Purpose - Digital PM Summit 2013
jponch
114
6.9k
Why Our Code Smells
bkeepers
PRO
334
57k
Being A Developer After 40
akosma
85
590k
Adopting Sorbet at Scale
ufuk
73
9k
Testing 201, or: Great Expectations
jmmastey
38
7k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Optimising Largest Contentful Paint
csswizardry
31
2.9k
Six Lessons from altMBA
skipperchong
26
3.4k
Transcript
What’s happening with Serverless Framework, and it lives with AWS
SAM.
• CEO of Serverless Operations LLC • Core mainainer of
the Serverless Framework • Creator of Serverless Step Functions, Serverless APIGateway Service Proxy, Serverless Atom Dashbord • Organizer of Serverless Meetup Tokyo Who am I
Comparing AWS SAM with the Serverless framework
Common Features • Simple YAML Configuration • Transform the config
to CloudFormation template • OpenSource
Transform Simple YAML Setting to CloudFormation Serverless Framework SAM CloudFormation
Brenda Wallace introduces the Open Source Software Project award Kristina
D.C. Hoeppner Taken on November 12, 2014
Comparisons • CLI Tool • Provider agnostic • Plugin system
• Variable system • NodeJS • Just transform to CloudFormation template • AWS official tool • Serverless Application Repository • Python
The Serverless Framework Specific Features
Provider Agnostic
The framework core interface Provider Agnostic Provider plugins
Plugin system Community Plugins
The Plugin Registry
Stage and Variable system $ serverless deploy dev stage Prod
stage Staging stage $ serverless deploy —stage prod
Stage and Variable system ${self:service}-${self:custom.stage}-functionName $ serverless deploy —stage prod
$ serverless deploy
SAM Specific Features
Serverless Application Repository
SAM Local $ sam local invoke HelloWorld -e event.json $
sam local generate-event s3 --bucket <bucket> --key <key> $ sam validate $ sam local start-api
AWS Premium Support
How should we decide to use SLS or SAM?
How should we decide? •Both of them provide all necessary
and sufficient features to build serverless applications. •You should choose the one while considering to benefit for you.
Introducing my work for the framework plugins
Serverless Step Functions Plugin This plugin allows you to deploy
and manage Step Functions and a bunch of composed Lambda functions via the Serverless Framework.
Management Reference to the functions Statemachine definition You can manage
functions and Statemachine definition in one place
You can significantly reduce the configuration CloudFormation the plugin syntax
the plugin syntax
Serverless API Gateway Service Proxy Plugin AWS Service Proxy This
plugin supports the AWS service proxy integration feature of API Gateway
AWS Service Proxy API Backend via Lambda You don’t need
to put unnecessary Lambda functions
Use Case - Realtime Ranking System
Collecting Page Views
Collecting Page Views
Calculating Ranking
Serverless Dashboard For Atom
Thank You