ã¤ã³ãã©ã¨ã³ã¸ãã¢ãConsulã¨Stretcherãã¤ãã£ããããã¤æ¹åã§éçºå¹çã®åä¸ã«è²¢ç®ãã話 / jtf2017-consul-stretcher-deploy
ã¤ã³ãã©ã¨ã³ã¸ãã¢ãConsulã¨Stretcherãã¤ãã£ããããã¤æ¹åã§éçºå¹çã®åä¸ã«è²¢ç®ãã話 / jtf2017-consul-stretcher-deploy
ããã«ã¡ã¯ãã°ãªãã©ã³ã§ã¤ã³ãã©ã¨ã³ã¸ãã¢ããã¦ããå¾³ç°ã§ãã æ¥ã éç¨ãã¦ããã¤ã³ãã©ã®æ¹åãæ°è¦ã²ã¼ã ã®ã¤ã³ãã©è¨è¨ãªã©ãè¡ã£ã¦ããã®ã§ãããå æ¥ãã°ãªãã©ã³ã§4å¹´éç¨ãã¦ãããã©ã¦ã¶ã²ã¼ã ãä¸è¯éæ¯ãã·ã£ããã«ã»ã¶ã»ã«ã¼ãã(以ä¸ãä¸è¯éæ¯)ã®ã¤ã³ãã©ãGoogle Cloud Platform(以ä¸ãGCP)ã¸ç§»è¨ãã¾ãããä»åã¯ããã®æã®çµç·¯ãè¨è¨ãè¡ã£ãä½æ¥ãTipsã«ã¤ãã¦ãç´¹ä»ãã¾ãã çµç·¯ 大ã¾ããªçµç·¯ã¨ãã¦ã ã¤ã³ãã©ã³ã¹ãã®åæ¸ ããã©ã¼ãã³ã¹ã®åä¸ ã¤ã³ãã©ç°å¢ã®æ´å æè¡çãªææ¦ ãããã¾ãããããããäºã®çºç«¯ã¯ç§ãGCPã使ãããã»è©¦ãã¦ã¿ããã¨ãããªãã¨ãèªååæãªææ¡ã ã£ãã®ã§ããï¼ç¬ï¼ã ãã¤ã³ãã©ã³ã¹ãã®åæ¸ãã¨ãããã©ã¼ãã³ã¹ã®åä¸ãã«ã¤ãã¦ã¯ãä¸è¯éæ¯ããªãªã¼ã¹ããã®ã2014å¹´ã®5æã§3å¹´çµã£ã¦ããããªãªã¼ã¹æã«æ¯ã¹VMã®ã³ã¢å価ãå®ããCPUæ§è½
注æ UPDATED: 2017/02/07 ãã®è¨äºã§èª¬æãã¦ããã¯ã©ã¹ã¿ã¯å¤ãææ³ã§ãã æ¬ç¨¿ã®å 容ã§æ§ç¯ããã¯ã©ã¹ã¿ã§ã¯ docker service ãªã©ã® Swarm mode ã§å°å ¥ãããã³ãã³ããåä½ãã¾ããã Docker 1.12 以éã Swarm mode ã« DNS, LB ãçµã¿è¾¼ã¾ãã¦ãããå¤é¨ã®ãã£ã¹ã«ããªãµã¼ãã¹ (Consul ãªã©ã® KVS) ã«ä¾åããªããªãã¾ããã Swarm mode ã¯æ¨æºã³ãã³ã docker swarm ã§ã»ããã¢ããå¯è½ãªããã docker-machine ssh ã§ã¯ã©ã¹ã¿ãæ§ç¯ã§ãããã§ããè¿æ¥ä¸ã«è¨äºã¨ãã¦å ¬éäºå®ã§ãã æ¸ãã¾ãããâãSwarm mode ã¯ã©ã¹ã¿ãæ§ç¯ãã¦åããã¦ã¿ã | Qiita TL;DR ã³ãã³ãè¦ãã°åãã人åãã®å®æåã¯ãã¡ã â hidekuro/swarm-cluster-sam
ããã«ã¡ã¯ãLorentzcaã§ãã3æã§ããã¾ã ã¾ã å¯ãã®ã§ãªããªãé£ãã«è¡ãããã³ã·ã§ã³ããã½ãã§ãï¼ ââ ãã®åº¦DBãµã¼ãã¼(ç©çãã·ã³ãMySQL)ã®å¼ã£è¶ããè¡ãã¾ããã ãã®ã¤ãã§ã«ãåé·åã®ä»çµã¿ãmhaã¨consulã使ã£ãæ¹æ³ã«å¤ããã®ã§ç´¹ä»ãã¾ãã ã¯ããã« ã¾ãã¯ç°¡åã«å¼ã£è¶ãåã¨å¼ã£è¶ãå¾ã®æ§æãæ¯ã¹ã¦ã¿ã¾ãã å¼ã£è¶ãåã¯ä»¥ä¸ã®æ§ãªæ§æã§ããã ãµã¼ãã¼å°æ°: 2å° MySQLãã§ã¤ã«ãªã¼ãã¼ã®ä»çµã¿: èªä½ã·ã§ã«ã¹ã¯ãªãã ã¢ããªã®åç §å ãåãæ¿ããä»çµã¿: keepalivedã§vipãå¼µãæ¿ãããã¨ã§å®ç¾ å¼ã£è¶ãå¾ã¯ä»¥ä¸ã®æ§ãªæ§æã«ãªãã¾ããã ãµã¼ãã¼å°æ°: 3å° MySQLãã§ã¤ã«ãªã¼ãã¼ã®ä»çµã¿: mha ã¢ããªã®åç §å ãåãæ¿ããä»çµã¿: consulã®dnsæ©è½ã使ã£ã¦å®ç¾ ãªããã®ãããªæ§æã«ããã®ãã話ãã¦ããã¾ãã å¼ã£è¶ãåã«æã£ã¦ãã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}