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
Transcript
14 slides
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年程度でガラリと変わるため初見者◦し 【教訓】 情報が出たら寝かせず、すぐに勉強しないと資料が ないところからのスタートになるよ😖 まとめ
More Decks by ueponx
See All by ueponx
「Docker Desktop不要の時代」は来たのか?」
ueponx
0
130
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
1.2k
CMDとPowerShellの違いと現場Tipsを整理してみる
ueponx
0
60
Docker Desktop不要の時代が来る? WSL標準の「wslc」で Linuxコンテナを動かしてみた.
ueponx
0
3.3k
中部 Champion会の活動 Bobで作る経営ダッシュボード
ueponx
0
48
TinyTroupeで人狼ゲームやってみた!
ueponx
0
1.1k
Node-REDで広がるプログラミング教育の可能性
ueponx
1
400
開発用LLMインフラをVSCode内で完結させる
ueponx
1
550
Node-REDからreCameraへのファーストタッチ
ueponx
0
230
Other Decks in How-to & DIY
See All in How-to & DIY
おっきなガジェットの回線事情
2bo
1
270
ライブ感を生む 巻き込み型スライドの作り方/Create your slide like a heavy metal concert
ikuodanaka
5
1.9k
4,8 sur 154 avis ou 5,0 sur 6 avis : quel institut de beauté choisir ?
radinscoquets
0
210
JAWS-UG 福岡 KYUSYU QUEST - AWSコミュニティ支援のいまむかし
awsjcpm
0
220
2025版 鯖落ちパーツで安価に機械学習用マシンを作ってみる
bobfromjapan
0
1.2k
ROSAというLLM使ったROSエージェントをおもちゃに実装してみた話
takeofuture
0
380
EjecTea 2026 / 20260228-osc26tk-ejectea
akkiesoft
0
1.1k
JAWS/AWS Community Updates - JAWS-UG新潟 #29
awsjcpm
1
190
Kernel/VM探検隊@関西 12回目 イベント会場から懇親会会場までの道のりマップ
fadis
0
130
LLMを「機能」として組み込む技術:「Figma to はてなCMS」におけるプロンプトエンジニアリングからAIエージェント構築にわたる精度向上の軌跡
nanimonodemonai
0
660
JAWS-UG/AWS Community Update 2026/05/25 JAWS-UG札幌 & 秋田コラボ会
awsjcpm
0
200
進捗報告 + 開発の連鎖
tanakamasayuki
1
560
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
250
Why Our Code Smells
bkeepers
PRO
340
58k
Odyssey Design
rkendrick25
PRO
3
980
KATA
mclloyd
PRO
35
16k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
970
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
Joys of Absence: A Defence of Solitary Play
codingconduct
1
590
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
860