Slide 1

Slide 1 text

.FFUVQ .JDSPTPGU"[VSF*OUFHSBUJPOͱ8JOEPXTαϙʔτͷڧԽ "QS )JSPNJDIJ 4VHJZBNB

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

1 ֓ཁͱ࠷ۙͷτϐοΫ

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

ΞʔΩςΫνϟʔ • ΤʔδΣϯτ͔Β ϝτϦοΫΛ౤ߘ )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

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

Slide 11

Slide 11 text

αʔϏεϓϥϯ

Slide 12

Slide 12 text

Mackerel, AWS, Twilio ߹ಉϋϯζΦϯ։࠵ • ̏αʔϏεͷಛੑΛ׆༻͠ɺ؂ࢹΞϥʔτͷ ి࿩࿈བྷΛγεςϜԽ͢Δ࣮ફతͳϋϯζΦ ϯηϛφʔΛ։࠵͠·ͨ͠

Slide 13

Slide 13 text

2 Φεεϝػೳʢ5+1બʣ

Slide 14

Slide 14 text

1.ଟ࠼ͳΞϥʔτ௨஌ • νϟοτ΁ͷάϥϑ෇͖௨஌ 4MBDL )JQ$IBU 5ZQF5BML :BNNFS -*/& Slack Yammer LINE API Call SMS • 4.4΍ి࿩ՍిͰ௨஌ʢ5XJMJPʣ

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

3. AWS Integration • "84$MPVE8BUDI"1*͔Β༷ʑͳϝτϦοΫ΍ΠϕϯτΛऔಘ͠ՄࢹԽ • ୆ͷϗετͱͯ͠؅ཧ • &$ "-# $-# 3%4 &MBTUJ$BDIF 3FE4IJGU -BNCEB ॱ֦࣍େத API Amazon CloudWatch Amazon RDS Amazon ELB

Slide 17

Slide 17 text

4.େن໛؀ڥͱͷ਌࿨ੑ • ೚ҙͷݖݶͰϢʔβʔΛΦʔΨχθʔγϣϯʢ؅ཧൣғʣ΁Ϛοϐϯά • ̎ஈ֊ೝূɺ*1ΞυϨε੍ݶɺೝূํ੍ࣜݶ ͳͲ • খن໛ʙେن໛؀ڥ·Ͱద༻͠΍͍͢ߏ଄ 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 ΦʔΨχθʔγϣϯ : ΦʔΨχθʔγϣϯ ;

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

6.ϝλσʔλػೳ • ೚ҙͷ,FZ—7BMVFΛ+40/σʔλͱͯ͠.BDLFSFM΁ετΞ • ৗʹ࠷৽ͷ৘ใΛݕࡧͯ͠࠶ར༻͢Δ͜ͱ͕Մೳ • ϓϥάΠϯूΛ044ఏڙʢ༧ఆʣ • Πϯετʔϧύοέʔδ • ੬ऑੑεΩϟφʢ7VMTʣ 7VMT76-OFSBCJMJUZ 4DBOOFS IUUQTHJUIVCDPNGVUVSFBSDIJUFDUWVMTCMPCNBTUFS3&"%.&KBNE

Slide 20

Slide 20 text

3 Microsoft Azure Integration ͱ WindowsαϙʔτͷڧԽ

Slide 21

Slide 21 text

• ΤϯλʔϓϥΠζاۀͷ.BDLFSFMར༻͕ٸ૿த • ։ൃ΍ӡ༻ʹ͓͚Δ৽ͨͳมֵͷݺͼਫͱͯ͠͝׆༻ • Ϋϥ΢υҠߦʹࡍͯ͠ैདྷܕ؂ࢹͷݶք • ϚϧνΫϥ΢υ؀ڥʢΦϯϓϨ΋ؚΉʣͷҰݩ؂ࢹ • େن໛؀ڥʹ΋ద༻͠΍͍͢ॊೈͳΞΫηείϯτϩʔϧ • ؂ࢹΞϥʔτͷࣗಈՍిʢ5XJMJP࿈ܞʣ • ಈతΠϯϕϯτϦ؅ཧʢϝλσʔλػೳʣ اۀͰͷAzure࠾༻֦େʹ൐ͬͯ

