More Related Content
Similar to Node-REDのフローをバックアップしよう (20)
Node-REDのフローをバックアップしよう
- 1. Copyright 2016 Nippon Information and Communication Corporation
Node-REDのフローをバックアップしよう!
⽇本情報通信株式会社
先進テクノロジーグループ
⽔津 幸太
2016.8.26
- 2. - 2 -
Copyright 2016 Nippon Information and Communication Corporation
⽔津 幸太 (Kota Suizu)
ソリューションビジネス本部 クラウド・テクニカルセールス部 先進テクノロジーグループ
SOA, BPM (IBM WebSphere)を⽤いた設計開発エンジニア、その後セキュリティソリュー
ション (IBM InfoSphere, Security)エンジニアを経て、現在、アーキテクト兼プロジェクト
マネージャーとして様々なプロジェクトを⽀援しつつ、先進的なソリューションのご提案や
仕組みづくりを⾏っている。
すいず こうた
⽇本情報通信株式会社
⽇本アイ・ビー・エムとNTTの合資会社として創業30年となるSIerです。創業時からNTT
のネットワーク技術とIBMのサーバ/ソフトウェア技術を活かしたシステム構築を実施。
ここ10年ほどはネットワークプラットフォーム、EDI等のマネージドサービスを運営し現
在はクラウドそして分析ソリューションに注⼒しています。
http://www.niandc.co.jp
kota.suizu.5
- 3. - 3 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasketを使ってバックアップしよう2
こんな感じに使うと便利かも3
Node-REDは便利。でも、、、、1
- 4. - 4 -
Copyright 2016 Nippon Information and Communication Corporation
1.Node-REDは便利。でも、、、、
- 5. - 5 -
Copyright 2016 Nippon Information and Communication Corporation
Node-REDは便利!
• Input→処理→Outputをより簡単に記述することが可能
• ノードと呼ばれる部品をGUI上でワイヤリングし、ノード内にそのノードに
必要な処理を記載するだけ
INPUT OUTPUTFunction
- 6. - 6 -
Copyright 2016 Nippon Information and Communication Corporation
でも気をつけないと、、、
ヽ(*´∇`)ノ ヽ(*´∇`)ノ
- 7. - 7 -
Copyright 2016 Nippon Information and Communication Corporation
でも気をつけないと、、、
(・ω・)ノ ┗(`・ω・´)┛フンヌッ!
- 8. - 8 -
Copyright 2016 Nippon Information and Communication Corporation
でも気をつけないと、、、
(*`・へ・´*)ドヤァ (・ω・´●)
- 9. - 9 -
Copyright 2016 Nippon Information and Communication Corporation
でも気をつけないと、、、
ヾ(。>﹏<。)ノ (*ノω・*)テヘ
- 10. - 10 -
Copyright 2016 Nippon Information and Communication Corporation
2.node-red-flowbasketを使ってバックアップしよう
- 11. - 11 -
Copyright 2016 Nippon Information and Communication Corporation
Node-RED in BlueMix のフローをバックアップする
node-red-flowbasket で出来ること
• バックアップ
• 現在デプロイされているフロー定義が対象です
• バックアップ先はCloudant DBとなります
• バックアップコメント⼊れられます
• 既にバックアップ済の場合はスキップできます
- 12. - 12 -
Copyright 2016 Nippon Information and Communication Corporation
Node-RED in BlueMix のフローをバックアップする
node-red-flowbasket の事前準備
1. Node-RED アプリケーションへ flowbasket Node を追加する
1. package.json dependencies の編集
2. バックアップ先となる Cloudant DB を作成する
1. DB の作成
2. DB へ Search Index を追加
- 13. - 13 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の事前準備
Nodeの追加(package.jsonの編集)
- 14. - 14 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の事前準備
Nodeの追加(package.jsonの編集)
- 15. - 15 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の事前準備
Nodeの追加(package.jsonの編集)
- 16. - 16 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の事前準備
Nodeの追加(package.jsonの編集)
- 17. - 17 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の事前準備
バックアップ先DB(DB作成)
- 18. - 18 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の事前準備
バックアップ先DB(Search Index追加)
- 19. - 19 -
Copyright 2016 Nippon Information and Communication Corporation
Node-RED in BlueMix のフローをバックアップする
node-red-flowbasket の利⽤
• バックアップフロー 作成
• バックアップフロー 実⾏確認
• flowbasket toBackup オプションパラメータ
- 20. - 20 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の利⽤
バックアップフロー作成
- 21. - 21 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の利⽤
バックアップフロー実⾏確認
- 22. - 22 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の利⽤
バックアップフロー オプションパラメータ
- 23. - 23 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket の利⽤
バックアップフロー オプションパラメータ
- 24. - 24 -
Copyright 2016 Nippon Information and Communication Corporation
3.こんな感じに使うと便利かも
- 25. - 25 -
Copyright 2016 Nippon Information and Communication Corporation
こんな感じに使うと便利かも
flowbasket 活⽤例
• 定期的にバックアップする
• 複数環境に同じフローをデプロイする
- 26. - 26 -
Copyright 2016 Nippon Information and Communication Corporation
さいごに、、、
node-red-flowbasket の他にもいくつかNodeを公開してます。
ぜひ使って下さい!!
- 28. - 28 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket
<<参考>>フロー情報
- 29. - 29 -
Copyright 2016 Nippon Information and Communication Corporation
node-red-flowbasket
<<参考>>フロー情報