Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Mackerel Meetup #9

Mackerel Meetup #9

The 2017 Mackerel Product Roadmap.

Hiromichi Sugiyama

January 26, 2017
Tweet

More Decks by Hiromichi Sugiyama

Other Decks in Programming

Transcript

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

    View full-size slide

  2. Hiromichi Sugiyama / ਿࢁ ޿௨
    גࣜձࣾ͸ͯͳ
    αʔϏεɾγεςϜ։ൃຊ෦
    .BDLFSFMνʔϜ ϓϩσϡʔαʔ
    ܦྺ
    େख੡଄ۀͷ*5ࣄۀձࣾ
    େن໛؀ڥͰͷΠϯϑϥΤϯδχΞ
    ΦʔϓϯιʔεͷϞχλϦϯάπʔϧ
    4BB4γεςϜ
    *5*-ϕʔεͷαʔϏεϚωδϝϯτ
    ͸ͯͳͰ.BDLFSFMࣄۀ΁ܞΘΔ
    [email protected]

    View full-size slide

  3. 1
    ֓ཁͱ࠷ۙͷτϐοΫ

    View full-size slide

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

    View full-size slide

  5. ΞʔΩςΫνϟʔ

    ΤʔδΣϯτ͔Β
    ϝτϦοΫΛ౤ߘ
    )5514 3&45"1*

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  10. બ͹ΕΔཧ༝
    • ಋೖʗUI͕؆୯Ͱ෼͔Γ΍͍͢
    • ։ൃεϐʔυʢຖिϦϦʔεʣ
    • ϚϧνΫϥ΢υͰ࢖͑Δ
    • ೔ຊޠαϙʔτ͕ॆ࣮
    • ૊Έ߹ΘͤͯDevOpsͷத֩ͱͯ͠׆༻Ͱ͖Δ

    View full-size slide

  11. αʔϏεϓϥϯ

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  14. 1.ଟ࠼ͳΞϥʔτ௨஌
    • νϟοτ΁ͷάϥϑ෇͖௨஌ Slack, HipChat,
    TypeTalk, Yammer, LINE
    Slack Yammer LINE
    API
    Call
    SMS
    • SMS΍ి࿩ՍిͰ௨஌ʢTwilioʣ

    View full-size slide

  15. 2.URL֎ܗ؂ࢹ
    • ར༻ऀࢹ఺ͷ)551)5514؂ࢹ
    • ϨεϙϯελΠϜ
    • εςʔλείʔυɺΩʔϫʔυ
    • 44-ূ໌ॻͷ༗ޮظݶ
    • ΧελϜϔομ
    Web
    Service
    URL

    View full-size slide

  16. 3. AWS Integration
    • AWS CloudWatch API͔Β༷ʑͳϝτϦοΫ΍ΠϕϯτΛ
    औಘ͠ՄࢹԽ
    • 1୆ͷϗετͱͯ͠؅ཧ
    • EC2,ALB,CLB,RDS,ElastiCache,RedShift ॱ֦࣍େத
    API
    Amazon
    CloudWatch
    Amazon
    RDS
    Amazon
    ELB

    View full-size slide

  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
    ΦʔΨχθʔγϣϯ
    :
    ΦʔΨχθʔγϣϯ
    ;

    View full-size slide

  18. 5. άϥϑΞϊςʔγϣϯ
    • αʔϏεશମ΍ϩʔϧʹؔΘΔ༷ʑͳࣄ৅
    Λొ࿥͠ɺ࣌ܥྻσʔλʔͱͷ૬ؔΛ೺Ѳ
    ͠΍͘͢
    • DeployɺΩϟϯϖʔϯ
    • API΍GUI͔Βૢ࡞

    View full-size slide

  19. 3
    Product Roadmap

    View full-size slide

  20. Roadmap 2016ʢৼฦΓʣ
    ✔ ֎ܗ؂ࢹͷॆ࣮
    ✔ ܭࢉ݁Ռͷ؂ࢹ
    ✔ কདྷ༧ଌ
    ✔ AWSΠϯςάϨʔγϣϯ
    ✔ Πϕϯτػೳ
    ✔ ϝλσʔλڧԽ
    ʢάϥϑΞϊςʔγϣϯΛઌߦʣ

    View full-size slide

  21. • ઌਐతͳΞʔΩςΫνϟ΁ͷ਌࿨ੑ޲্
    ίϯςφ΍ϑΝϯΫγϣϯΛ༻͍ͨαʔόϨεΞʔΩς
    ΫνϟͳͲ
    • TagͰ෼ྨʗू໿
    αϙʔτ֓೦ͷ֦ॆ
    Service
    Role
    Host Host Container Container Container Function Function
    Tag
    Role Role
    Host Host
    Role
    Host Host
    Container Function

    View full-size slide

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

    View full-size slide

  23. ϝλσʔλϓϥάΠϯ
    • ೚ҙͷKey−ValueΛJSONσʔλͱͯ͠Mackerel΁ετΞ
    • ৗʹ࠷৽ͷ৘ใΛݕࡧͯ͠࠶ར༻͢Δ͜ͱ͕Մೳ
    • ϓϥάΠϯूΛOSSఏڙ
    • Πϯετʔϧύοέʔδ
    • ੬ऑੑεΩϟφʢVulsʣ
    Vuls: VULnerability Scanner
    https://github.com/future-architect/vuls/blob/master/README.ja.md

    View full-size slide

  24. AzureΠϯςάϨʔγϣϯ
    • Microsoft AzureΛαϙʔτ
    • Load Balancer, SQL Database, Redis
    Cache ͳͲ
    API

    View full-size slide

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

    View full-size slide

  26. ҟৗݕ஌
    • ͍ͭ΋ͱҧ͏σʔλύλʔϯΛࣝผ
    • ػցֶशͷΞϧΰϦζϜΛ׆༻
    Anatomy of an anomaly detection model
    https://techblog.expedia.com/2016/07/28/applying-data-science-to-monitoring/

    View full-size slide

  27. ίϯϙʔωϯτؒͷͭͳ͕ΓΛදݱ
    LB DB
    Proxy
    Proxy
    Proxy
    App
    App
    App
    App
    App
    • ෳࡶͳ࿈݁ؔ܎ΛࣗಈతʹՄࢹԽ
    • ߏ੒೺Ѳͷ༰қԽ
    • Өڹൣғ΍ݪҼͷಛఆ

    View full-size slide

  28. ࣌୅͸Ϋϥ΢υԽͷྲྀΕ
    • ։ൃπʔϧ͸Ϋϥ΢υ΁
    • svn/git → GitHub (GitHub Enterprise)
    • Jenkins → TravisCI, CircleCI
    • ࣮ߦ؀ڥ΋Ϋϥ΢υ΁
    • ΦϯϓϨ → AWS, GCP, Azure,SoftLayer

    View full-size slide

  29. Mackerel΁ͷྲྀΕ
    • ӡ༻πʔϧ΋Ϋϥ΢υ΁
    • Zabbix, Nagios
    → Cloudwatch, NewRelic and Mackerel !!
    • ࢖͍΍͍͢UIʹΑΔɺΑΓ҆ఆͨ͠ӡ༻Λ

    View full-size slide

  30. Infrastructure as Code
    • ϗετઃఆ͕ίʔυԽ͞ΕͨʢChef/puppetʣ
    • Mackerelͷઃఆ΋ίʔυͰ؅ཧ
    • ؂ࢹϧʔϧ/μογϡϘʔυͷίʔυԽ
    • ॱ࣍ɺAPIԽΛਪਐ

    View full-size slide

  31. Mackerelͷະདྷ
    • All-in-OneαʔϏεͰ͸ͳ͍
    • ༷ʑͳπʔϧ/αʔϏεͱͷ࿈ܞ
    • Slack, GitHub, Twilio
    • γεςϜ؅ཧͷίΞπʔϧͱͯ͠ͷMackerel

    View full-size slide

  32. DevOpsͷத֩ͱͯ͠
    • ϥΠϑαΠΫϧશମͷޮ཰ԽΛଅਐ
    %FW 0QT

    View full-size slide

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

    View full-size slide

  34. We are Hiring
    • .BDLFSFMηʔϧεʢٸืʣ
    • .BDLFSFMηʔϧεΤϯδχΞ
    • ΞϓϦέʔγϣϯΤϯδχΞ
    • 8FCΦϖϨʔγϣϯΤϯδχΞ

    View full-size slide