Capistranoãªã©ã§ããã¼ããã©ã³ãµã¼(ELB)ã«ç´ä»ãã¦ããWebãµã¼ãã¼(EC2)ã«ãããã¤ããéã«IPã¢ãã¬ã¹ãç´æ¥è¨è¿°ããã®ã§ã¯ãªãã ãã¼ããã©ã³ãµã¼ã®ARNããåçã«åå¾ããæ¹æ³ã ãªã«ããããã ã¤ã³ã¹ã¿ã³ã¹ã®IPãå¤æ´ã«ãªã£ãæããå°æ°ã®å¢æ¸ããã£ãå ´åã«ãdeploy.rb ããã®åº¦ã«å¤æ´ããæéãçããã åæ AWS-SDK ãå©ç¨ãã¦rubyã§æä½ãã ããã¾ã§ ALBã«ããåã¯ELB(Elastic Load Blancer)ã®classicãå©ç¨ãã¦ãã¦ãELBã«ç´ã¥ãã¤ã³ã¹ã¿ã³ã¹ã®IPã以ä¸ã§åå¾ãã¦ããã ï¼ãããSDKã®ãã¼ã¸ã§ã³ãããªãå¤ãï¼ Gemfile gem 'aws-sdk', '1.26.0' deploy.rbããæç² require 'aws-sdk' AWS.config({ :access_key_id => '******',
{{#tags}}- {{label}}
{{/tags}}