Vagrantã§æ軽ã«æ§ç¯ãã¦ãªã¼ãã³PaaSãCloud Foundryããç解ããï¼DevOpsæ代ã®Javaããã°ã©ãã®ããã®ãªã¼ãã³ã¯ã©ã¦ãå ¥éï¼2ï¼ï¼1/4 ãã¼ã¸ï¼ ãªã¼ãã³ãªã¯ã©ã¦ãã§éè¦æ§ãå¢ãJavaãDevOpsæ代ã®Javaããã°ã©ãã¯ã¢ããªã±ã¼ã·ã§ã³éçºè ï¼Devï¼ããããã¤ãéç¨ï¼Opsï¼é¢ã«ãããã¯ã©ã¦ãï¼ã¤ã³ãã©æè¡ã¸ã®å¹ åºãç解ãå¿ è¦ã¨ãªããæ¬é£è¼ã§ã¯ããã¾ãã¾ãªãªã¼ãã³ã¯ã©ã¦ãæè¡ãç´¹ä»ãã¦ãããä»åã¯ããªã¼ãã³ã½ã¼ã¹ã®PaaSã§ãããCloud Foundryããç´¹ä»ãã¾ããç°å¢æ§ç¯ãæ軽ã«ã§ãããVagrantãã使ã£ã¦ãã¼ã«ã«ã«Cloud Foundryã®éçºç¨ç¨¼åç°å¢ãç¨æãã¦ã¿ããã Cloud Foundryã¨ã¯ Cloud Foundryã¯ã´ã¤ã¨ã ã¦ã§ã¢ãä¸å¿ã¨ãªã£ã¦éçºããã¦ãããªã¼ãã³ã½ã¼ã¹ã®PaaSæ§ç¯ç¨ã½ããã¦ã§ã¢ã§ããã½ã¼ã¹ã³ã¼ãã¯
7. ã¨ã³ã¸ãã¢Sãã (c) 2013 Masashi Shinbara @shin1x1 1162 <VirtualHost *:80> 1163 ServerName candycane.local 1164 DocumentRoot "/Users/shin/sandbox/demo/candycane/app/webroot" 1165 </VirtualHost> 1166 1167 <VirtualHost *:80> 1168 ServerName demo.local 1169 DocumentRoot "/Users/shin/sandbox/demo/20130601_phpcon" 1170 php_value vld.active 1 1171 </VirtualHost> 1172 1173 <VirtualHost *:80> 1174 ServerName
ã¿ãªãã¼ãã7/12(é)ã®Vagrant meetupã¯æ¥½ããã£ãã§ããã¼? 話é¡ã®Vagrantã®éçºè Mitchell Hashimoto ãããè¿ãã¦ã®ã¢ããVagrantãã¼ã¯ã«ãTLã¯æ²¸ãä¸ãã£ã¦ãã¾ãããããããã大ç§ã¯ãWHITE ASHåã®èªä¸»ä¼ç»ã©ã¤ãã®ããã«ãVagrant meetupã¯æ³£ãæ³£ãæ¬ å¸ã§ãããããã©ã¤ãã ã£ãããæãããªãã¦ãªãã§ãããã³ãã§ãã ãã¦ããã㪠(ã©ããª?w) Mitchell Hashimotoãããä¸å¿ã«æè¿éçºãé²ãããã¦ããPackerã¨ãããã¼ã«ãããã¾ããä»å¹´ã®3æã«éçºãå§ã¾ãç¾å¨ã¯ã¾ã ãã¼ã¸ã§ã³0.1.5ã§ãããæ¬æ°ãªã³ã³ã»ãããé¢ç½ãããªæ©è½ããããããã£ã¦é¢ç½ãã¨æããä»åã¯æ¦è¦ã¨å ¥éããç´¹ä»ãããã¨æãã¾ãï¼ Packerã®ã§ãããã¨ã¨ç®æããã® Packerã¯ãPacker Webãµã¤ãã®ãããç»åã«ããããã
è¤éã§å¤§è¦æ¨¡ãªã¢ããªã±ã¼ã·ã§ã³ã¯ããã¦éçºç°å¢ãæ´ãããã¨ãããããããããªã£ã¦ããã¾ãã è¤æ°ã®ããã«ã¦ã§ã¢ãè¤éãªã¢ã¸ã¥ã¼ã«ã®ä¾åé¢ä¿ã®è§£æ±ºâ¦â¦ãªã©ãªã©ã ãã®ãã¼ã¯ã§ã¯ãéçºç°å¢ãããã°ã©ããã«ã«ãã Vagrant ã¨ã½ããã¦ã§ã¢ã»ã¤ã³ãã©ã¹ãã©ã¯ãã£ãããã°ã©ããã«ã«ãã Chef ãç¨ãã¦å®éã« Perl ã§æ¸ããã大è¦æ¨¡ãªã¢ããªã±ã¼ã·ã§ã³ã®éçºç°å¢ãæ´åããä½é¨ã¨ãã®æ¹æ³ãç´¹ä»ãã¾ãã
ã¡ãã£ã¨åãã Docker ã使ã£ã¦ããã®ã§ããã®è©±ã Dockr ã«ã¤ã㦠Docker 㯠dotcloud ããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¦ãããã³ã³ããæè¡ã«ããä»®æ³åã½ããã¦ã§ã¢ã 以ä¸ã®ãã¯ããã¸ã¼ãã¼ã¹ã«ãã¦ãã: LXC åã«ãæ¸ãããXen ã¨ã VirtualBOX ã¿ããã«ãã¹ãå ã«ä»®æ³ãã·ã³ãç«ã¡ä¸ããããããªãã¦ããã¹ãå ã®éé¢ãããç°å¢ã§ä»®æ³ãã·ã³ãåããæè¡ãç©çãã·ã³ãã·ãã¥ã¬ã¼ã·ã§ã³ãã¦ããããããªãã£ã¦ãã¨ã¯ãVPS ã¨ã EC2 ã¨ãã®ä»®æ³ãã·ã³ä¸ã§ãåé¡ãªãåããããã·ã³ãèµ·åããããã»ã¹ãä¸è¦ã¨ãªãã®ã§ãä¸ç¬ã§ä½¿ãå§ããããã¨ããã¡ãªããã«ã¤ãªãã£ã¦ããã AUFS UnionFS(ãã£ã¬ã¯ããªãéãåããããã¨ãã§ãã)ã®å®è£ ã®ä¸ã¤ãå ã®ä»®æ³ãã·ã³ã¤ã¡ã¼ã¸ãæ¸ãæããªãã§ãæ´æ°ãçºçããé¨åã¯å¥ã®å ´æã«æ¸ãè¾¼ãã§ããããã«ãªã£ã¦ãããããã«ãããä»®æ³
2024å¹´4æ1æ¥ãããSupershipæ ªå¼ä¼ç¤¾ã¯è¦ªä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹æ ªå¼ä¼ç¤¾ã«å¸ååä½µããã¾ããã åä½µã«ä¼´ããåç¶ä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹ã¯ç¤¾åãSupershipã«å¤æ´ããæ°ããªçµå¶ä½å¶ãçºè¶³ãã¾ãããæ¬ä»¶ã«é¢ãã詳細ã¯ããã¬ã¹ãªãªã¼ã¹ãã確èªãã ããã 2024å¹´4æ1æ¥ãããSupershipæ ªå¼ä¼ç¤¾ã¯è¦ªä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹æ ªå¼ä¼ç¤¾ã«å¸ååä½µããã¾ããã åä½µã«ä¼´ããåç¶ä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹ã¯ç¤¾åãSupershipã«å¤æ´ããæ°ããªçµå¶ä½å¶ãçºè¶³ãã¾ããã æ¬ä»¶ã«é¢ãã詳細ã¯ããã¬ã¹ãªãªã¼ã¹ãã確èªãã ããã
2024å¹´4æ1æ¥ãããSupershipæ ªå¼ä¼ç¤¾ã¯è¦ªä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹æ ªå¼ä¼ç¤¾ã«å¸ååä½µããã¾ããã åä½µã«ä¼´ããåç¶ä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹ã¯ç¤¾åãSupershipã«å¤æ´ããæ°ããªçµå¶ä½å¶ãçºè¶³ãã¾ãããæ¬ä»¶ã«é¢ãã詳細ã¯ããã¬ã¹ãªãªã¼ã¹ãã確èªãã ããã 2024å¹´4æ1æ¥ãããSupershipæ ªå¼ä¼ç¤¾ã¯è¦ªä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹æ ªå¼ä¼ç¤¾ã«å¸ååä½µããã¾ããã åä½µã«ä¼´ããåç¶ä¼ç¤¾ã§ããSupershipãã¼ã«ãã£ã³ã°ã¹ã¯ç¤¾åãSupershipã«å¤æ´ããæ°ããªçµå¶ä½å¶ãçºè¶³ãã¾ããã æ¬ä»¶ã«é¢ãã詳細ã¯ããã¬ã¹ãªãªã¼ã¹ãã確èªãã ããã
ããã㯠Kanazawa.rb meetup #9 ã¯ãæèé«ãããããä¼ãã§ãã ã¯ããã¾ãæè¿ããä»ããã®è©±ã§ããã VagrantChef | OpscodeChef ã£ã¦èå³ãã£ããã§ããã¨ãããæ£ç¢ºã«ã¯ Puppet ã«èå³ããã£ã¦ãã§ã大ããã ãªã¨æã£ã¦ããã§ãããããã¨å½æ㯠Puppet ã¯å¤é¨DSLã ã£ãã®ã§ããRubyã®ææ³ã§ããªãã§ããªãè¨å®ã£ã¦ãã©ããã£ã¦ã¨ãã£ã¿ã§ãã¤ã©ã¤ãããã®ï¼ãã¨ããã®ãæ大ã®å¿ççãã¼ãã«ã§ããã ã§ãæã¯æµã㦠Software Design ã® Chef ç¹éãèªãã§ããæ°ã«ãªã£ããã©ãæ¬å®¶ã®ãªãã¡ã¬ã³ã¹ã¨æ ¼éãã¦ãããã¡ã«ä»çµã¿ã®å¤§æããæãå¢é·ããã¦æ«æããã®å¾ããã°ã¦ã§ã¼ãã«ä¹ã£ã¦é人åºçä¼ã§è²·ã£ããå ¥éChef Soloããèªã¿ãããã§ãããã ããµã¼ãã®ç¶æ ã管çãåæãããããã®ãã¬ã¼ã ã¯ã¼ã¯ã ã¨ãã表ç¾ãã°ãµãã¨åºãã£
Jenkins ããããã¨æ¯ãããã¨åæ¥ããã¾ããã£ãã®ã§åå¿é²ãæ®ãã¦ããã ããããã£ãã®ã¯ Chef ã§æ§ç¯ãããµã¼ãã¼ã Jenkins 㧠CI ãããã¨ãããã®ããã®ã¨ããµã¼ãã¼ã¯ãã¹ããçµãã度ã«ç ´æ£ãã¦ããã¹ãéå§æã«å度çã£æ°ãªç¶æ ããç«ã¡ä¸ãããã(ãããããµã¼ãã¼ãå£ãã¦ä½ã£ã¦ã¨ãããã¹ãã¯ãªãã¨ããååã§å¼ã°ããã®ã ãã?) ä»®æ³ãµã¼ãã¼ãç ´æ£/ä½æãããã°ã©ããã«ã«ããã®ã¯ãã¡ãã Vagrant ãããã¸ã§ãã³ã°ã¯ Chef Chef ã®ç°å¢ãæ´ããã®ã« knife-solo 0.3.0.pre3 ãã¹ã㯠serverspec ã³ã¼ã㯠Github ã«ä¸ãã (https://github.com/naoya/jenkins-vagrant-test) CI 㯠Jenkins ã¨ããæ§æã«ãªã£ã¦ãããã²ã¨ã¾ã Jenkins ã Vagrant ã¯ãã¼ã«ã«
Engine Yardããã®åå¼·ä¼ã«è¡ã£ã¦ãã çããããã«ã¡ã¯ã 2/22ã«éå¬ãããChefã®åå¼·ä¼ã«è¡ã£ã¦ãã¾ããã äºåæã®å¼ã£è¶ããªã©ã§ãã¿ãã¿ãã¦ããã®ã§æéãçµã£ã¦ãã¾ãã¾ããããåå ãã¦åãã£ããã¨ãå ã«ãæ¬ã¨ã³ããªã¼ã§ã¯vagrantã®ä»®æ³ç°å¢ãchef-soloã§è¨å®ã§ããããã«ãã¦ã¿ããã¨æãã¾ãã ã¨ãããã¯ã¦ãã®ãããããã®ãã¿ã°ããã§ããªãã¨ãããæ¬ãéããæãæããªããã§ããã©â¦ããããããã¤ããããã ããã ã©ããã¦chefã¨vagrantï¼ ä»¥åããã¡ããã¡ããåä½ç¢ºèªç°å¢ã®ãvagrantã§ç¨æãã¦ãã¾ãããã§ãæ¯åç°å¢ä½ãã®ãããã©ããã¨ãé »åº¦ããããªã«ãªãã£ããã§ãããæå³ææ ¢ãã¦ã¾ãããä¸æ¹ã§ã社å ã®ç°å¢ã chef-solo 使ã£ã¦ç°å¢æ§ç¯ãããã¨ã¯ãã£ããã§ããã©ã管çãã対象ã¯vagrantã§æ§ç¯ããã®ã¨ã¯å¥ã®ç°å¢ã ã£ãããããã¡ãã£ã¨ã¡ãã¯
naoya ããã«ããã°ãã便å©ããã¦é¼»è¡ãåºã¾ãããã¨ãã Vagrant ã触ã£ã¦ã¿ã¦ãåã Git ãæåã«è§¦ã£ã以æ¥ã®è¡æãåãã¾ããã » Vagrant - naoyaã®ã¯ã¦ãªãã¤ã¢ãªã¼ éçºè ãããã gem ã§å ¥ãããã¨ãããRuby ã使ãéçºè ã®ä¸é¨ã§è©±é¡ã«ãªã£ã¦ãããããªã®ã§ãããVagrant ã¯ããããããã°ã©ãã³ã°ãããã¨æã£ã¦ããåå¿è ããéçºç°å¢ãç¨æããå¿ è¦ããããã¶ã¤ãã¼ã«ãããå¼·åãªãã¼ã«ãªããããªããã¨æã£ã¦ãã¾ãã Vagrant ã便å©ã«æããã²ã¨ã¤ã®ã±ã¼ã¹ã¨ãã¦ãWindows ã®ä¸ã« Linux ã®ä»®æ³ãã·ã³ãç¨æãããã¨ããã®ãæãããã¾ããWeb æ¥çã«ããã¨åéããã¦ãã¾ãããã«ãªãã®ã§ãããä¸ã®ä¸ã®ã»ã¨ãã©ã®äººã¯éçºè ãå«ã㦠Windows ã使ã£ã¦ããã§ãããããããã人ã PHP ã Ruby ãªã©ãå§ãã¦ã¿ããã¨æã£ãæã«ãé£
Wiièµ·åããããã©ã¯ã¨Xé¯ãæ»ãã§ä½ãã§ããªãã£ã@HIROCASTERã§ãããã¾ããã ã¤ã³ãã©ç°å¢ã®èªåæ§ç¯ã¯ããã¯ãå½ããåã§ãããï¼ vagrantã¨ããVirtualBoxãã©ãããã¦ãchefãpuppetãå©ç¨ããVMã®ç°å¢èªåæ§ç¯ããã¦ãããã½ããã¦ã§ã¢ãããã¾ãã ãããå©ç¨ãã¦ãéçºç°å¢ã®ã»ããã¢ãããèªååããã¨å ±ã«VMåãã¦ãããã«ã³ã¼ããæ¸ããã¨ã ãã«éä¸ã§ããç°å¢ãæ§ç¯ããç¶æ ãã¤ãã£ã¦ãããã¨ãæ¨å¥¨ãã¾ãã ãã©ã°ã¤ã³ãå©ç¨ããã°ãvagrantãéãã¦Amazon EC2ã¸ã®ç°å¢æ§ç¯ãèªååããchefãpuppetã®ã³ã¼ããåå©ç¨ã§ãã¾ãã å°ããç°å¢ã§ããã°ãchef-soloãå©ç¨ãã¦åç¬ã§ç°å¢æ§ç¯èªååããªã¹ã¹ã¡ãã¾ãã試ãã«ã¤ã³ãã©æ§ç¯ã®èªååãå¦ã¶ã®ã«ãä»åã®æ§ãªç°å¢ã§å¦ç¿ãã¦ã¿ã¦ã¯ãããã§ããããã vagrantã®ã¤ã³ã¹ãã¼ã« gemãå©ç¨
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}