Mais conteúdo relacionado Semelhante a AWS初心者向けWebinar AWSではじめよう、IoTシステム構築(リピート開催用) (20) Mais de Amazon Web Services Japan (20) AWS初心者向けWebinar AWSではじめよう、IoTシステム構築(リピート開催用)3. 3
AWS 初心者向け Webinar のご紹介
• AWS についてこれから学ぶ方むけの
ソリューションカットの Webinar です
• 過去の Webinar 資料
– AWS クラウドサービス活用資料集ページにて公開
http://aws.amazon.com/jp/aws-jp-introduction/
• イベントの告知
– 国内のイベント・セミナースケジュールページにて告知
http://aws.amazon.com/jp/about-aws/events/
(オンラインセミナー枠)
9. 9
Enterprise
Applications
Virtual Desktop Sharing & Collaboration
Platform
Services
Analytics
Hadoop
Real-time
Streaming Data
Data
Warehouse
Data
Pipelines
App Services
Queuing &
Notifications
Workflow
App streaming
Transcoding
Email
Search
Deployment & Management
One-click web
app deployment
Dev/ops resource
management
Resource
Templates
Mobile Services
Identity
Sync
Mobile
Analytics
Push
Notifications
Administration
& Security
Identity
Management
Access
Control
Usage
Auditing
Key
Storage
Monitoring
And Logs
Core
Services
Compute
(VMs, Auto-scaling
and Load Balancing)
Storage
(Object, Block
and Archival)
CDN
Databases
(Relational, NoSQL,
Caching)
Networking
(VPC, DX, DNS)
Infrastructure Regions Availability Zones Points of Presence
10. 10
Enterprise
Applications
Virtual Desktop Sharing & Collaboration
Platform
Services
Analytics
Hadoop
Real-time
Streaming Data
Data
Warehouse
Data
Pipelines
App Services
Queuing &
Notifications
Workflow
App streaming
Transcoding
Email
Search
Deployment & Management
One-click web
app deployment
Dev/ops resource
management
Resource
Templates
Mobile Services
Identity
Sync
Mobile
Analytics
Push
Notifications
Administration
& Security
Identity
Management
Access
Control
Usage
Auditing
Key
Storage
Monitoring
And Logs
Core
Services
Compute
(VMs, Auto-scaling
and Load Balancing)
Storage
(Object, Block
and Archival)
CDN
Databases
(Relational, NoSQL,
Caching)
Networking
(VPC, DX, DNS)
Infrastructure Regions Availability Zones Points of Presence
サーバー、ストレージ、DBから、アプリケーションまで
50を超えるクラウドサービスを提供
12. 12
対応するAWSサービス
デバイスインタフェース
外部システム向け
インターフェース
イベント処理
データ保管 機械学習
通知/コマンド実行 データ可視化 データ分析
データ処理
デバイス
センサー アクチュエータ
WiFi/3G/LTE
Amazon EC2
Amazon Kinesis Stream
AWS IoT
Amazon EMR
Amazon Kinesis Analytics
Amazon Kinesis Firehose
AWS IoT
Amazon Lambda
Kinesis Client Library
AWS IoT
AWS SDK
AWS Device SDK
Amazon Machine Learning
Amazon Elasticsearch
Service (kibana)
Amazon Quicksight
Amazon S3
Amazon DynamoDB
Amazon RDS
Amazon Redshift
Amazon API Gateway
Amazon SNS
17. 17
BMW:IoT Journey with AWS (re:Invent2015)
• Mission: Change customer
experiences with cloud
enhanced services and adopt
new market requirements
– Scalable, flexible, agile, and cost
effective infrastructure for
IoT/M2M
• Connected cars deliver sensor
data to AWS
• Digital map dynamically
verified and enhanced
• Key feature to enable
automated driving
• Estimation
– CARASSO processes 8+ billion
km driven with several hundreds
of thousands vehicles in 2018
29. 29
Amazon API Gateway
アプリケーションだけでなくデバイス向けWeb APIの
作成・保護・運用と公開を容易に
RESTfulエンドポイントに必要な
豊富な機能が利用可能
•リクエスト数に応じてスケール
•バックエンドへの負荷を軽減するための
スロットリング
•APIのバージョンを管理
•APIアクティビティのメトリクス取得
Lambdaの利用でサーバレスな
APIを作成
•API呼出し後のアクションでLambdaを
指定することでプログラムの登録のみで
APIを作成
31. 31
Amazon Simple Storage Service (S3)
デバイスからの大量データを高い堅牢性で安全に保存
高い堅牢性
99.999999999%
格納容量は
無制限
様々なAWSサービスと
連携
•データを3箇所以上にレプリ
ケーション
•障害検知とデータ修復を自動で
行なう
•ファイル数、合計のファイル
容量の制限なし
•利用した分のみ課金
•各サービスのデータ入出力に
おいてS3を活用
•疎結合なデータ連携を実現
34. 34
AWS Identity and Access Management (IAM)
アプリケーションやデバイスからAWS サービスおよびリソース
へのアクセスを安全にコントロール
AWSリソースへの
きめ細かなアクセス制御
•どのアプリケーション、デバイスが
どのAWSのリソースを利用できる
かを細かく設定可能
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"iot:Connect",
"iot:Publish",
"iot:Subscribe",
"iot:Receive",
"iot:GetThingShadow",
"iot:UpdateThingShadow"
],
"Resource": “"arn:aws:iot:us-east-1:123456789012:topic/foo/bar""
}
]
}
AWS IoTのfoo/barトピックに対する
接続、publish/subscribeを許可
37. 37
デバイスの実装
C-SDK
(Ideal for embedded OS)
JS-SDK
(Ideal for Embedded Linux
Platforms)
Arduino Library
(Arduino Yun)
Mobile SDK
(Android and iOS)
AWS IoT
Device SDK
Open Library
Java
Python
(boto)
PHP .NET Ruby Node.js
AWS Toolkit
for Visual
Studio
AWS
Toolkit for
Eclipse
AWS Tools for
Windows
PowerShell
AWS
CLI
JavaScript
・AWSのリソースはAWS
SDKを利用
・AWS IoTのDevice SDKは
MQTTを利用
・AWS IoTは汎用のオープン
ライブラリも利用可能
・HTTPS/MQTTS以外の
プロトコル利用の場合は
独自で実装が必要
42. 42
コスト
データ収集 プロセッシング データ保管
$8/100万メッセージ
※:表示価格は東京リージョンの価格です。
AWS IoT $0.033/GB(最初の1TB/月)
$0.0047/1,000リクエスト(PUT等)
$0.0037/10,000リクエスト(GET)
S3
DynamoDB
Kinesis
Stream
Simple Monthly Calculator
http://calculator.s3.amazonaws.com/index.html?lng=ja_JP#
$0.0195/h,1シャード
$0.0215/100万PUTレコード
$0.14/時間(c4.large)Kinesis
Application
API
Gateway
Lambda $0.000000208(128M, 100ms)$4.25/100万リクエスト
$0.14/GBのデータ送出
サービスにより課金体系が異なる。
開発、運用コストなどトータルコストでサービスを選定。
$0.0742/10ユニットの書込/時
$0.0742/10ユニットの読込/時
50. 50
アプリケーション
気象センサー
API Gateway Lambda S3
DynamoDBLambdaAPI Gateway
インターネット
Cognito
Cognitoでデバイスとア
プリケーションの双方
を認証
Lambdaでサーバレスな
バックエンド処理
DynamoDBに時系列
データを格納
S3へ生データを
アーカイブ
センサーデータ書込
センサーデータ読込
デバイスからのPOSTを
API Gatewayで処理
アプリケーションからの
GET/POSTもAPI
Gatewayで処理