/faas-handson

faas temporary repository

Section FaaS

Hello, I'm gonna tell you about serverless and FaaS today.

  • presentation: check out from here! (GitPitch)

    • if the above link is broken, find by yourself based on below pattern:
      https://gitpitch.com/$user/$repo/$branch?p=$dir/$subdir
      
    • NOTE: the repository must be public. If not, give up to see this through GitPitch.
    • or to see raw data, go to subdir /presentation.
  • sample code: check out the subdir /sample-code


当日のタイムライン

  • 0900 opening
  • 0910 講義開始
  • 10min 休憩
  • 1010-1140: ハンズオン Part1 (web) 1.5h
  • 1140-1240: 昼休み
  • 1240−1340: ハンズオン Part2 (infra as code)
  • 10min 休憩
  • 1350-1600: ハンズオン Part3 (challenge) (10min 休憩含む)
  • 1600-1630: 解説、業務紹介
  • 1630-1730: 5日間の振り返り?, 例の 15min work

講義内容

  • 自己紹介
  • サーバーレス、FaaSとは
  • オンプレからSaaSまでの比較
  • 代表的なサービス事例: lambda, azurefunction, gcf
  • 事例 (外部イベントとかで見てきた事例など)

ハンズオン内容

    1. Webコンソールから作る
    • lambda 作成
    • apigw は指示通り作ってもらう
    • dynamodb も指示通り
    • 動作確認
    1. slsから作る
    • なにかwebコンソールで作ったものにプラスする?(or 負荷試験対応のみでも)
    • slsが動作する踏み台サーバ40台
    • ポチっとデプロイ
    • 動作確認
    1. 負荷をかけてみる
    • 負荷試験の話 (gatling) スライドを挟もう
    • gatlingで負荷かてみる
    • 何が悪いか考えてみてくれ