Amazon Elasticsearch Service を運用して学んだこと / How to manage Amazon ES

Amazon Elasticsearch Service を運用して学んだこと / How to manage Amazon ES

詳しくは Blog に!

Amazon Elasticsearch Service を運用して学んだこと - kakakakakku blog
http://kakakakakku.hatenablog.com/entry/2016/12/20/000612

3da5b00de1285b12a17d730262cc4824?s=128

Yoshiaki Yoshida

December 20, 2016
Tweet

Transcript

  1. "NB[PO&MBTUJDTFBSDI4FSWJDF ׾麊欽׃ג㷕׿׌ֿה  "84"EWFOU$BMFOEBS !LBLBLBLBLLV

  2. 胜兝 ‣ 圫ղז欽鷿ד&MBTUJDTFBSDI禸PO&$׾麊欽׃גְ׷ ‣ "NB[PO&MBTUJDTFBSDI4FSWJDFך嗚鏾׮Ⱟיג
 ؒٝآص،ד崞欽׃גְ׷ؒٓ٦ؚٗ禸ך؎ٝرحؙأ׾獳遤׃׋ ‣ 秈٠剢꟦麊欽׃ג׫ג㷕׿׌ֿה葺ַ׏׋ֿה
 㔭׏׋ֿהזו׾תה׭גֲֶֿה䙼׏׋ ‣

    ⟃꣬ךل٦آדכ"NB[PO&4ה満殛׃ג邌鎸ׅ׷
  3. 圓䧭 ‣ 'MVFOUE׾崞欽׃׋♧菙涸ז圓䧭 ‣ "NB[PO&4 ‣ &MBTUJDTFBSDI,JCBOBFT ‣ 劤殢橆㞮הꟚ涪橆㞮欽חⴽղחسً؎ٝ׾欽䠐 ‣

    "NB[PO&4דכ&MBTUJDTFBSDIؙٓأةךֿה׾سً؎ٝהㄎע ‣ 崧ꆀה׃גכ傈秈سًُؗٝز玎䏝嗚鏾ח剑黝זꆀ׌׏׋
  4. 圓䧭 8FC 8FC 8FC "HHSFHBUPS 4 "HHSFHBUPS "NB[PO&4 ,JCBOB &OHJOFFST

  5. 湡如 ‣ 㷕׿׌ֿה/P'MVFOUE鏣㹀 ‣ 㷕׿׌ֿה/Pؙٓأة圓䧭 ‣ 㷕׿׌ֿה/P"NB[PO&4ך湊鋔ًزؙٔأ ‣ 㷕׿׌ֿה/P,JCBOB ‣

    㷕׿׌ֿה/P؎ٝرحؙأ麊欽 ‣ 㷕׿׌ֿה/Pغحؙ،حف麊欽
  6. 湡如 ‣ 麊欽׃ג䠬ׄ׋"NB[PO&4ך葺ׁ ‣ 麊欽׃ג䠬ׄ׋"NB[PO&4ך何㊣ه؎ٝز ‣ ➙תד剅ְ׋ـؚٗ鎸✲ ‣ Ⱅ䒭⿫罋项俱

  7. 'MVFOUE鏣㹀 㷕׿׌ֿה/P ‣ 'MVFOUE1MVHJOT ‣ SFMPBE@DPOOFDUJPOT׾GBMTFחׅ׷

  8. 'MVFOUE鏣㹀 㷕׿׌ֿה/P ‣ 'MVFOUE1MVHJOT ‣ SFMPBE@DPOOFDUJPOT׾GBMTFחׅ׷

  9. 'MVFOUE1MVHJOT ‣ "NB[PO&4כؙٔؒأز儗ח"1*縭せW׾⛦ׇ׷䗳銲ָ֮׷ ‣ ״׏גVFOUQMVHJOFMBTUJDTFBSDI׌ה䱸竲דֹ׆ ‣ 䭁䓸ׁ׸׋VFOUQMVHJOBXTFMBTUJDTFBSDITFSWJDF׾⢪ֲ

  10. 'MVFOUE鏣㹀 㷕׿׌ֿה/P ‣ 'MVFOUE1MVHJOT ‣ SFMPBE@DPOOFDUJPOT׾GBMTFחׅ׷

  11. SFMPBE@DPOOFDUJPOT׾GBMTFחׅ׷ ‣ 㣐ꆀח$BOOPUHFUOFXDPOOFDUJPOGSPNQPPMָちַ׸׷ ‣ 䏝"NB[PO&4ה䱸竲ָⴖ׸׷הⱄ䱸竲דֹזֻז׏ג׃תֲ ‣ ؙٓأةחٔغ٦أفٗؗء穗歋ד䱸竲ׅ׷㜥さח涪欰ׅ׷㉏겗 ‣ "NB[PO&4כ&-#穗歋דظ٦سח،ؙإأׅ׷׋׭
 ٔغ٦أفٗؗء穗歋ך✲韋ח鑩䔲ׅ׷

  12. IUUQXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFTCEUMBVODIBNB[POFMBTUJDTFBSDIGPSSFBMUJNFEBUBBOBMZUJDT

  13. SFMPBE@DPOOFDUJPOT׾GBMTFחׅ׷ NBUDIOHJOYFSSPS !JEPVU@OHJOY@FSSPS !UZQFBXTFMBTUJDTFBSDITFSWJDF ⚥殛 SFMPBE@DPOOFDUJPOTGBMTF FOEQPJOU VSMIUUQTYYYBQOPSUIFBTUFTBNB[POBXTDPN SFHJPOBQOPSUIFBTU FOEQPJOU

    ⚥殛 NBUDI
  14. ؙٓأة圓䧭 㷕׿׌ֿה/P ‣ 剑㼭圓䧭ֺׅ׷ה汤ְ湡חさֲ

  15. 剑㼭圓䧭ֺׅ׷ה汤ְ湡חさֲ ‣ Ꟛ涪橆㞮כ崧ꆀ׮㼰זַ׏׋׋׭UNJDSP〴ד⹛ַ׃גְ׋ ‣ 瑱搫"NB[PO&4ח䱸竲דֹזֻז׏׋ ‣ $MVTUFS4UBUVT3FEה$MVTUFS4UBUVTOVMM׾粸׶鵤׃גְ׋ ‣ $MPVE8BUDI׾鋅׷ה㸣Ⰻח넝頾蚚חז׏גְ׋ ‣

    $166UJMJ[BUJPO$16$SFEJU#BMBODF ‣ +7..FNPSZ1SFTTVSF
  16. 剑㼭圓䧭ֺׅ׷ה汤ְ湡חさֲ ‣ ״׃أ؛٦ٕ،حف׌ה䙼׏גUTNBMMח㢌刿 ‣ 圓䧭㢌刿׾䖉׏ג׮䖉׏ג׮1SPDFTTJOHךתתד⚵傈穗麓 ‣ ؟ه٦زח㉏ְさ׻ׇ׋׵圓䧭㢌刿ָؒٓ٦חז׏׋תתה涪鋙 ‣ ➙㔐ך״ֲחؙٓأةָ넝頾蚚ך㜥さ
 "NB[PO&4ך圓䧭㢌刿ָؒٓ٦חז׷✲韋ָ֮׷הךֿה

    ‣ ♰瘻㽴ֹ׋ ?P? 
  17. 剑㼭圓䧭ֺׅ׷ה汤ְ湡חさֲ ‣ 㸣Ⰻ䗁傊תד秈鹈꟦ ‣ ؟ه٦ز⩎ח荈⹛أشحفءّحزַ׵ٔأز،׃ג׮׵׏׋ ‣ 㷕׿׌侄鎮挿 ‣ Ꟛ涪橆㞮׌ה׃ג׮〴圓䧭ח׃גֶֻ ‣

    䖓鶢ׅ׷湊鋔ًزؙٔأ׾ٌصةؚٔٝ׃ג
 ✲⵸ח넝頾蚚׾嗚濼ׅ׷
  18. "NB[PO&4ך湊鋔ًزؙٔأ 㷕׿׌ֿה/P ‣ ؔأأًׅ׷湊鋔ًزؙٔأ⦐

  19. ؔأأًׅ׷湊鋔ًزؙٔأ⦐ ‣ $166UJMJ[BUJPO ‣ +7..FNPSZ1SFTTVSF ‣ ׮׃U禸ז׵$16$SFEJU#BMBODF ‣ 'SFF4UPSBHF4QBDF ‣

    $MVTUSFS4UBUVTSFE ‣ "VUPNBUFE4OBQTIPU'BJMVSF
  20. +7..FNPSZ1SFTTVSF ‣ &MBTUJDTFBSDIך➬圫ד+7..FNPSZ1SFTTVSFחⵋ麦ׅ׷ה
 ($ָ遤׻׸׷׋׭($䖓׮׾䱿獳׃גְ׷ה⽬ꤹך؟؎ٝ
 
 
 
 
 
 


    
 IUUQTXXXFMBTUJDDPCMPHGPVOEVOEFSTUBOEJOHNFNPSZQSFTTVSFJOEJDBUPS  
  21. "VUPNBUFE4OBQTIPU'BJMVSF ‣ 姻䌢⦼כ ‣ أشحفءّحزך《䖤ָ㣟侁׃׋㜥さחחז׷ ‣ ׮׃חז׏׋㜥さؙٓأةח⡦ַ׃׵㉏겗ָ饯ֹגְ׷ ⛈

  22. IUUQXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFTCEUMBVODIBNB[POFMBTUJDTFBSDIGPSSFBMUJNFEBUBBOBMZUJDT

  23. $MVTUSFS4UBUVTZFMMPX ‣ %FEJDBUFENBTUFSوأة٦ظ٦سהر٦ةظ٦س׾ⴓꨄׅ׷
 ח׃גְ׷㜥さכ湊鋔ׅ׷ה葺ְ ‣ %FEJDBUFENBTUFSח׃גְזְ㜥さכؙؒٔ頾蚚ָ넝ְהֹזו
 㹀劍涸ח$MVTUSFS4UBUVTZFMMPXָ涪欰ׅ׷〳腉䚍ָ֮׷׋׭
 $MVTUSFS4UBUVTSFE׌ֽ׾湊鋔ׅ׷ה葺ְ ‣ "84涸ח䱿㤺圓䧭כ%FEJDBUFENBTUFS〴׌ֽו〴侧ָ㢳ֻז׷

  24. ,JCBOB 㷕׿׌ֿה/P ‣ تحءُن٦سך縐 ‣ ،ؙإأⵖ䖴

  25. ,JCBOB 㷕׿׌ֿה/P ‣ تحءُن٦سך縐 ‣ ،ؙإأⵖ䖴

  26. تحءُن٦سך縐 ‣ تحءُن٦سח荜ㄏ涸ז㉏겗ָ֮׷ ‣ تحءُن٦سח醱侧ך؎ٝرحؙأךؚٓؿ׾ꂁ縧ׅ׷ה
 Ⰻגずׄ؎ٝرحؙأַ׵ر٦ةָ《䖤ׁ׸ג׃תֲ
 ⢽׾⳿ׁזְה⠗׻׶חְֻ ‣ "84؟ه٦ز㜠デ幥ד植㖈㼎䘔⚥הךֿה

  27. تحءُن٦سך縐 JOEFY@׾7JTVBMJ[Fד ؚٓؿ⻉׃׋穠卓姻䌢 JOEFY@׾7JTVBMJ[Fד ؚٓؿ⻉׃׋穠卓姻䌢 "84؟ه٦زחⱄ植㜠デ׾ׅ׷׋׭ח欽䠐׃׋ذأز橆㞮 JOEFY@儗꟦ⴽ JOEFY@儗꟦ⴽ

  28. تحءُن٦سך縐 تحءُن٦سחꂁ縧ׅ׷ה ו׍׵׮JOEFY@ךؚٓؿחז׏ג׃תֲ "84؟ه٦زחⱄ植㜠デ׾ׅ׷׋׭ח欽䠐׃׋ذأز橆㞮 JOEFY@儗꟦ⴽ JOEFY@儗꟦ⴽ

  29. تحءُن٦سך縐 ‣ 植朐ךٙ٦ؙ،ٓؐٝسה׃ג
 ؎ٝرحؙأ׀החتحءُن٦س׾⡲䧭׃גְ׷
 ׮כװتحءُن٦سך䠐㄂ָזְ ‣ 儗挿דת׌湫׏גְזַ׏׋

  30. ,JCBOB 㷕׿׌ֿה/P ‣ تحءُن٦سך縐 ‣ ،ؙإأⵖ䖴

  31. ،ؙإأⵖ䖴 ‣ ،ؙإأهٔء٦ד*1ⵖ䖴׾鏣㹀דֹ׷ָ
 &MBTUJDTFBSDIה,JCBOBדⴽղח鏣㹀ׅ׷ֿהָדֹזְ ‣ ״׏ג&MBTUJDTFBSDIחכ暴㹀ך&$ַ׵ך׫،ؙإأׇׁג
 ,JCBOBחכؔؿ؍أַ׵،ؙإأׇׁ׷הְֲ鏣㹀ָדֹזְ ‣ ؔؿ؍أַ׵&MBTUJDTFBSDIח铎׏ג%&-&5&׾䫎־׋׵⽯娤 ‣

    ؔفءّٝד杝荈חفٗؗء׾欽䠐ׅ׷圓䧭׮稱➜ׁ׸גְ׷ ⚠
  32. IUUQXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFTCEUMBVODIBNB[POFMBTUJDTFBSDIGPSSFBMUJNFEBUBBOBMZUJDT

  33. ؎ٝرحؙأ麊欽 㷕׿׌ֿה/P ‣ $VSBUPSW׾⢪ֲ

  34. $VSBUPSW׾⢪ֲ ‣ ؎ٝرحؙأ׾盖椚ׅ׷$VSBUPS ‣ 植㖈ך剑倜ًآٍ٦غ٦آّٝכW ‣ WהWד㹋鄲ָ㣐ֹֻ㢌׻׏גְ׷ ‣ Wח䗳銲ז@DMVTUFSTUBUFNFUBEBUBؒٝسه؎ٝزח㼎ׅ׷
 ؙٔؒأز׾"NB[PO&4כ鏩〳׃גְזְ׋׭䗳׆W׾⢪ֲ


    
 QJQJOTUBMMFMBTUJDTFBSDIDVSBUPS
  35. غحؙ،حف麊欽 㷕׿׌ֿה/P ‣ 荈⹛أشحفءّحز ‣ 䩛⹛أشحفءّحز

  36. غحؙ،حف麊欽 㷕׿׌ֿה/P ‣ 荈⹛أشحفءّحز ‣ 䩛⹛أشحفءّحز

  37. 荈⹛أشحفءّحز ‣ "84⩎ד荈⹛涸ח傈如《䖤׃גֻ׸׷ ‣ رؿٕؓز׌ה65$+45 ‣ أشحفءّحز鏣㹀ד⟣䠐ך儗꟦ח㢌刿דֹ׷ ‣ ⚅➿⥂盖ׁ׸׷ ‣

    ׋׌׃荈⹛أشحفءّحزךٔأز،כ
 "84؟ه٦زח⣛걾׃ג㹋倵׃ג׮׵׻זְהְֽזְ
  38. غحؙ،حف麊欽 㷕׿׌ֿה/P ‣ 荈⹛أشحفءّحز ‣ 䩛⹛أشحفءّحز

  39. 䩛⹛أشحفءّحز ‣ ؝ٝزٗ٦ٓـٕח麊欽ׅ׷חכ䩛⹛أشحفءّحز׾⢪ֲ ‣ 4חأشحفءّحز׾⥂盖ׅ׷ ‣ ず♧ؙٓأةPS倜鋉ؙٓأةחְאד׮ٔأز،דֹ׷ ‣ ٔأز،⵸ח4׾ٔهآزٔ涫ꐮׅ׷䗳銲ָ֮׶
 ׉ך׋׭ח㼔欽ךفؚٗٓي׾㔐㹋遤ׅ׷䗳銲ָ֮׷꬗⦜


    
 DVSM9165\BNB[PO@FT@FOEQPJOU^@TOBQTIPUCBDLVQTTOBQTIPU@ DVSM91045\BNB[PO@FT@FOEQPJOU^@TOBQTIPUCBDLVQTTOBQTIPU@@SFTUPSF
  40. 麊欽׃ג䠬ׄ׋ "NB[PO&4ך葺ׁ

  41. "NB[PO&4ך葺ׁ ‣ 㛇劤涸ח搀⨡姺ד圓䧭㢌刿ָדֹ׷הֿ׹
 ؿٕوط٦آسך䛷䜋׾「ֽג㸜㹀׃׋ؙٓأة麊欽ָ㹋植דֹ׷ ‣ ؎ٝأةٝأ〴侧 ‣ ؎ٝأةٝأة؎ف ‣ &#4؟؎ؤ

  42. 麊欽׃ג䠬ׄ׋ "NB[PO&4ך何㊣ه؎ٝز

  43. "NB[PO&4ך何㊣ه؎ٝز ‣ 圓䧭㢌刿ָ鹼ֺׅ׷ ‣ ؎ٝأةٝأ鷄⸇כ鹼ֻג׮֮׷玎䏝כ䖉ג׷ָ
 ،ؙإأهٔء٦ך㢌刿דⴓ⟃♳׮䖉׋ׁ׸׷ךכ⿑׃ְ ‣ ،ؙإأهٔء٦ך㢌刿זךח؎ٝأةٝأָⱄ圓眠ׁ׸ג׃תֲ ‣ ׁ׵ח$16$SFEJU#BMBODF׮Ⰻג嶊顤ׁ׸ג׃תֲ

    ‣ )&"%,01'涸ז؎ٝرحؙأ盖椚فؚٓ؎ָٝ妜׃ְ ‣ أشحفءّحز堣腉׾׮ֲ㼰׃⤑ⵃח׃ג妜׃ְ
  44. ➙תד剅ְ׋ـؚٗ鎸✲

  45. ‣ "NB[PO&MBTUJDTFBSDI4FSWJDFד
 &MBTUJDTFBSDIחٖأزٓٝر٦ة׾䫎Ⰵ׃ג麇׿׌
 IUUQLBLBLBLBLLVIBUFOBCMPHDPNFOUSZ ‣ "NB[PO&MBTUJDTFBSDI4FSWJDFד,JCBOBח
 ،ؙإأهٔء٦׾鏣㹀ׅ׷倯岀׏ג֮׷
 IUUQLBLBLBLBLLVIBUFOBCMPHDPNFOUSZ ‣ $VSBUPSד"NB[PO&MBTUJDTFBSDI4FSWJDF׾䪔ֲ


    IUUQLBLBLBLBLLVIBUFOBCMPHDPNFOUSZ ـؚٗ鎸✲
  46. ‣ "NB[PO&MBTUJDTFBSDI4FSWJDFך,JCBOBتحءُن٦سד
 ؚٓؿָ姻׃ֻ邌爙ׁ׸זְ㜥さָ֮׷
 IUUQLBLBLBLBLLVIBUFOBCMPHDPNFOUSZ ‣ VFOUQMVHJOBXTFMBTUJDTFBSDITFSWJDF׾⢪ֲ㜥さכ
 SFMPBE@DPOOFDUJPOT׾GBMTFחׅ׷
 IUUQLBLBLBLBLLVIBUFOBCMPHDPNFOUSZ ‣ "NB[PO&MBTUJDTFBSDI4FSWJDFד


    չ䩛⹛أشحفءّحزպ׾《䖤ׅ׷
 IUUQLBLBLBLBLLVIBUFOBCMPHDPNFOUSZ ـؚٗ鎸✲
  47. Ⱅ䒭⿫罋项俱

  48. IUUQXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFT+BQBO BXTCMBDLCFMUUFDIXFCJOBSBNB[PODMPVETFBSDIBNB[POFMBTUJDTFBSDITFSWJDF

  49. IUUQXXXTMJEFTIBSFOFU"NB[PO8FC4FSWJDFTCEUMBVODIBNB[POFMBTUJDTFBSDIGPSSFBMUJNFEBUBBOBMZUJDT