Slide 1

Slide 1 text

What’s happening with Serverless Framework, and it lives with AWS SAM.

Slide 2

Slide 2 text

• 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

Slide 3

Slide 3 text

Comparing AWS SAM with the Serverless framework

Slide 4

Slide 4 text

Common Features • Simple YAML Configuration • Transform the config to CloudFormation template • OpenSource

Slide 5

Slide 5 text

Transform Simple YAML Setting to CloudFormation Serverless Framework SAM CloudFormation

Slide 6

Slide 6 text

Brenda Wallace introduces the Open Source Software Project award Kristina D.C. Hoeppner Taken on November 12, 2014

Slide 7

Slide 7 text

Comparisons • CLI Tool • Provider agnostic • Plugin system • Variable system • NodeJS • Just transform to CloudFormation template • AWS official tool • Serverless Application Repository • Python

Slide 8

Slide 8 text

The Serverless Framework Specific Features

Slide 9

Slide 9 text

Provider Agnostic

Slide 10

Slide 10 text

The framework core interface Provider Agnostic Provider plugins

Slide 11

Slide 11 text

Plugin system Community Plugins

Slide 12

Slide 12 text

The Plugin Registry

Slide 13

Slide 13 text

Stage and Variable system $ serverless deploy dev stage Prod stage Staging stage $ serverless deploy —stage prod

Slide 14

Slide 14 text

Stage and Variable system ${self:service}-${self:custom.stage}-functionName $ serverless deploy —stage prod $ serverless deploy

Slide 15

Slide 15 text

SAM Specific Features

Slide 16

Slide 16 text

Serverless Application Repository

Slide 17

Slide 17 text

SAM Local $ sam local invoke HelloWorld -e event.json $ sam local generate-event s3 --bucket --key $ sam validate $ sam local start-api

Slide 18

Slide 18 text

AWS Premium Support

Slide 19

Slide 19 text

How should we decide to use SLS or SAM?

Slide 20

Slide 20 text

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.

Slide 21

Slide 21 text

Introducing my work for the framework plugins

Slide 22

Slide 22 text

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.

Slide 23

Slide 23 text

Management Reference to the functions Statemachine definition You can manage functions and Statemachine definition in one place

Slide 24

Slide 24 text

You can significantly reduce the configuration CloudFormation the plugin syntax the plugin syntax

Slide 25

Slide 25 text

Serverless API Gateway Service Proxy Plugin AWS Service Proxy This plugin supports the AWS service proxy integration feature of API Gateway

Slide 26

Slide 26 text

AWS Service Proxy API Backend via Lambda You don’t need to put unnecessary Lambda functions

Slide 27

Slide 27 text

Use Case - Realtime Ranking System

Slide 28

Slide 28 text

Collecting Page Views

Slide 29

Slide 29 text

Collecting Page Views

Slide 30

Slide 30 text

Calculating Ranking

Slide 31

Slide 31 text

Serverless Dashboard For Atom

Slide 32

Slide 32 text

Thank You