are many case studies of serverless architecture. I believe, “serverless” becomes not only “the design concept” but also “one of OSS implementation methods”. Because, Serverless Framework is a very powerful tool. 6 Serverlessconf Tokyo 2017
built on manged services can abstract as one middleware or one service. ex. diamond is already one time series DB service. ex. faultline is already one error tracking service. Serverless Framework provides `sls deploy` like `make install` one command bulid ≒ one command deployment 22 Serverlessconf Tokyo 2017
ex. Managed services (FaaS / Object Storage / NoSQL) Need new tips I have ⚡⚡⚡⚡⚡tips. POST with config Reversed Timestamp ID Instant Job Queue S3 Object Tagging Env Sync <- New! 27 Serverlessconf Tokyo 2017
wherever possible ex. Slack incoming webhook URL / channel ex. GitHub Token Do NOT manage states as much as you can If it is SECRET, use KMS encryption 28 Serverlessconf Tokyo 2017
environment and the environment variable of the function execution environment. The Twelve-Factor App 32 Serverlessconf Tokyo 2017 provider: name: aws environment: # env of AWS Lambda function STAGE: ${env:STAGE, ’develop’} # use env of the deployment environment
as one middleware or one service. Serverless Framework provides `sls deploy` like `make install` I think that more people will USE open source “serverless middleware” and “serverless service”. Like Redmine for Ruby on Rails But, user does not know Serverless Framework 34 Serverlessconf Tokyo 2017
project ⚡⚡⚡ by Rafal Wilinski https://github.com/RafalWilinski/deploy-with-serverless “.slsdeploy.yml” project [PoC] by Me https://github.com/k1LoW/slsdeploy 36 Serverlessconf Tokyo 2017
Define environment variables required for .slsdeploy.yml Make your sls app correspond to “Env Sync” 37 --- environment: UTSUSEMI_TARGET_HOST: description: Crawl target host type: text UTSUSEMI_WORKER_PROCESS: description: Crawl worker process type: number default: 2 UTSUSEMI_BUCKET_NAME:
one middleware or one service. Serverless Framework provides `sls deploy` like `make install` If a mechanism that makes it easier to deploy is provided, the user can obtain a “serverless middleware” and “serverless service” more easily. I would like to see more open source “serverless middleware” and “serverless service” 40 Serverlessconf Tokyo 2017