Mackerel Meetup #9

Mackerel Meetup #9

The 2017 Mackerel Product Roadmap.

Fc8163b687f0db1b9d41a57e5b607025?s=128

Hiromichi Sugiyama

January 26, 2017
Tweet

Transcript

  1. Meetup #9 The 2017 Mackerel Product Roadmap. 26 Jan 2017

    Hiromichi Sugiyama
  2. Hiromichi Sugiyama / ਿࢁ ޿௨ גࣜձࣾ͸ͯͳ αʔϏεɾγεςϜ։ൃຊ෦ .BDLFSFMνʔϜ ϓϩσϡʔαʔ ܦྺ

     େख੡଄ۀͷ*5ࣄۀձࣾ  େن໛؀ڥͰͷΠϯϑϥΤϯδχΞ  ΦʔϓϯιʔεͷϞχλϦϯάπʔϧ  4BB4γεςϜ  *5*-ϕʔεͷαʔϏεϚωδϝϯτ  ͸ͯͳͰ.BDLFSFMࣄۀ΁ܞΘΔ sugiyama88@hatena.ne.jp
  3. 1 ֓ཁͱ࠷ۙͷτϐοΫ

  4. Mackerelͱ͸ʁ • "SaaSܕ"αʔόʔ؂ࢹαʔϏε • ΤϯδχΞ͕ཉ͔ͬͨ͠zϫΫϫΫz͢ΔΑ ͏ͳػೳΛఏڙ͠ɺѹ౗తͳzޮ཰ԽzΛ࣮ݱ • ͸ͯͳͷओྗαʔϏεΛ͑͞͞ଓ͚͖ͯͨ ʢ࠷ߴͷυοάϑʔσΟϯάʣ

  5. ΞʔΩςΫνϟʔ • ΤʔδΣϯτ͔Β ϝτϦοΫΛ౤ߘ )5514 3&45"1*

  6. ௚ײతͳϢʔβʔମݧ

  7. ؆୯ʹ௚͙͸͡ΊΒΕΔ • ΨΠυʹै͏͚ͩ • ͨͬͨ਺෼ʢϫϯϥΠφʔʣ mackerel-agent written in Golang

  8. ࠷খͷϧʔϧ͕࠷ߴͷརศੑΛ • ΤʔδΣϯτΛ্ཱͪ͛Δ͚ͩͰ • ࣗಈతʹ؂ࢹ͕࢝·Γ • ಉ͡ϩʔϧͷϗετ͸ಉ͡άϥϑ΁

  9. ৗʹਐԽ͠ଓ͚ΔαʔϏε 毎週新機能のリリースを継続中 陳腐化せず常に進化 ि࿈ଓ

  10. બ͹ΕΔཧ༝ • ಋೖʗUI͕؆୯Ͱ෼͔Γ΍͍͢ • ։ൃεϐʔυʢຖिϦϦʔεʣ • ϚϧνΫϥ΢υͰ࢖͑Δ • ೔ຊޠαϙʔτ͕ॆ࣮ •

    ૊Έ߹ΘͤͯDevOpsͷத֩ͱͯ͠׆༻Ͱ͖Δ
  11. αʔϏεϓϥϯ

  12. Mackerel º Twilio ߹ಉϋϯζΦϯ։࠵ • KDDI ΢Σϒίϛϡχέʔγϣϯζ༷ͱ࣮ફత ͳϋϯζΦϯΛ։࠵

  13. 2 Φεεϝػೳʢ5બʣ

  14. 1.ଟ࠼ͳΞϥʔτ௨஌ • νϟοτ΁ͷάϥϑ෇͖௨஌ Slack, HipChat, TypeTalk, Yammer, LINE Slack Yammer

    LINE API Call SMS • SMS΍ి࿩ՍిͰ௨஌ʢTwilioʣ
  15. 2.URL֎ܗ؂ࢹ • ར༻ऀࢹ఺ͷ)551)5514؂ࢹ • ϨεϙϯελΠϜ • εςʔλείʔυɺΩʔϫʔυ • 44-ূ໌ॻͷ༗ޮظݶ •

    ΧελϜϔομ Web Service URL
  16. 3. AWS Integration • AWS CloudWatch API͔Β༷ʑͳϝτϦοΫ΍ΠϕϯτΛ औಘ͠ՄࢹԽ • 1୆ͷϗετͱͯ͠؅ཧ

    • EC2,ALB,CLB,RDS,ElastiCache,RedShift ॱ֦࣍େத API Amazon CloudWatch Amazon RDS Amazon ELB
  17. 4.େن໛؀ڥͱͷ਌࿨ੑ • ೚ҙͷݖݶͰϢʔβʔΛΦʔΨχθʔγϣϯʢ؅ཧൣғʣ΁Ϛοϐϯά • ̎ஈ֊ೝূɺIPΞυϨε੍ݶɺೝূํ੍ࣜݶ ͳͲ • খن໛ʙେن໛؀ڥ·Ͱద༻͠΍͍͢ߏ଄ User A

    User B User C User D Service A Service B Role 1 Role 2 Role 3 Host 1 Host 2 Host 3 Host 4 Read Write Read Only Owner IP Address Authentication A.A.A.A Service A Service B Role 1 Role 2 Role 3 Host 1 Host 2 Host 3 Host 4 Read Write Read Only Owner IP Address Authentication A.A.A.A Service A Service B Role 1 Role 2 Role 3 Host 1 Host 2 Host 3 Host 4 Read Write Read Only Owner IP Address Authentication A.A.A.A ΦʔΨχθʔγϣϯ 9 ΦʔΨχθʔγϣϯ : ΦʔΨχθʔγϣϯ ;
  18. 5. άϥϑΞϊςʔγϣϯ • αʔϏεશମ΍ϩʔϧʹؔΘΔ༷ʑͳࣄ৅ Λొ࿥͠ɺ࣌ܥྻσʔλʔͱͷ૬ؔΛ೺Ѳ ͠΍͘͢ • DeployɺΩϟϯϖʔϯ • API΍GUI͔Βૢ࡞

  19. 3 Product Roadmap

  20. Roadmap 2016ʢৼฦΓʣ ✔ ֎ܗ؂ࢹͷॆ࣮ ✔ ܭࢉ݁Ռͷ؂ࢹ ✔ কདྷ༧ଌ ✔ AWSΠϯςάϨʔγϣϯ

    ✔ Πϕϯτػೳ ✔ ϝλσʔλڧԽ ʢάϥϑΞϊςʔγϣϯΛઌߦʣ
  21. • ઌਐతͳΞʔΩςΫνϟ΁ͷ਌࿨ੑ޲্ ίϯςφ΍ϑΝϯΫγϣϯΛ༻͍ͨαʔόϨεΞʔΩς ΫνϟͳͲ • TagͰ෼ྨʗू໿ αϙʔτ֓೦ͷ֦ॆ Service Role Host

    Host Container Container Container Function Function Tag Role Role Host Host Role Host Host Container Function
  22. Πϕϯτػೳͷ֦ॆ • ։ൃ΍ӡ༻ʹ͓͚Δ༷ʑͳࣄ৅ΛτϥοΩϯά • ΞϥʔτɺMackerelͷૢ࡞ɺDeployɺϗετ ૿ݮ ͳͲ • ΠϕϯτۦಈͰ֤छػೳ͕࿈ಈ •

    ௨஌ɺΞϊςʔγϣϯɺΞΫγϣϯ
  23. ϝλσʔλϓϥάΠϯ • ೚ҙͷKey−ValueΛJSONσʔλͱͯ͠Mackerel΁ετΞ • ৗʹ࠷৽ͷ৘ใΛݕࡧͯ͠࠶ར༻͢Δ͜ͱ͕Մೳ • ϓϥάΠϯूΛOSSఏڙ • Πϯετʔϧύοέʔδ •

    ੬ऑੑεΩϟφʢVulsʣ Vuls: VULnerability Scanner https://github.com/future-architect/vuls/blob/master/README.ja.md
  24. AzureΠϯςάϨʔγϣϯ • Microsoft AzureΛαϙʔτ • Load Balancer, SQL Database, Redis

    Cache ͳͲ API
  25. ϝτϦοΫσʔλ • σʔλཻ౓޲্ • อ࣋ظ֦ؒு

  26. ҟৗݕ஌ • ͍ͭ΋ͱҧ͏σʔλύλʔϯΛࣝผ • ػցֶशͷΞϧΰϦζϜΛ׆༻ Anatomy of an anomaly detection

    model https://techblog.expedia.com/2016/07/28/applying-data-science-to-monitoring/
  27. ίϯϙʔωϯτؒͷͭͳ͕ΓΛදݱ LB DB Proxy Proxy Proxy App App App App

    App • ෳࡶͳ࿈݁ؔ܎ΛࣗಈతʹՄࢹԽ • ߏ੒೺Ѳͷ༰қԽ • Өڹൣғ΍ݪҼͷಛఆ
  28. 4 Ϗδϣϯ

  29. ࣌୅͸Ϋϥ΢υԽͷྲྀΕ • ։ൃπʔϧ͸Ϋϥ΢υ΁ • svn/git → GitHub (GitHub Enterprise) •

    Jenkins → TravisCI, CircleCI • ࣮ߦ؀ڥ΋Ϋϥ΢υ΁ • ΦϯϓϨ → AWS, GCP, Azure,SoftLayer
  30. Mackerel΁ͷྲྀΕ • ӡ༻πʔϧ΋Ϋϥ΢υ΁ • Zabbix, Nagios → Cloudwatch, NewRelic and

    Mackerel !! • ࢖͍΍͍͢UIʹΑΔɺΑΓ҆ఆͨ͠ӡ༻Λ
  31. Infrastructure as Code • ϗετઃఆ͕ίʔυԽ͞ΕͨʢChef/puppetʣ • Mackerelͷઃఆ΋ίʔυͰ؅ཧ • ؂ࢹϧʔϧ/μογϡϘʔυͷίʔυԽ •

    ॱ࣍ɺAPIԽΛਪਐ
  32. Mackerelͷະདྷ • All-in-OneαʔϏεͰ͸ͳ͍ • ༷ʑͳπʔϧ/αʔϏεͱͷ࿈ܞ • Slack, GitHub, Twilio •

    γεςϜ؅ཧͷίΞπʔϧͱͯ͠ͷMackerel
  33. DevOpsͷத֩ͱͯ͠ • ϥΠϑαΠΫϧશମͷޮ཰ԽΛଅਐ %FW 0QT

  34. MackerelͷϏδϣϯ ΤϯδχΞΛϫΫϫΫͤ͞Δ ʮ௚ײతαʔόʔ؂ࢹαʔϏεʯ

  35. ͍͞͝ʹ

  36. We are Hiring • .BDLFSFMηʔϧεʢٸืʣ • .BDLFSFMηʔϧεΤϯδχΞ • ΞϓϦέʔγϣϯΤϯδχΞ •

    8FCΦϖϨʔγϣϯΤϯδχΞ
  37. mackerel.io