Upgrade to Pro — share decks privately, control downloads, hide ads and more …

これから IoT やるなら 「 サーバレス 」にしておけ! v1/Serverless-fits-IoT-system

これから IoT やるなら 「 サーバレス 」にしておけ! v1/Serverless-fits-IoT-system

「データの発生毎に処理をする仕組み」を実現する方法を解説

Kohei "Max" MATSUSHITA

May 19, 2019
Tweet

More Decks by Kohei "Max" MATSUSHITA

Other Decks in Technology

Transcript

  1. IoT データは「いつ発生するかわからない」 AWS Lambda Azure Functions Google Cloud Functions 仮想サーバ

    • 稼働時間で課金 向いている処理 • 「バッチ」型 稼働時間が処理量と 比例する処理 サーバレス • 実行時間で課金 向いている処理 • 「イベント発生時」型 いつ発生するか わからない処理 IoT のデータ処理に 適している 例) ドアの開閉をセンシングしたい データの待ち時間が ムダになりがち
  2. 今からサーバレスやるなら AWS なら • Amazon API Gateway • AWS Lambda

    • AWS IoT ファミリー • 最終的には; • Amazon S3 • Amazon DynamoDB Microsoft Azure なら • Azure Functions • Azure Logic Apps • Stream Analytics • 最終的には; • Cosmos DB Google Cloud Platform なら • Google Cloud Functions • Google Cloud Pub/Sub • 最終的には; • BigQuery
  3. クラウド側アーキテクチャ例 ― AWS https://d1.awsstatic.com/events/jp/2017/summit/slide/D3T5-8.pdf SORACOM Beam ダウンロード SORACOM Funnel 外部サービス

    SORACOM Funk AWS IoT Core AWS IoT Analytics Amazon Kinesis Data Firehose Amazon S3 AWS Lambda Amazon Athena Amazon SageMaker
  4. クラウド側アーキテクチャ例 ― GCP Cloud BigQuery Cloud Pub/Sub https://cloud.google.com/dataflow/?hl=ja Cloud Dataflow

    SORACOM Funnel ダウンロード Cloud Storage Data Studio SORACOM Beam Cloud IoT Core Cloud Functions 外部サービス SORACOM Funk