Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Operation and Monitoring by Azure Bot Service

1,065 views

Published on

This Slide is Failure story.
I talked with Serverless Meetup Sappro.

Published in: Technology

Operation and Monitoring by Azure Bot Service

  1. 1. Operation and Monitoring by Azure Bot Service. Serverless Meetup Sapporo 11/12/2016 Jun Kudo
  2. 2. 最初に 最終目標としてBot Services(Functions)と様々な運用系サー ビスを連携を行ってみる。
  3. 3. Azure Bot Service Bot Framework Cognitive Services Azure Functions
  4. 4. Azure Bot Service • Notice : Azure Bot Service is Preview Service • Intelligent, serverless bot service that scales on demand • Start quickly with built-in templates • Reach your users on multiple channelsBoost the power of bots with Azure services • No server management or patching needed • Scale out automatically • Pay only for what you use
  5. 5. Bot Framework • Notice : Bot Framework is Preview Service • Build a great conversationalist. • Build and connect intelligent bots to interact with your users naturally wherever they are — from your website or app to text/SMS, Skype, Slack, Facebook Messenger, Office 365 mail, Teams and other popular services.
  6. 6. Cognitive Services • APIs • Computer Vision API (Preview) • Content Moderator (Preview) • Emotion API (Preview) • Face API (Preview) • Video API (Preview) • Bing Speech API (Preview) • Custom Recognition Intelligent Service (CRIS) (Private Preview) • Speaker Recognition API (Preview) • Bing Spell Check API • Language Understanding Intelligent Service (Preview) • Linguistic Analysis API (Preview) • Text Analytics API (Preview) • Translator API • Web Language Model API (Preview) • Academic Knowledge API (Preview) • Entity Linking Intelligence Service (Preview) • Knowledge Exploration Service (Preview) • Recommendations API (Preview) • Bing Autosuggest API • Bing Image Search API • Bing News Search API • Bing Video Search API • Bing Web Search API
  7. 7. Azure Functions • Process events with a serverless code architecture • Develop your way • Integrate DevOps • Pay only for what you use • Built for business • Azure Functions are some of the features of Azure Bot Service
  8. 8. Slack Server Datadog pagerduty
  9. 9. Slack • Chat • Channels • Private Channels • Direct Messages • Drag, drop, and share your files. • All your tools in one place. • Search your entire archive. • Fully native apps for Windows Phone, iPhone and Android.
  10. 10. Server • Virtual Machine Servers • Server Operation • Start • Stop • Restart • Server Monitoring • Usage • Alert
  11. 11. Datadog • Cloud-Scale Monitoring • Monitoring that tracks your dynamic infrastructure. • Integrations • See across systems, apps and services with 100+ turn-key integrations • Dashboards • Build real-time interactive dashboards • Correlation • Search and correlate metrics and events • Collaboration • Share what you saw, write what you did • Alerts • Get alerted on critical issues • Developer APIs • Instrument your apps, write new integration
  12. 12. pagerduty • Incident Management, Redefined • Built for Agility and Reliability • Event Intelligence for the Modern IT Operations Team • Full Stack Visibilty • Operations Command Console • Applications
  13. 13. 失敗談 2つのシナリオを考えて実際のデモ作成に失敗( ノД`)シクシク… 1. SlackでBot同士会話をさせる。 2. Functionsを中心としトリガーを上げる。
  14. 14. Scenario1 VM(停止、起動、再起動) 通知orアラートを検知 インシデント管理 アラートの送信 言語処理
  15. 15. Scenario2 通知orアラートを検知 言語処理 VM(停止、起動、再起動) アラートの送信 インシデント管理
  16. 16. Connect:Slack<>Bot Framework
  17. 17. Connect:Cognitive Language Understanding Intelligent Service (Preview)
  18. 18. Connect:Functions<>IaaS • REST API • Start, Stop, Restart • http://stackoverflow.com/questions/40838619/azure-function-role-like-permissions-to-stop-azure-virtual-machines
  19. 19. Connect:Functions<>Datadog • webhook
  20. 20. Connect:Functions<>pagerduty • webhook
  21. 21. Connect:Slack<>Datadog • Integrations
  22. 22. Connect:Slack<>pagerduty • Integration
  23. 23. だがしかし! • Demoを作成している最中に発覚
  24. 24. SlackではBotはBotと会話できない • Datadogから通知が来るとbot扱いでAzure Bot Frameworkが反 応しない
  25. 25. Bot Frameworkが受け付けない • Fonctionsでwebhookが受け付けない
  26. 26. まとめ • Functions単体でいろいろ連携するのは可能 • Bot Frameworkを使うと難しい(開発能力の問題? • 時間をかけてやれば出来そう • 連携 • AI/Deep Learning • Auto Recovery • Auto Tuning • ただ、未来は感じるw
  27. 27. Who? • Jun Kudo • Solution Architect • Microsoft MVP for Azure • AWS Premium Perter Company • Serverless • Azure/AWS • Security(Edomae, Hokkaido) • LOCAL(Hokkaido)

×