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 it lives with AWS SAM.
Search
堀家隆宏
February 22, 2019
Technology
0
67
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
570
auth0-meetup.pdf
horike37
1
230
What is Serverless. Why is Serverless.
horike37
1
52
aws-with-functional-saas
horike37
2
150
serverless-with-oss
horike37
0
94
slsconftokyo
horike37
0
5.2k
slsconfworkshop
horike37
3
2.3k
Test Driven Development For Lambda
horike37
2
260
serverless-kyoto
horike37
1
150
Other Decks in Technology
See All in Technology
SIEMを用いて、セキュリティログ分析の可視化と分析を実現し、PDCAサイクルを回してみた
coconala_engineer
0
330
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
0
350
Janus
bkuhlmann
1
490
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
160
Cracking the KubeCon CfP
inductor
2
250
TechFeed Experts Night#27 〜 フロントエンドフレームワーク最前線 (Svelte)
baseballyama
1
540
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
2.6k
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
640
LLM開発・活用の舞台裏@2024.04.25
yushin_n
1
340
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
1
250
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
380
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
100
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Visualization
eitanlees
136
14k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.1k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Making Projects Easy
brettharned
108
5.5k
Music & Morning Musume
bryan
41
5.6k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Statistics for Hackers
jakevdp
789
220k
Automating Front-end Workflow
addyosmani
1356
200k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
25
2.3k
How to train your dragon (web standard)
notwaldorf
73
5.2k
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