AWS CodeDeploy ã使ã£ã¦ãããã¤ãèªååããã¨ãã®è³æã§ãã Before EC2 + UserData AMIããæ°ããã¤ã³ã¹ã¿ã³ã¹ãä½æ UserDataã§Githubããã³ã¼ããpull Capistranoã§èªåèªèº«ã«ã¢ããªãããã㤠ELBã«æ°ããã¤ã³ã¹ã¿ã³ã¹ã追å ELBããå¤ãã¤ã³ã¹ã¿ã³ã¹ãéå½¹ å¤ãã¤ã³ã¹ã¿ã³ã¹ãåé¤ ãããåé¡ ã¤ã³ã¹ã¿ã³ã¹ã®ä½æãåé¤ãæä½æ¥ è¨å¤§ãªæé æ¸ ä½æ¥ãã¹ ã¹ã¯ãªããã®çµäºããã°ä»¥å¤ãã確èªã§ããªã ãµã¼ãã«å ¥ã£ã¦cloud-init-output.logãç£è¦ After CodeDeploy EC2ã¤ã³ã¹ã¿ã³ã¹ã¸ã®ãã¡ã¤ã«é ç½®ã¨ã¹ã¯ãªããå®è¡ã®èªååã»ç®¡çãã¼ã« CodeDeployã®å©ç¨æ¹æ³ äºåæºå ã¢ããªã±ã¼ã·ã§ã³ãä½æ ãããã¤ã°ã«ã¼ããä½æ ãããã¤å¯¾è±¡ (EC2ã®ã¿ã°å / AutoScalingGroup) ãã
{{#tags}}- {{label}}
{{/tags}}