Mackerel Meetup #7
by
Hiromichi Sugiyama
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
mackerel.io mackerel.io The server monitoring platform we always wanted Mackerel Meetup #7 12 May 2016 AWS Integration with Mackerel Hatena Co., Ltd. Hiromichi Sugiyama
Slide 2
Slide 2 text
Hiromichi Sugiyama / ਿࢁ ௨ 株式会社はてな サービス開発本部 Mackerelチームプロデューサー 経歴 - 某大手製造業のIT事業会社 - 大規模環境でのインフラエンジニア - オープンソースのモニタリングツール - ITILベースのサービスマネジメント - SaaSシステム(ITサービス管理) - はてなでMackerel事業へ携わる id:sugiyama88
Slide 3
Slide 3 text
1 Mackerel Overview & Recent Topics
Slide 4
Slide 4 text
Mackerelͱʁ • "SaaSܕ"αʔόʔࢹαʔϏε • ΤϯδχΞ͕ཉ͔ͬͨ͠zϫΫϫΫz͢ΔΑ ͏ͳػೳΛఏڙ͠ɺѹతͳzޮԽzΛ࣮ݱ • ͯͳͷओྗαʔϏεΛ͑͞͞ଓ͚͖ͯͨ ʢ࠷ߴͷυοάϑʔσΟϯάʣ • 2014.9.17ਖ਼ࣜϦϦʔεʢ18ϱ݄ʣ
Slide 5
Slide 5 text
ΞʔΩςΫνϟʔ • Mackerelから 外部サービス への直接監視 ΤʔδΣϯτ͔Β ϝτϦοΫΛߘ )5514 3&45"1*
Slide 6
Slide 6 text
ײతͳϢʔβʔମݧ
Slide 7
Slide 7 text
؆୯ʹ͙͡ΊΒΕΔ • ΨΠυʹै͏͚ͩ • ͨͬͨ mackerel-agent written in Golang
Slide 8
Slide 8 text
࠷খͷϧʔϧ͕࠷ߴͷརศੑΛ • ΤʔδΣϯτΛ্ཱͪ͛Δ͚ͩͰ • ࣗಈతʹࢹ͕࢝·Γ • ಉ͡ϩʔϧͷϗετಉ͡άϥϑ
Slide 9
Slide 9 text
ৗʹਐԽ͠ଓ͚ΔαʔϏε 毎週新機能のリリースを継続中 陳腐化せず常に進化 ̕ि࿈ଓ
Slide 10
Slide 10 text
બΕΔཧ༝ • ಋೖʗUI͕؆୯Ͱ͔Γ͍͢ • ։ൃεϐʔυ • ϚϧνΫϥυͰ͑Δ • ຊޠαϙʔτ͕ॆ࣮ • NewRelicͱͷซ༻
Slide 11
Slide 11 text
Standardϓϥϯվగ Discount↓ Upgrade↑
Slide 12
Slide 12 text
OSSͷίϯτϦϏϡʔτ • Golang https://go-review.googlesource.com/#/c/21190/
Slide 13
Slide 13 text
OSSͷίϯτϦϏϡʔτ • Graphite https://github.com/graphite-project/carbon/pull/535 https://github.com/graphite-project/whisper/pull/162
Slide 14
Slide 14 text
OSSͷίϯτϦϏϡʔτ • Graphite https://github.com/graphite-project/graphite-web/pull/1492 https://github.com/graphite-project/graphite-web/pull/1447
Slide 15
Slide 15 text
2 Mackerel Feature Recommendations (5)
Slide 16
Slide 16 text
1.Ξϥʔτ௨ʹάϥϑ • Slack, HipChat, TypeTalk, Yammer
Slide 17
Slide 17 text
2.URL֎ܗࢹ • ར༻ऀࢹͷHTTP/HTTPSࢹ • ֎෦͔ΒͷϨεϙϯελΠϜΛՄࢹԽ • εςʔλείʔυɾϨεϙϯελΠϜͰΞϥʔτ • ΩʔϫʔυͷଘࡏνΣοΫ • SSLূ໌ॻͷ༗ޮظݶΛνΣοΫ Web Service URL
Slide 18
Slide 18 text
3.ࢹϧʔϧͷίʔυԽ • zInfrastructure as Codez • mkr monitor diff/pull/push • JSONܗࣜͰϧʔϧΛѻ͏
Slide 19
Slide 19 text
ࢹϧʔϧΛGitͰཧ
Slide 20
Slide 20 text
4.ϝτϦοΫΛࣜͰܭࢉɾՄࢹԽ 差分 前週との重ねあわせ 最大 最大・平均・最小 合計
Slide 21
Slide 21 text
5.͓ؾʹೖΓొ • େنڥͰͷར༻ʹ࠷ద • Ϣʔβʔ͝ͱʹΑ͘ར༻͢ΔαʔϏ εΧελϜμογϡϘʔυΛొ
Slide 22
Slide 22 text
3 AWS Integration
Slide 23
Slide 23 text
AWS Integration • AWS CloudWatch API͔Β༷ʑͳϝ τϦοΫΠϕϯτΛऔಘ͠ՄࢹԽ • 1ͷϗετͱͯ͠ཧ • ELBɺRDS͔Βॱ֦࣍େ • Standardϓϥϯ API Amazon CloudWatch Amazon RDS Amazon ELB
Slide 24
Slide 24 text
ෳͷΞΧϯτϦʔδϣϯରԠ
Slide 25
Slide 25 text
؆୯ͳొ͚ͩͰOK
Slide 26
Slide 26 text
RDSϗετৄࡉ
Slide 27
Slide 27 text
RDSΠϕϯτՄࢹԽ
Slide 28
Slide 28 text
ELBϗετৄࡉ
Slide 29
Slide 29 text
αʔϏεμϯ࣌ʹΞϥʔτ
Slide 30
Slide 30 text
αʔϏεʗϩʔϧʗϗετͰཧ
Slide 31
Slide 31 text
ಛ • αʔϏεશମΛ၆ᛌͯ͠ཧ • AWSΞΧϯτϦʔδϣϯ੍ͳ͠ • ؆୯ͳઃఆͷΈʢཁΩʔొʣ • தظతͳੳ • ϚϧνΫϥυ
Slide 32
Slide 32 text
͓͢͢Ίͷࢹߏ • URL֎ܗࢹ ར༻ऀࢹͰϨεϙϯελΠϜূ໌ॻͷ༗ޮظݶΛࢹ • ΤʔδΣϯτ/ϓϥάΠϯࢹ EC2ΠϯελϯείϯςφͷৄࡉϝτϦοΫ֤छͷ νΣοΫࢹ • AWSΠϯςάϨʔγϣϯ CloudWatch APIͰ͔͠औಘͰ͖ͳ͍֤छͷϝτϦοΫΠ ϕϯτΛࢹ • DBϓϥάΠϯࢹ RDSͷMySQLͳͲʢ͏͙͢ผϗετ͔Βऔಘͨ͠ϝτ ϦοΫΛࣝผՄೳʹͳΔʣ
Slide 33
Slide 33 text
4 Mackerel Vision
Slide 34
Slide 34 text
ΫϥυԽͷྲྀΕ • ։ൃπʔϧΫϥυ • svn/git → GitHub (GitHub Enterprise) • Jenkins → TravisCI, CircleCI • ࣮ߦڥΫϥυ • ΦϯϓϨ → AWS, GCP, Azure
Slide 35
Slide 35 text
MackerelͷྲྀΕ • ӡ༻πʔϧΫϥυ • Zabbix, Nagios → Cloudwatch, NewRelic and Mackerel !! • ͍͍͢UIʹΑΔɺΑΓ҆ఆͨ͠ӡ༻Λ
Slide 36
Slide 36 text
Infrastructure as Code • ϗετઃఆΛίʔυԽ ʢChef/puppetʣ • MackerelͷઃఆCodeͰཧ • ࢹϧʔϧ/μογϡϘʔυͷίʔυԽ • ॱ࣍ɺAPIԽΛਪਐ
Slide 37
Slide 37 text
Mackerelͷະདྷ • All-in-OneαʔϏεͰͳ͍ • ༷ʑͳπʔϧ/αʔϏεͱͷ࿈ܞ • Slack/GitHub/Reactio • γεςϜཧͷίΞπʔϧͱͯ͠ͷ Mackerel
Slide 38
Slide 38 text
DevOpsͷத֩ͱͯ͠ • ϥΠϑαΠΫϧશମͷޮԽΛଅਐ %FW 0QT
Slide 39
Slide 39 text
৬ਓܳΛΞϧΰϦζϜͰࢧԉ 過去の傾向から将来を予測して警告 $SJUJDBM 将来 5SFOET ϱ݄લ 現在 ۙ ϦϦʔε
Slide 40
Slide 40 text
MackerelͷϏδϣϯ ΤϯδχΞΛϫΫϫΫͤ͞Δ ʮײతαʔόʔࢹαʔϏεʯ
Slide 41
Slide 41 text
͍͞͝ʹҰͭ
Slide 42
Slide 42 text
େنʂʢ1Role 2,554 hostsʣ
Slide 43
Slide 43 text
͍͞͝ʹɺ͏Ұͭ
Slide 44
Slide 44 text
We are Hiring • ηʔϧεΤϯδχΞʢٸืʣ • 8FCΞϓϦέʔγϣϯΤϯδχΞ
Slide 45
Slide 45 text
mackerel.io