Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ã¯ããã« ãã®è¨äºã¯GREE Advent Calendar 2013å¹´ã®21æ¥ç®ã§ããã楽ãã¿ãã ããï¼ ããã«ã¡ã¯ãã¢ã´ã²ãããã³ãã£ã¼ã ã¨è©å¤ã®ä¹å²¡ã§ããGREEã§ã¯ãJavaãScalaãå¸æããããã®åå°ãåºããããããããã¤ãç£è¦ã®ä»çµã¿ã¥ãããªã©ã横æçã«ãã£ã¦ãã¾ããä»åã¯ãã®éç¨ã§å¾ãããç¥èããCapistrano 3ã®å ¥éè¨äºãã¨ããå½¢ã§å ±æããã¦ããã ãã¾ãã ãã®è¨äºã§ã¯Capistrano 3ã®åºç¤ããç´¹ä»ãã¾ããCapistrano 3ã¯Rubyããã¼ã¹ã«ãããµã¼ãæä½ããã³ãããã¤ã®èªååãã¼ã«ã§ããCapistrano 3ãå©ç¨ãããã¨ã§ããããã¤ãªã©ã®è¤éãªãµã¼ãæä½ãèªååãããã¨ãã§ãã¾ããããã®è¨äºã§ã¯ãç¹ã«ãããã¤ã«ç¦ç¹ããã¦ãªãããCapistranoã§ãµã¼ãæä½ãèªååããèãæ¹ã¨å®ç¾æ¹æ³ãã説æãã¦ããã¾ãã Capistrano 3ã®ç¿å¾
ããæè¿ã®ã¤ã³ãã©ç³»æè¡ã®æµããããããããªã¼ãã¨æã£ãã®ã§ãPuppet ãåºã辺ãããããããæ¯ãè¿ã£ã¦æ´çãã¦ã¿ããæ®´ãæ¸ããªã®ã§ãå¾ããä¿®æ£ãããæ¸ãå ããããããããç¹ã«å¾åã®æ¹ã¯ããã¾ãèããæ´çã§ãã¦ãªãã æè¿ã®ã¦ã§ãçéã§ã®ãã¤ã³ãã©ãã¨ããç¨èªã®ä½¿ããæ¹ã«ã¯ãè²ã ç°è«ãããããã ãã©ãããã§ã¯ããæè¿ä½¿ãããããã«ãªã£ã¦ãããOS ããããã«ã¦ã§ã¢ã¨ãã£ãã½ããã¦ã§ã¢ã¬ã¤ã¤ã¼ãæãè¨èã¨ãã¦ã®ã¤ã³ãã©ã«ã¤ãã¦è§¦ãããï¼è±èªåã§ãåæ§ã®æå³ã§ä½¿ããã¦ãããããªã®ã§ãããç¨åº¦å¸æ°æ¨©ãå¾ãã¨è¨ã£ã¦ãè¯ãããã ããï¼ ãããã¸ã§ãã³ã°ã¬ã¤ã¤ã¼ ã¾ããåæç¥èã¨ãã¦ãããã¸ã§ãã³ã°ã¬ã¤ã¤ã¼ã¨èªåãåæã«å¼ãã§ããã®ã«ã¤ãã¦æ´çã Chef ã Puppet ã¯ããããã¸ã§ãã³ã°ãã¬ã¼ã ã¯ã¼ã¯ãã¨ãå¼ã°ãã¦ãããã以ä¸ã®è°è«ãããå³å¯ã«ããããã«ãLee Thompson æ°ã«ãã
Infrastructure as Codeï¼ï¼ ã¨ãããã¨ã§ãè¨ãããäºè¨ã£ã¦ãã®æµãã«ä¹ã£ã¦ã¿ã¾ããã chefæµè¡ã£ã¦ã¾ããã©ããªããã¡ããã¨å£ãé«ããã¨æãã¦ãã¨ããã«ãansibleã¨ãããç¥ã£ãã®ã§ãå°å ¥ãã¦ã¿ã¾ããã ãããVPSã®ä¹ãå¤ãä½æ¥ãç®çã ã£ãã®ã§ããããæçµç®æ¨ã«ãä»åã¯ã¨ããããå°å ¥ç·¨ã§ã ã¡ã¤ã³ãã·ã³ : æå ã®Macï¼OS X 10.7.5ï¼ å¯¾è±¡ãµã¼ã : ãããVPS (CentOS6) ansible ã¤ã³ã¹ãã¼ã« Macã«ansibleãã¤ã³ã¹ãã¼ã«ãã¾ãã (ãããåèã«ãã¾ãããInstalling Ansible on OS X) pythonã®åä½ç°å¢æ§ç¯ ansible ã¯pythonã§åãã®ã§ãã¾ãã¯pythonãåãç°å¢ãç¨æãã¾ãã
æè¿ãåããããªæ§æã®ãµã¼ããæ§ç¯ããããsensuã¯ã©ã¤ã¢ã³ããåãµã¼ãã«ãããã㨠åããããªä½æ¥ãä½åããã£ã¦ãã®ã§ãããã¯èªååããã°ãªããã¨Ansibleã®åå¼·ãå§ãã¾ããã ã¡ãªã¿ã«chefãå°å ¥ãããã¨ãããã¨ããããã©ãéä¸ã§ããã©ããããªã£ã¦æ¾æ£ãã¦ãã¾ãã Ansibleã¯ä»ã®ãµã¼ãæ§æ管çãã¼ã«ã¨ããã¹ã¦ã·ã³ãã«ãªã®ãç¹å¾´ã§ã å°å ¥ã®æ·å± ãã¨ã¦ãä½ãã®ãé åçã ãã®ãããã¤ãããè¨ã£ã¦ããã â Ansibleã使ã£ã¦èª°ã§ãç°¡åå®å ¨ã«ãµã¼ãæ§ç¯ã§ããä»çµã¿ãä½ã ã¨ããããã§èªåã1å¨éAnsibleãåå¼·ããã«ãããåèã«ãªã£ããµã¤ããã¾ã¨ãã¦ã¿ãã â å°å ¥ã»æ¦å¿µ ä¸æè°ã®å½ã®Ansibleã·ãªã¼ãº Ansibleã¨ã¯ãªããªã®ããåæè¨å®ãã©ãããã®ããAnsibleãåå¼·ãããã«ããã£ã¦ä¸çªæåã«åèã«ããããµã¤ãã æ å ±ç³»ã®å¦çã«ã¯ã馴æã¿ã®ã¢ãªã¹ã¨ãããé¡
2014å¹´08æ04æ¥11:11 ã¤ã³ãã© Ansibleã使ã£ã¦èª°ã§ãç°¡åå®å ¨ã«ãµã¼ãæ§ç¯ã§ããä»çµã¿ãä½ã Ansible ã£ã¦ä½ãªã®ï¼ ãµã¼ãã«å¯¾ãã¦ããã«ã¦ã§ã¢ã®ã¤ã³ã¹ãã¼ã«ãè¨å®çã®ç°å¢æ§ç¯ãè¡ããã¨ããããã¸ã§ãã³ã°ã¨è¨ãã¾ããããã®ä½æ¥ãèªååãããããã®ãã¼ã«ã§ãããããã¸ã§ãã³ã°ãæåã§è¡ãã¨ãæéãæããããã©ããã¦ããã¹ãèµ·ãããã¾ãã ãã®ç¹ãAnsible ã®ãããªãã¼ã«ã使ãã°ãã³ãã³ãä¸çºã§ãããã¸ã§ãã³ã°ãèµ°ããããã«åªçæ§ï¼ä½åº¦å®è¡ãã¦ãåãçµæã«ãªãï¼ã確ä¿ãããããã誰ã§ãç°¡åå®å ¨ã«ãµã¼ãæ§ç¯ãåºæ¥ãã®ã§ãã åæ§ã®ãã¨ãè¡ããã¼ã«ã¨ãã¦ãChef ã Puppet ãããã¾ãããAnsible ã¯ãããã®ä¸ã§ãã·ã³ãã«ãªãã¨ãç¹å¾´ã§ããChef ã¯ä»¥å使ã£ã¦ã¿ããã¨æã触ã£ã¦ã¿ãã®ã§ãããè¦ãããã¨ãå¤ãã£ãããã¦æ«æãã¦ãã¾ã£ãããAnsible
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}