© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
アマゾン ウェブ サービス ジャパン株式会社ソリューションアーキテクト小梁川 貴史
2018.01.23
【AWS Black Belt Online Seminar】
re:Invent Recap: IoT and DevOps
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Black Belt Online Seminar とはAWSJのTechメンバがAWSに関する様々な事を紹介するオンラインセミナーです
【火曜 12:00~13:00】主にAWSのソリューションや業界カットでの使いどころなどを紹介(例:IoT、金融業界向け etc.)
【水曜 18:00~19:00】主にAWSサービスの紹介やアップデートの解説(例:EC2、RDS、Lambda etc.)
※開催曜日と時間帯は変更となる場合がございます。最新の情報は下記をご確認下さい。
オンラインセミナーのスケジュール&申し込みサイト• https://aws.amazon.com/jp/about-aws/events/webinars/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
内容についての注意点
• 本資料では2018年1月23日時点のサービス内容および価格についてご説明しています。最新の情報はAWS公式ウェブサイト(http://aws.amazon.com)にてご確認ください。
• 資料作成には十分注意しておりますが、資料内の価格とAWS公式ウェブサイト記載の価格に相違があった場合、AWS公式ウェブサイトの価格を優先とさせていただきます。
• 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別途消費税をご請求させていただきます。
• AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your actual use of AWS services, and may vary from the estimates provided.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
名前小梁川 貴史(こやながわ たかし)
所属技術統括本部 IoT Solution Design Teamソリューション アーキテクト
前職電機メーカー自社サービスの開発・運用元AWSユーザ
好きなAWSサービスAWS IoT , AWS Lambda(python), Amazon Kinesis
自己紹介
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT update
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
AWS IoT Core:基本機能従来AWS IoTと呼んでいたいものがCoreに変更
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2018/1/1より新料金の適用
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
変更ポイント
変更前の課金• 通常のdata転送
• keep alive
• shadow 操作
など全て含めて 100万msg単位の課金
変更後の課金
• 分単位での接続
• メッセージ
• ルールエンジン
• shadow
の各機能単位での利用課金
https://aws.amazon.com/jp/iot-core/pricing/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
新料金の説明(1/2)
Connectivity接続されているデバイスの数を一分間で計算
connection維持のための 30秒-20分のkeep alive packetに料金はかからない
$0.08/百万台あたり
->常時接続で一台あたり 年間$0.042 (Tokyo regionで $0.063)
旧方式で毎分 keep aliveした場合60(min)x24(hour)x30(day) = 43200msgとなり、$0.217の月間コスト
Message1msg 512byteから1msg 5Kbyteへ拡大し、$5/100万msgから$1/100万msg(Tokyo region $1.5/100万msg)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
新料金の説明(2/2)
RuleEngineルール実行と、ルールに存在するアクション実行の数をカウントし、その合計数が課金対象となる。
ルールについてはpayload 5kbyte単位を1とする
ルール実行:$0.15/100万トリガー
アクション:$0.15/100万アクション
(Tokyo region いずれも $0.23/100万)
Device Shadow/Registry100万回の操作につき、$1.25。(Tokyo region $1.75)“一回の操作”はデータサイズ1kbyte単位での計算となる。
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
IoT Device Management:デバイス管理• Provisioning, Device update管理機能などの追加
• Device updateにて、GreenGrassCoreのupdateも可能に
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
バッチ処理でのプロビジョニング
リアルタイム大量なthingの
Index
デバイスのロギングとモニタリング
OTA(over the air)でのupdate
大量のデバイス管理をより簡単に
AWS IoT Device Management (GA)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Indexサービス
Luceneエンジンベースでの検索機能shadow.reported.firmware:1.0.0やthingName:test*などのquerをかけてThingを検索することができる
CLI aws iot search-index --index-name "AWS_Things" --query-string "shadow.reported.firmware:1.1.0"
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thing Group
ThingをGroupとして、論理表現できる。また、Group単位でのPolicy設定が可能- 個々のThing単位でPolicyを設定しなくても良い例)ビル => フロア => 部屋 などの階層設計など自由に設定可能
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Jobs: アップデート機能
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Custom author izers
X.509
Certificate
AWS SigV4 Instances
Corporate data
center
Key/tokenIoT thing
lightbulb
IAM
Lambda
function
AWS IoT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS SDK X.509 suppor t
IoT certificate
Amazon S3
Amazon
DynamoDB
IAM RolePermissions
IoT thing
Control via IoT/MQTT
Data via HTTPS
e.g.,
Streaming video (CCTV)
Telemetry upload (Sensors)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
IoT Device Defender(Announced):セキュリティ
カスタムな監査ルールの作成や、anomaly detect /アラームの提供
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Device Defender ( c o m i n g i n 2 0 1 8 )
デバイスのaudit設定
デバイスの振る舞いのモニタリング
アラートの生成
異常の特定
大量のデバイスに対してセキュリティポリシーの定義と適用
セキュリティパッチの適用
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
AWS IoT Analytics:分析データフィルタ/ノイズ、変換、EnrichSQL表現でqueryが可能
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analyt ics (P rev iew)
IoT dataの解析を簡単に
多様なデータの収集
アドホックなクエリと
QuickSightintegration
データ(前)加工やエンリッチ
フルマネージドなストレージ
(raw &時系列)
JupyterNotebooksを利用しての深掘り
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analyt ics Overv iew
AWS IoTThings
AWS IoT Platform
Channel PipelineStore
Processed
Data
Data set
Advanced
Analysis
Visualization
AWS IoT Analytics
Messages
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
Amazon Greengrass:
エッジ上にクラウドの機能を拡張
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• GreenGrass上のLambdaからローカルリソースにアクセスが可能に
– GPUやカメラ、バス経由などのホストデバイス機能と連携可能となり、GreenGrassデバイスが物理環境と容易に対話できるように
• GreenGrass Coreをリモートからupdate可能に
– OTAに対応し、GreenGrass Coreをアップデートできるようになり、bugfixや新機能対応が簡単に
• OPC/独自プロトコルへの対応
– 産業用プロトコルOPCや独自のプロトコルにたいするアダプタを簡単に作成できるように
https://aws.amazon.com/jp/about-aws/whats-new/2017/11/over-the-air-updates-access-to-local-resources-and-opc-ua-industrial-
protocol-adapter-now-available-on-aws-greengrass/
GreenGrassCore
Edge Computer
protocol adapter
GPUやバス経由のアクセス
AWS Greengrass の Update
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass ML Inference
エッジ上での機械学習の実行を簡単にする各種機能を提供
• クラウドで学習したモデルを簡単にデプロイ可能
• Apache MXNetをデバイスに簡単に組み込める
• ローカルで機械学習の推論を行うための実装例を提供
• GPU/FPGA活用が可能
Trained models
and Lambdas
Extracted
IntelligenceInferences and
take actions
locally on device
AWS Cloud
for training
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Machine Learn ing @Edge の要件と対応サービス
データをクラウドに収集
データを処理し、学習させることでモデルを作成
モデルをエッジデバイスにデプロイ
デバイスに応じた ML フレームワークのビルド(MXNet,
Tensorflow など)
推論を行うアプリの開発とデバイスへのデプロイ
GPU のようなHW アクセラレータの活用
Greengrass ML InferenceSageMakerAWS IoT, etc..
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
クラウドで学習したモデルをデバイスにデプロイ
• 「機械学習リソース」として学習済みモデルを Greengrass グループに追加できる
• 設定したモデルが Greengrassデバイスにデプロイされる
• Greengrass コンソールからAmazon SageMaker の学習済みモデルを指定できる
• 独自のモデルを追加できる(MXNet などの ML フレームワークに依存しない)
学習済みモデルのデプロイ
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
事前にビルドされた MXNetパッケージを提供。対象デバイスでゼロから MXNet のビルドが不要に。
• Intel Atom E3900 (Apollo lake)
• NVIDIA Jetson TX2
• Raspberry Pi
その他デバイスや MXNet 以外のML フレームワークの利用を制限するものではありません。(通常のビルドを行うことで利用可能)
事前ビルドした MXNet の提供
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
推論を行う Lambda の実装例を提供
• 学習済みモデルの読み込み
• ローカルで生成されたデータをモデルに適応して推論
• 推論結果に応じたアクション
推論を行う Lambda のサンプルコード
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda からデバイス上のGPU や FPGAといった ML アクセラレータにアクセスすることで推論を高速化
• コードの実装は不要
• 「ローカルリソース」としてアクセラレータを宣言することでLambda からの呼び出しが可能
• カメラやストレージといったHW も同様にアクセス可能
HW アクセラレータへのアクセス
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT with AWS
Enterprise Applications
Enterprise Users
Corp Apps
Amazon
QuickSight
Amazon
EMR
Amazon Redshift
Amazon
S3
Machine Learning
AWS Lambda
All
AWS
IoT Partners
Edge
ARM, Broadcom, Digi,
Expressif, Intel,
MediaTek, Microchip,
NXP, ST, TI, Qualcomm,
…
Gateway
Adlink Technology,
Advantech, MachineShop,
Samsung, Technicolor, …
Platform
Ayala, Bright Wolf,
BSquare, C3IoT, Mnubo,
PTC, Salesforce, Splunk,
Thinglogix, …
Connectivity
Amdocs, Asavie, AT&T,
Eseye, Soracom, TATA
Communications, Telus,
Verizon, …
Consulting / ISVs
Accenture, Aricent,
Clearscale, CTP, Luxoft,
Mobiquity, Solstice,
Storm Reply, Sturdy
Networks, TCS, Trek10, …
Cloud
Device Shadow
RulesEngine
AWS IoT
Core
Certificate Authority
AWS IoTDevice
Management
AWS
IoTUsers
Over-The-Air (OTA)
Updates
Analytics Data Store
Data Pipelines
Templated Reports
Batch Fleet Provisioning
Real-Time Fleet Index &
Search
AWS IoTDevice
Defender
Ad-hoc & In-depth Analysis
Risk Mitigation
Monitor Device
Behavior
Alerts
Message Broker
Audit Device Configurations
Amazon Kinesis
AWS IoT
Analytics
Edge
Long-range Comms
Certificate Authority
DeviceShadow
SnowballEdge
Gateway/PLC
AWS Greengrass
LambdaFunctions
Message
Router
Local Resource
s
OPC-UA
Adapter
OTA
Edge
Users
MQTT
OPC-UA
MQTT
Local Comms
MQTT
MQTT
OTA
Endpoints
Amazon FreeRTOS
IoT SDK
Cert
WiFi
Amazon FreeRTOS
Integrated
Client
Amazon FreeRTOS:
マイクロコントローラ向けリアルタイムOS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ローカル接続用の
ライブラリ
クラウド接続用の
ライブラリ
セキュリティライブラリ
OTA &署名追加予定
Amazon FreeRTOS (GA)
マイクロコントローラ向けのIoT operating system
FreeRTOSカーネル ベース
AWS Greengrass
AWS IoT Core
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon FreeRTOS - Microcontroller Device Software
事前にa:FreeRTOSとの動作認証済みのされた主要なチップセットベンダーが供給する低消費電力マイクロコントローラー
チップセットベンダーが提供する HW ドライバー
AWSが提供する FreeRTOS カーネル
AWSが提供するソフトウェア ライブラリ
• AWSグレードのセキュリティー (TLS 1.2)
• 物理接続方式 (Wi-Fi, Ethernet, その他のIFも追加予定)
• AWS IoT Core と AWS Greengrassへの接続機能を標準搭載
• 保守性 (署名付きOTAファームウェアアップデート –追加予定)
組み込みデベロッパーが開発組み込みアプリケーション
FreeRTOS カーネル
セキュリティーライブラリ
コネクティビティー
ライブラリ
OV
ER
TH
A A
IR (
OTA)
エージェント
クラウド
&
Gre
engra
ssライブラリ
HW ドライバー
a:FreeRTOS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon FreeRTOS 認定 プログラム
特徴• パートナー向けに標準インターフェースを提供
利点• 開発者とOEMは、選択したチップセットがFreeRTOSで完全に検証され、FreeRTOSの機能を利用できる事を確信できます。
• AWS IoT CoreおよびAWS Greengrassとシームレスに統合しています。
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon FreeRTOS エコシステム | ツール、サポート
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DevOps update
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Cloud9
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
ソフトウェア開発の3つの柱
なぜ新しいIDEを開発したのか?
AWS Cloud9 のベネフィット
利用可能リージョン
Q&A
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ソフトウェア開発の3つの柱
Compute
Amazon EC2 | AWS Fargate | Amazon ECS | AWS Lambda | …
Storage
Amazon Aurora | Amazon RDS | Amazon Redshift | …
100+ Services
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ソフトウェア開発の3つの柱
AWS CodeCommit AWS CodeBuild AWS CodeDeploy
AWS
CodePipeline
AWS CodeStar
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ソフトウェア開発の3つの柱
A cloud IDE for writing, running, and debugging code
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
なぜ新しいIDEを開発したのか?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1.開発者はクラウド向けのアプリを構築しているが、開発にはローカルマシンを利用している
ローカルマシンのハードウェア/設定に依存
複数プロジェクトを掛け持ちするのが困難
離れたロケーションで働くのが難しい
Pain points
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2. 開発環境のセットアップが面倒
Install IDE & Plugins
Configure Stack
Start writing code
Match environment to production
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.開発環境のセットアップが面倒(続き)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2.開発環境のセットアップが面倒(続き)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3. 開発者はコードのより容易なコラボレーションの方法が必要
相手のスクリーンでレビューするのはうまくスケールしない
スクリーン共有ツールは頻繁なコンテキストのスイッチを
強いられる
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4.今のIDEはまだサーバーレスアプリケーションに必要な機能に追いつけていない
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Introducing…
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ブラウザのみで開発
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
素早く新しいプロジェクトを開始
Install IDE & Plugins
Configure Stack
Start writing code
Match environment to production
Create a new
environment
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
リアルタイムに共同コーディング
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
サーバーレスアプリケーションの開発を容易に
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWSサービスに直接ターミナルアクセス
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Available todayaws.amazon.com/cloud9
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
US East (N. Virginia)
(us-east-1)
US West (Oregon)
(us-west-2)
Generally Available today
EU (Ireland)
(eu-west-1)
Asia Pacific (Singapore)
(ap-southeast-1)
AWS Cloud9 が利用可能なリージョン
US East (Ohio)
(us-east-2)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
価格
Managed EC2
IDEは無料
実行及びコードの保存に必要な標準的
なコンピュート、ストレージの料金
(Amazon EC2、Amazon EBS)
Own Linux Server (SSH)
IDEは無料
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
その他のDevOps Update
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CodeCommitがプルリクエストに対応
• リポジトリのユーザに対して、プルリクエストを起点としたコードに関する議論やコミュニケーションの機会を提供できるようになった
• CodeCommitの仕組みの中でコードレビューを実施したり、変更箇所を精査することが可能に。結果として品質改善に繋げることができる
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CodeCommit プルリクエスト
• 開発者がフィーチャーリクエスト用のブランチに、変更を追加
• Pull Requestを発行
• リーダーがレビューしコメントを記入
• OKであればマージ
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CodeDeployがローカルのテストとデバッグをサポート• 更新されたAWS CodeDeployエージェントでローカルでのテストとデバッグが可能に
• デプロイメントに利用できるトラブルシュートのためのCLIを提供。ターミナルからエージェントに接続し、容易にエラー発生の原因を確認することが可能に
• エージェントのバージョンはversion1.0.1.1352かそれ以降で有効
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS CodeBuildがVPC内リソースのサポートとDependency Cacheを追加• CodeBuildがVPC内のリソースへのアクセスをサポートし、RDS、EC2、ECSなどVPC内リソースを利用したビルドを実行することが可能に
• AWS CodeBuild内の依存関係をキャッシュすることが可能になり、頻繁にビルドを実行する際の効率を向上
• 環境の準備、設定の更新、依存ファイルのダウンロード、単体テスト、パッケージングなどフェーズでDependency Cacheを利用することで効率化を期待できる
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Systems Manager
• 統合化されたインターフェイスによって、AWS全体で運用データと自動化タスクを容易に管理
• インフラ運用の課題に費やす時間を短縮
• インフラのパフォーマンス、設定、リソースとアプリケーションの管理を単純化
• スケールするインフラの管理と運用を容易に
• 従来からある機能はそのまま提供• Automation, Run Command, Patch Manager, Maintenance
Window, State Manager, Parameter Store
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Systems Manager – Resource Groups
• リソースグループ• AWS Resource Groupsは、同一リージョンのAWSリソースのコレクションで、クエリで提供されるクライテリアにマッチしたもの
• リソースグループ コンソールやAWS CLIのResource Groups コマンドでクエリを構築可能
• タグで指定されたクライテリアをベースにした統合された情報のカスタムコンソールを作成可能
• 設定したリソースグループに対して、Automation、Run
Command、Patch Manager、メンテナンスウィンドウなどを適用可能
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Systems Manager - Insights Dashboard
• ダッシュボードを通じてリソースグループを自動的に集約して運用データを表示
• AWS CloudTrailのログ、AWS Configの構成変更、ソフトウェアインベントリ、パッチコンプライアンス状態などを表示
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
オンラインセミナー資料の配置場所
AWS クラウドサービス活用資料集• http://aws.amazon.com/jp/aws-jp-introduction/
AWS Solutions Architect ブログ• 最新の情報、セミナー中のQ&A等が掲載されています
• http://aws.typepad.com/sajp/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
公式Twitter/Facebook
AWSの最新情報をお届けします
@awscloud_jp
検索
最新技術情報、イベント情報、お役立ち情報、お得なキャンペーン情報などを日々更新しています!
もしくはhttp://on.fb.me/1vR8yWm
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWSの導入、お問い合わせのご相談
AWSクラウド導入に関するご質問、お見積り、資料請求をご希望のお客様は以下のリンクよりお気軽にご相談くださいhttps://aws.amazon.com/jp/contact-us/aws-sales/
※「AWS 問い合わせ」で検索してください
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ご参加ありがとうございました
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Top Related