SlideShare a Scribd company logo
1 of 55
Download to read offline
7 8 ,1. 1 /1 8/ 22 1 3 1 1 10
W c d
I S ehf ab
AWS Black Belt Online Seminar
, A T g
1 18 ..121 8 22 1 08 ,
na i
e ( L TW
L TW
b KA d
) S I
) ( ) , / /
mh
1 18 ..121 8 22 1 08 ,
, 8: , E 3B B A B8D
1 : O a I c a e m rJW
& L
n J o W b c
0C E:
( ) L
iJtl do J
& . 28A9 8 E:
a~ ORT cR S
e m rJ lhk J ie
// . . / . /. -.
1 18 ..121 8 22 1 08 ,
• u )t (s j nl Mca S b
/. hiojgm 7 0 A 0 0 2 W
• y S Mdb /. hiojgm
w /. hiojgm f W b
• b su v M z q prf e w
f W b
/. 3 A 18 38 82 C A /. 828 8A C1:82: 0 08:01: 0 3 8A AC1 2 270 8 022 30 2 8 7 7 /. ,CA 0 08:01:
0 7 0 A 0 0 2 0 828 8 0 8 8 2:C3 3 8 78A 3 2C 8A 83 3 : 0A 0 A 8 0 CA0 270 A /. A 82 A
10A 3 2 08 8 0 8 70 C 70 83 3 7: 270 A 8:: 1 10A 3 C 02 C0: CA /. A 82 A 0 3 0 0 7 A 8 0 A
83 3
1 18 ..121 8 22 1 08 ,
C
r
o a/T / C
IWS =
o
s t t I
C
W C C WS P
o AC
1 18 ..121 8 22 1 08 ,
•
•
•
1 18 ..121 8 22 1 08 ,
1 18 ..121 8 22 1 08 ,
/
• I a B
• = B
de W g h c C wy
t A R G Si a E
) = ( Ca t T sn wy
r A P E Rl S
• / / M yo 2
1 18 ..121 8 22 1 08 ,
•
• ) (
https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/device-certs-your-own.html#create-
device-cert
1 18 ..121 8 22 1 08 ,
A C
) I
• )
• )
)
• )
• (
• (
• )
• (
• (
/
/
C
=
A
1 18 ..121 8 22 1 08 ,
/ /
IJ P
P A a S
P A A a e
W cT
1 18 ..121 8 22 1 08 ,
+ a g Co
-
- A
.
RW T T IC A
- < - /
A S ED
T $ > - <-
https://aws.amazon.com/jp/blogs/news/new-just-in-time-certificate-registration-for-aws-iot/
a c / /
Ag lnI R
T i
) - (k
e AT
JD V Tm E
hb
{
"certificateId": "",
"caCertificateId": "",
"timestamp": "",
"certificateStatus": "PENDING_ACTIVATION",
"awsAccountId": "",
"certificateRegistrationTimestamp": ""
}
1 18 ..121 8 22 1 08 ,
https://github.com/aws-samples/aws-iot-examples/blob/master/justInTimeRegistration/deviceActivation.js
Policy template
Create Policy
attach Policy
activate
Just in time registration A
1 18 ..121 8 22 1 08 ,
/ /
H :
B H
Amazon
DynamoDB
AWS IoT
AWS IoT Amazon
DynamoDB
AWS
Lambda
response/topic
policy
mqtt topic
HTTP request
AWS
Lambda
devicedevice
Amazon API
Gateway
1 18 ..121 8 22 1 08 ,
oiCu T
. ) W
• . ) A ) S A
W A I J
W
• a T A S v S
gumtCsv T r m
2 24 /
• lne 33 2 . S S B
W A cf dpCm A
S12 2 PI a
/ 4
• T 1S y
1 18 ..121 8 22 1 08 ,
B
- ) sn p J sn
• t lJ J 2 3 ) u I
l J D
• sn e m
2 24 12 2
• t W 2 C
roJ l g l IT J
• - ) I r J t
2 1
• e c t J A e SJ e
a i J D
1 18 ..121 8 22 1 08 ,
1 18 ..121 8 22 1 08 ,
- e
re
u
hu h I
t
S
W ibl M
3 k M T sc
A M n
A p
o
2,
8.A 9 ,2 2 02 90 . 2 5 2 2 21
,
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)
1 18 ..121 8 22 1 08 ,
9
3)1 32
32
3)
32 21
))
1
e.g) wget tempolay I
wget
--private-key= private.pem.key
--certificate= certificate.pem.crt
--ca-directory= AmazonRootCA1.pem
https://<your_info>.credentials.iot.us-west-2.amazonaws.com:443/role-aliases/<2
alias>/credentials
https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/authorizing-direct-aws.html
5 0 5 . 5
)Credential A 2) CreateRoleAlias API (900-3600 )
1 18 ..121 8 22 1 08 ,
X.509
Certificate
AWS SigV4 Instances
Corporate data
center
Key/token
IoT thing
lightbulb
IAM
Lambda
function
AWS IoT
https://aws.amazon.com/jp/blogs/security/how-to-use-your-own-identity-and-access-management-systems-to-control-access-to-
aws-iot-resources/
1 18 ..121 8 22 1 08 ,
1 18 ..121 8 22 1 08 ,
) -
) - P - )
) ) >
G T >= >=
1 18 ..121 8 22 1 08 ,
(7
• (7 T G
• (7 eg )2 7-7 1: G
• ,12 0 (7 a
• eg PH L hT
• c - 2 7 7 H h G
• (7 H P
• eg eg
• PH 2 :
1 18 ..121 8 22 1 08 ,
W aAb W S
W aAbu
18 b Ai
poy
) / 2 5
( shadow )
42 h W Sad nbmAl IB
hl 513 ws B
ws D (-2 t
18
T
K BIad a ne An
1 18 ..121 8 22 1 08 ,
lh uo uW
35 B A=53 bd
• w Wa ln i 35 BeA=53 Sd
d
• I ( I , 3: , B .3: 53 yD
35 B A=53
• Dit ms W = Sd D )
d
• T ypt r
20 1W D, 3: ,
• 0 35 B e L P
1 18 ..121 8 22 1 08 ,
:
1 18 ..121 8 22 1 08 ,
<67 P J
aP d
46= 7 = A76 4 7
d
64A7T =
I
= G =5S
A4A S
( 1 46= 64A7
WT 0.
) b S
31 .=2 b
1 18 ..121 8 22 1 08 ,
4cpSa 5 3D
1 / ee d bb yl ba ot6 5 D6 D 4 66 6 _hu
$ 3 D D K 4D 355
cD 4D5C 4
3 D D K 4D
4 D
4f{cjr
4 Pb kg
$ D 4D5C 4 c5 D
( 3 D D K 4D J I
cD 4D5C 4
) 4sn
) J I 4 jr ba
7) $aws/things/{thing }/jobs/{job-
id}/update
publish
pS 4ckg
- 2 C DD 1 55 DD
vxjr
wm ai ( D 4D5C 4 Cc
I
job A
1 18 ..121 8 22 1 08 ,
•
J
•
J :
b Job 90 90 list i
m Job z c nAPI S g vW o
job dfael r I Jobb scriptI hs jobb fael
t A
1 18 ..121 8 22 1 08 ,
+ Tcados" (#
+ { os
) hg imd mb ) - u }i j
-3 u
+ S 1 / A / 3 A S
S e e 1 1W
/ $ np 1 3 1 r w
" tI # J
1 18 ..121 8 22 1 08 ,
)
) J
3 A >A2 ( =/ 1 I A J
> A J
c f
Thing / Thing Group
Task documentI
SW Job dIJSON
I AS3 e
gI
ba I f
1 18 ..121 8 22 1 08 ,
C Y dg u $ $
H E N_DH A P n U C NaT DH A
GCD wtb rS_
GCD I G B / C / ) HD G
ps CBicM h wtbO JDH A GC GCD Jjelb t
{ "status": "IN_PROGRESS", "statusDetails": { "progress": "0%" }, "expectedVersion":"",
"clientToken":"" }
C b RUOo / 1 )33b3 ))()( R DH A S_
statusDetails
device
A
1 18 ..121 8 22 1 08 ,
1 18 ..121 8 22 1 08 ,
T W I
S I A
A
1 18 ..121 8 22 1 08 ,
6 J
Shadow
Device SDK
6
7 3
5
O N 6 6
O N 6
O
1 2
S
3 O N . 6
O
6
6
1 2 4
AWS IoT
1 18 ..121 8 22 1 08 ,
N
1
1 0
0 0
,
01 "
" pe d N g
N a
io :
g a
N l
N , 1 0 nF0 0
O
1 18 ..121 8 22 1 08 ,
F :
"engine" : ”OFF”
01 1
0
, ,
1
, ,
0 , "
1 18 ..121 8 22 1 08 ,
:
"engine" : ”ON”
01 1
0
, ,
1
, ,
0 , "
1 18 ..121 8 22 1 08 ,
, :
"engine" : "ON”
1
1 0
0 0
,
01 "
1 18 ..121 8 22 1 08 ,
) ( :
"engine" : "ON”
(
) ,1 )
,
"
1 0 1 )
,
"
) (
,
"
1 ,
1 18 ..121 8 22 1 08 ,
1 0 0 02:
“temp" : 20
12 2
1 0
2 ,
5
0 02
2 ,
5
5
01 "
5
IoT thing
thermostat
e.g)
1 18 ..121 8 22 1 08 ,
2 1 1 0 1 :
“temp" : 25
5
2 5
2 1 5
0
1 0 1 5
0
, 5
0
12 "
IoT thing
thermostat
1 18 ..121 8 22 1 08 ,
/ n i
sg v / ) c sg
obhu a bpw
t $ ) Srl e
/ v
) / /
$ / df / g
m
1 18 ..121 8 22 1 08 ,
JRO E 588 8 =
MP K ,0 ,0 ,0 D
JRO E 588 QL FTS
AWS IoT Thing Shadow
/ A 1 :1
A 1 :1 1
A 1
A 1 1
: 1 1
6-, -113
1-, C
8- 4 ($$
) (
https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/device-shadow-mqtt.html
1 18 ..121 8 22 1 08 ,
)In=d
( G= a svG rI
= = b = pi m
, ( S fG J tI
( h m ( w
( e om G h u
n> m G
1 18 ..121 8 22 1 08 ,
1 18 ..121 8 22 1 08 ,
?G
A? I
Gateway/Edge Computer
Thing
Thing
Thing
mqtt
BLE etc
?
/
1 18 ..121 8 22 1 08 ,
l b S to O
0 1 65 5 s
• W ul , 11 -- 1 N
E
• W 9 365:
p ul
W p ul
• ul i W A CTNE
m A b I h AMQ
https://docs.aws.amazon.com/ja_jp/general/latest/gr/aws_service_limits.html#limits_iot
1 18 ..121 8 22 1 08 ,
if
(
h n
g
) ( m
1 18 ..121 8 22 1 08 ,
I
AWS
• http://aws.amazon.com/jp/aws-jp-introduction/
• S I Q&AW A
• http://aws.typepad.com/sajp/
, 8 0 0 .0 8. 11 , 0 2 0 0 0/
@awscloud_jp
cA TWS cAFde cA
F W W c b I
http://on.fb.me/1vR8yWm
0 ,.0
c Fa I
1 18 ..121 8 22 1 08 ,
l An c i
AWS S l fn Abh e g
m A o W A i
https://aws.amazon.com/jp/contact-us/aws-sales/
AWS n c ad I
:/ . 0 - 71 1 7 447 7/ 7 2
.- . 1 7 1 2 l it e zW
• . 1 7 1 2 aI bI ShQ vsl n S j
.-u m Sw f l
e
/ / 1 A2 1 : / 1 7 1 2 1 A 7 , 8 :
• pc
• rd go
1 18 ..121 8 22 1 08 ,

More Related Content

More from Amazon Web Services Japan

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用Amazon Web Services Japan
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdfAmazon Web Services Japan
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介Amazon Web Services Japan
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon Web Services Japan
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことAmazon Web Services Japan
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチAmazon Web Services Japan
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介Amazon Web Services Japan
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer ProfilesAmazon Web Services Japan
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Web Services Japan
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨Amazon Web Services Japan
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介Amazon Web Services Japan
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介Amazon Web Services Japan
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...Amazon Web Services Japan
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピAmazon Web Services Japan
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operationsAmazon Web Services Japan
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報Amazon Web Services Japan
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをなAmazon Web Services Japan
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPNAmazon Web Services Japan
 

More from Amazon Web Services Japan (20)

202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
 
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
 
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
 
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDDAmazon QuickSight の組み込み方法をちょっぴりDD
Amazon QuickSight の組み込み方法をちょっぴりDD
 
マルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのことマルチテナント化で知っておきたいデータベースのこと
マルチテナント化で知っておきたいデータベースのこと
 
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
 
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
 
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
 
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するためにAmazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
 
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
 
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
 
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
 
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
 
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
202112 AWS Black Belt Online Seminar 店内の「今」をお届けする小売業向けリアルタイム配信基盤のレシピ
 
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations20211209 Ops-JAWS Re invent2021re-cap-cloud operations
20211209 Ops-JAWS Re invent2021re-cap-cloud operations
 
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
20211203 AWS Black Belt Online Seminar AWS re:Invent 2021アップデート速報
 
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
[AWS EXpert Online for JAWS-UG 18] 見せてやるよ、Step Functions の本気ってやつをな
 
20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes20211109 JAWS-UG SRE keynotes
20211109 JAWS-UG SRE keynotes
 
20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)20211109 bleaの使い方(基本編)
20211109 bleaの使い方(基本編)
 
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
202110 AWS Black Belt Online Seminar AWS Site-to-Site VPN
 

Recently uploaded

Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFMichael Gough
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 

Recently uploaded (20)

Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
All These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDFAll These Sophisticated Attacks, Can We Really Detect Them - PDF
All These Sophisticated Attacks, Can We Really Detect Them - PDF
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 

20180327 AWS Black Belt Online Seminar AWS IoT におけるデバイス管理

  • 1. 7 8 ,1. 1 /1 8/ 22 1 3 1 1 10 W c d I S ehf ab AWS Black Belt Online Seminar , A T g
  • 2. 1 18 ..121 8 22 1 08 , na i e ( L TW L TW b KA d ) S I ) ( ) , / / mh
  • 3. 1 18 ..121 8 22 1 08 , , 8: , E 3B B A B8D 1 : O a I c a e m rJW & L n J o W b c 0C E: ( ) L iJtl do J & . 28A9 8 E: a~ ORT cR S e m rJ lhk J ie // . . / . /. -.
  • 4. 1 18 ..121 8 22 1 08 , • u )t (s j nl Mca S b /. hiojgm 7 0 A 0 0 2 W • y S Mdb /. hiojgm w /. hiojgm f W b • b su v M z q prf e w f W b /. 3 A 18 38 82 C A /. 828 8A C1:82: 0 08:01: 0 3 8A AC1 2 270 8 022 30 2 8 7 7 /. ,CA 0 08:01: 0 7 0 A 0 0 2 0 828 8 0 8 8 2:C3 3 8 78A 3 2C 8A 83 3 : 0A 0 A 8 0 CA0 270 A /. A 82 A 10A 3 2 08 8 0 8 70 C 70 83 3 7: 270 A 8:: 1 10A 3 C 02 C0: CA /. A 82 A 0 3 0 0 7 A 8 0 A 83 3
  • 5. 1 18 ..121 8 22 1 08 , C r o a/T / C IWS = o s t t I C W C C WS P o AC
  • 6. 1 18 ..121 8 22 1 08 , • • •
  • 7. 1 18 ..121 8 22 1 08 ,
  • 8. 1 18 ..121 8 22 1 08 , / • I a B • = B de W g h c C wy t A R G Si a E ) = ( Ca t T sn wy r A P E Rl S • / / M yo 2
  • 9. 1 18 ..121 8 22 1 08 , • • ) ( https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/device-certs-your-own.html#create- device-cert
  • 10. 1 18 ..121 8 22 1 08 , A C ) I • ) • ) ) • ) • ( • ( • ) • ( • ( / / C = A
  • 11. 1 18 ..121 8 22 1 08 , / / IJ P P A a S P A A a e W cT
  • 12. 1 18 ..121 8 22 1 08 , + a g Co - - A . RW T T IC A - < - / A S ED T $ > - <- https://aws.amazon.com/jp/blogs/news/new-just-in-time-certificate-registration-for-aws-iot/ a c / / Ag lnI R T i ) - (k e AT JD V Tm E hb { "certificateId": "", "caCertificateId": "", "timestamp": "", "certificateStatus": "PENDING_ACTIVATION", "awsAccountId": "", "certificateRegistrationTimestamp": "" }
  • 13. 1 18 ..121 8 22 1 08 , https://github.com/aws-samples/aws-iot-examples/blob/master/justInTimeRegistration/deviceActivation.js Policy template Create Policy attach Policy activate Just in time registration A
  • 14. 1 18 ..121 8 22 1 08 , / / H : B H Amazon DynamoDB AWS IoT AWS IoT Amazon DynamoDB AWS Lambda response/topic policy mqtt topic HTTP request AWS Lambda devicedevice Amazon API Gateway
  • 15. 1 18 ..121 8 22 1 08 , oiCu T . ) W • . ) A ) S A W A I J W • a T A S v S gumtCsv T r m 2 24 / • lne 33 2 . S S B W A cf dpCm A S12 2 PI a / 4 • T 1S y
  • 16. 1 18 ..121 8 22 1 08 , B - ) sn p J sn • t lJ J 2 3 ) u I l J D • sn e m 2 24 12 2 • t W 2 C roJ l g l IT J • - ) I r J t 2 1 • e c t J A e SJ e a i J D
  • 17. 1 18 ..121 8 22 1 08 ,
  • 18. 1 18 ..121 8 22 1 08 , - e re u hu h I t S W ibl M 3 k M T sc A M n A p o 2,
  • 19. 8.A 9 ,2 2 02 90 . 2 5 2 2 21 , 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)
  • 20. 1 18 ..121 8 22 1 08 , 9 3)1 32 32 3) 32 21 )) 1 e.g) wget tempolay I wget --private-key= private.pem.key --certificate= certificate.pem.crt --ca-directory= AmazonRootCA1.pem https://<your_info>.credentials.iot.us-west-2.amazonaws.com:443/role-aliases/<2 alias>/credentials https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/authorizing-direct-aws.html 5 0 5 . 5 )Credential A 2) CreateRoleAlias API (900-3600 )
  • 21. 1 18 ..121 8 22 1 08 , X.509 Certificate AWS SigV4 Instances Corporate data center Key/token IoT thing lightbulb IAM Lambda function AWS IoT https://aws.amazon.com/jp/blogs/security/how-to-use-your-own-identity-and-access-management-systems-to-control-access-to- aws-iot-resources/
  • 22. 1 18 ..121 8 22 1 08 ,
  • 23. 1 18 ..121 8 22 1 08 , ) - ) - P - ) ) ) > G T >= >=
  • 24. 1 18 ..121 8 22 1 08 , (7 • (7 T G • (7 eg )2 7-7 1: G • ,12 0 (7 a • eg PH L hT • c - 2 7 7 H h G • (7 H P • eg eg • PH 2 :
  • 25. 1 18 ..121 8 22 1 08 , W aAb W S W aAbu 18 b Ai poy ) / 2 5 ( shadow ) 42 h W Sad nbmAl IB hl 513 ws B ws D (-2 t 18 T K BIad a ne An
  • 26. 1 18 ..121 8 22 1 08 , lh uo uW 35 B A=53 bd • w Wa ln i 35 BeA=53 Sd d • I ( I , 3: , B .3: 53 yD 35 B A=53 • Dit ms W = Sd D ) d • T ypt r 20 1W D, 3: , • 0 35 B e L P
  • 27. 1 18 ..121 8 22 1 08 , :
  • 28. 1 18 ..121 8 22 1 08 , <67 P J aP d 46= 7 = A76 4 7 d 64A7T = I = G =5S A4A S ( 1 46= 64A7 WT 0. ) b S 31 .=2 b
  • 29. 1 18 ..121 8 22 1 08 , 4cpSa 5 3D 1 / ee d bb yl ba ot6 5 D6 D 4 66 6 _hu $ 3 D D K 4D 355 cD 4D5C 4 3 D D K 4D 4 D 4f{cjr 4 Pb kg $ D 4D5C 4 c5 D ( 3 D D K 4D J I cD 4D5C 4 ) 4sn ) J I 4 jr ba 7) $aws/things/{thing }/jobs/{job- id}/update publish pS 4ckg - 2 C DD 1 55 DD vxjr wm ai ( D 4D5C 4 Cc I job A
  • 30. 1 18 ..121 8 22 1 08 , • J • J : b Job 90 90 list i m Job z c nAPI S g vW o job dfael r I Jobb scriptI hs jobb fael t A
  • 31. 1 18 ..121 8 22 1 08 , + Tcados" (# + { os ) hg imd mb ) - u }i j -3 u + S 1 / A / 3 A S S e e 1 1W / $ np 1 3 1 r w " tI # J
  • 32. 1 18 ..121 8 22 1 08 , ) ) J 3 A >A2 ( =/ 1 I A J > A J c f Thing / Thing Group Task documentI SW Job dIJSON I AS3 e gI ba I f
  • 33. 1 18 ..121 8 22 1 08 , C Y dg u $ $ H E N_DH A P n U C NaT DH A GCD wtb rS_ GCD I G B / C / ) HD G ps CBicM h wtbO JDH A GC GCD Jjelb t { "status": "IN_PROGRESS", "statusDetails": { "progress": "0%" }, "expectedVersion":"", "clientToken":"" } C b RUOo / 1 )33b3 ))()( R DH A S_ statusDetails device A
  • 34. 1 18 ..121 8 22 1 08 ,
  • 35. 1 18 ..121 8 22 1 08 , T W I S I A A
  • 36. 1 18 ..121 8 22 1 08 , 6 J Shadow Device SDK 6 7 3 5 O N 6 6 O N 6 O 1 2 S 3 O N . 6 O 6 6 1 2 4 AWS IoT
  • 37. 1 18 ..121 8 22 1 08 , N 1 1 0 0 0 , 01 " " pe d N g N a io : g a N l N , 1 0 nF0 0 O
  • 38. 1 18 ..121 8 22 1 08 , F : "engine" : ”OFF” 01 1 0 , , 1 , , 0 , "
  • 39. 1 18 ..121 8 22 1 08 , : "engine" : ”ON” 01 1 0 , , 1 , , 0 , "
  • 40. 1 18 ..121 8 22 1 08 , , : "engine" : "ON” 1 1 0 0 0 , 01 "
  • 41. 1 18 ..121 8 22 1 08 , ) ( : "engine" : "ON” ( ) ,1 ) , " 1 0 1 ) , " ) ( , " 1 ,
  • 42. 1 18 ..121 8 22 1 08 , 1 0 0 02: “temp" : 20 12 2 1 0 2 , 5 0 02 2 , 5 5 01 " 5 IoT thing thermostat e.g)
  • 43. 1 18 ..121 8 22 1 08 , 2 1 1 0 1 : “temp" : 25 5 2 5 2 1 5 0 1 0 1 5 0 , 5 0 12 " IoT thing thermostat
  • 44. 1 18 ..121 8 22 1 08 , / n i sg v / ) c sg obhu a bpw t $ ) Srl e / v ) / / $ / df / g m
  • 45. 1 18 ..121 8 22 1 08 , JRO E 588 8 = MP K ,0 ,0 ,0 D JRO E 588 QL FTS AWS IoT Thing Shadow / A 1 :1 A 1 :1 1 A 1 A 1 1 : 1 1 6-, -113 1-, C 8- 4 ($$ ) ( https://docs.aws.amazon.com/ja_jp/iot/latest/developerguide/device-shadow-mqtt.html
  • 46. 1 18 ..121 8 22 1 08 , )In=d ( G= a svG rI = = b = pi m , ( S fG J tI ( h m ( w ( e om G h u n> m G
  • 47. 1 18 ..121 8 22 1 08 ,
  • 48. 1 18 ..121 8 22 1 08 , ?G A? I Gateway/Edge Computer Thing Thing Thing mqtt BLE etc ? /
  • 49. 1 18 ..121 8 22 1 08 , l b S to O 0 1 65 5 s • W ul , 11 -- 1 N E • W 9 365: p ul W p ul • ul i W A CTNE m A b I h AMQ https://docs.aws.amazon.com/ja_jp/general/latest/gr/aws_service_limits.html#limits_iot
  • 50. 1 18 ..121 8 22 1 08 , if ( h n g ) ( m
  • 51. 1 18 ..121 8 22 1 08 , I AWS • http://aws.amazon.com/jp/aws-jp-introduction/ • S I Q&AW A • http://aws.typepad.com/sajp/
  • 52. , 8 0 0 .0 8. 11 , 0 2 0 0 0/ @awscloud_jp cA TWS cAFde cA F W W c b I http://on.fb.me/1vR8yWm 0 ,.0 c Fa I
  • 53. 1 18 ..121 8 22 1 08 , l An c i AWS S l fn Abh e g m A o W A i https://aws.amazon.com/jp/contact-us/aws-sales/ AWS n c ad I
  • 54. :/ . 0 - 71 1 7 447 7/ 7 2 .- . 1 7 1 2 l it e zW • . 1 7 1 2 aI bI ShQ vsl n S j .-u m Sw f l e / / 1 A2 1 : / 1 7 1 2 1 A 7 , 8 : • pc • rd go
  • 55. 1 18 ..121 8 22 1 08 ,