Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Node-REDからAWS IoT Coreを使用してみる
Search
ueponx
August 28, 2022
How-to & DIY
2.1k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node-REDからAWS IoT Coreを使用してみる
ノーコードツールNode-REDからAWS IoT Coreを使用してみましたという内容のスライドになります。
ueponx
August 28, 2022
More Decks by ueponx
See All by ueponx
「Docker Desktop不要の時代」は来たのか?」
ueponx
0
87
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
760
CMDとPowerShellの違いと現場Tipsを整理してみる
ueponx
0
46
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
2.7k
中部 Champion会の活動 Bobで作る経営ダッシュボード
ueponx
0
37
TinyTroupeで人狼ゲームやってみた!
ueponx
0
1k
Node-REDで広がるプログラミング教育の可能性
ueponx
1
380
開発用LLMインフラをVSCode内で完結させる
ueponx
1
520
Node-REDからreCameraへのファーストタッチ
ueponx
0
230
Other Decks in How-to & DIY
See All in How-to & DIY
What's the difference in taste between expensive and cheap mills? Measuring coffee particle size distribution using ImageJ
dogrunjp
0
900
大量のiOSシミュレータにアプリをインストールする
gurrium
0
190
Node-REDで制御できるエッジカメラのreCameraを触る #iotlt #JLCPCB #recamera
n0bisuke2
0
210
EXPO 2025 大屋根リングをぐるっと周回! 【GPSマルチユニット×ソラカメ実験】
scbc1167
0
160
EjecTea 2026 / 20260228-osc26tk-ejectea
akkiesoft
0
1.1k
ATOMS3R-CAMとClaude SKILLSでタイムラプスチャレンジ #iotlt
n0bisuke2
0
460
artisoc Cloudレシピブック_14. ひとつのモデルを複数回実行するモデルを作ろう
artisoc_sns
0
110
Goカードゲームを 作ってみた!
senoue
0
330
JAWS/AWS Community Updates - JAWS-UG新潟 #29
awsjcpm
1
180
チームパフォーマンスを高めるための2種類のセルフマネジメント / Two Types of Self-Management for Improving Team Performance
iwashi86
4
1.2k
地域コミュニティって いいよね/Local Communities Are Pretty Great
aokiplayer
1
150
JAWS-UG/AWSコミュニティ アップデート (JAWS-UG函館支部)
awsjcpm
3
200
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
A better future with KSS
kneath
240
18k
Utilizing Notion as your number one productivity tool
mfonobong
4
620
A Modern Web Designer's Workflow
chriscoyier
699
190k
The Invisible Side of Design
smashingmag
301
52k
First, design no harm
axbom
PRO
2
1.3k
Odyssey Design
rkendrick25
PRO
2
870
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Code Reviewing Like a Champion
maltzj
529
40k
Being A Developer After 40
akosma
92
590k
Transcript
JAWS-UG 名古屋 LT未経験者にも登壇して貰いたいLT会 LT資料 2022.08.24 上田茂雄 @ueponx ノーコードツールNode-REDから AWS IoT
Coreを使用してみる
None
LT未経験者にも登壇して貰いたいLT会 • 実はIBMチャンピオンらしい・・・何故か4年目 でもNode-REDぐらいしか知りません IBMは情報がなくて…結構辛い そろそろ別のこともやりたかったりする • 考えたLTのネタ 👉前回がノーコードツールだったのでAWS上にNode-REDを構築する方法 👉IoT関連のこと
AWS環境でもNode-REDやるぜ!
AWS環境でもNode-REDやるぜ! 3以外はわからん…🥲
IoT関連やるしかねえ 数あるサービスの中から AWS IoT Coreを使用することに Node-REDからAWS IoT Coreに 対してMQTTプロトコルと使用して データのinput/outputを行う
AWS Cloud publish subscribe RaspberryPi MQTT Client MQTT Broker
実は・・・ https://dev.classmethod.jp/articles/node-red-aws-iot-core/ クラスメソッドさんの記事に同じ物があった ・・・でも、UIがかなり変わっているので、そのままやると初心者は◦ぬ
手順(1) ① AWS IoT Coreの設定 ◆AWS IoTでポリシーを作成 ◆AWS IoTでモノを作成 ◆AWS
IoTで証明書を作成・ダウンロード ◆AWS IoTのエンドポイントを取得 URLが発行されるのでコピー ② 生成された証明書をRaspberryPiに配置 ※ポリシーの設定の仕方が 細かく分割された点が注意
手順(2) ① Node-REDのインストールと起動 #インストール $ bash <(curl -sL https://raw.githubusercontent.com/node-red/linux- installers/master/deb/update-nodejs-and-nodered)
#起動 $ node-red #サービス化して起動 $ sudo systemctl start nodered.service #永続化 $ sudo systemctl enable nodered.service
手順(2) ② 拡張ノードの導入 • node-red-contrib-aws-iotという 拡張ノードをインストール ※UIからインストールできない • Node-REDを再起動 $
cd ~/.node-red $ npm install node-red-contrib-aws-iot
手順(3) フローの構築・プロパティの設定・デプロイ
手順(4) AWS IoT Coreのコンソール Node-REDを使用してテスト
EC2とS3しか使っていなかった小僧が Node-REDとAWS IoT Coreの連携を 無事にできました😍 🥲UIが1年程度でガラリと変わるため初見者◦し 【教訓】 情報が出たら寝かせず、すぐに勉強しないと資料が ないところからのスタートになるよ😖 まとめ