Slide 22

Slide 22 text

AzureΠϯςάϨʔγϣϯ • .JDSPTPGU"[VSFΛαϙʔτ • 7JSUVBM.BDIJOF 42-%BUBCBTF 3FEJT $BDIF 'VODUJPOTͳͲ API ௚ۙ ϦϦʔε

Slide 23

Slide 23 text

AzureΠϯςάϨʔγϣϯ ௚ۙ ϦϦʔε • "[VSF.POJUPS"1*͔ΒϝτϦοΫΛऔಘ͠Մ ࢹԽ • αʔϏεϓϦϯγύϧΛར༻ͨ͠"1*ΞΫηε ʢݖݶίϯτϩʔϧՄೳʣ API Virtual Machine SQL Database Redis Cache Functions Azure Monitor

Slide 24

Slide 24 text

AzureΠϯςάϨʔγϣϯ ௚ۙ ϦϦʔε SQL Database

Slide 25

Slide 25 text

WindowsαϙʔτͷڧԽ • 8JOEPXTͰ΋؆୯Πϯετʔϧ • ΠϯετʔϧˍαʔϏεొ࿥ˍىಈ׬ྃʢ.4*औಘޙʣ • ओཁϓϥάΠϯͷΠϯετʔϥʔಉࠝʢ͙͢ʹར༻Մೳʣ • DIFDLMPH DIFDLOUTFSWJDF DIFDLQSPDT DIFDLUDQ DIFDLXJOEPXTFWFOUMPH

Slide 26

Slide 26 text

WindowsαϙʔτͷڧԽ • νΣοΫϓϥάΠϯͷॆ࣮ • Πϕϯτϩά • ςΩετϩά • αʔϏεϓϩηε

Slide 27

Slide 27 text

WindowsαϙʔτͷڧԽ • ϝϞாͰ΋ઃఆϑΝΠϧΛฤूʢ$3-'ରԠʣ

Slide 28

Slide 28 text

4 Ϗδϣϯ

Slide 29

Slide 29 text

࣌୅͸Ϋϥ΢υԽͷྲྀΕ • ։ൃπʔϧ͸Ϋϥ΢υ΁ • TWOHJU ˠ (JU)VC (JU)VC&OUFSQSJTF • +FOLJOTˠ 5SBWJT$* $JSDMF$* • ࣮ߦ؀ڥ΋Ϋϥ΢υ΁ • ΦϯϓϨ ˠ "84 ($1 "[VSF #MVFNJY

Slide 30

Slide 30 text

Mackerel΁ͷྲྀΕ • ӡ༻πʔϧ΋Ϋϥ΢υ΁ • ;BCCJY /BHJPT ˠ $MPVEXBUDI /FX3FMJD BOE.BDLFSFM • ࢖͍΍͍͢6*ʹΑΔɺΑΓ҆ఆͨ͠ӡ༻Λ

Slide 31

Slide 31 text

Infrastructure as Code • ϗετઃఆ͕ίʔυԽ͞Εͨʢ$IFGQVQQFUʣ • .BDLFSFMͷઃఆ΋ίʔυͰ؅ཧ • ؂ࢹϧʔϧμογϡϘʔυͷίʔυԽ • ॱ࣍ɺ"1*ԽΛਪਐ

Slide 32

Slide 32 text

Mackerelͷະདྷ • "MMJO0OFαʔϏεͰ͸ͳ͍ • ༷ʑͳπʔϧαʔϏεͱͷ࿈ܞ • 4MBDL (JU)VC 5XJMJP • γεςϜ؅ཧͷίΞπʔϧͱͯ͠ͷ.BDLFSFM

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

࣍ੈ୅.BDLFSFM

Slide 36

Slide 36 text

͍͞͝ʹ

Slide 37

Slide 37 text

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

Slide 38

Slide 38 text

mackerel.io