Cloud Runã¨ã¯ãGCPã®ãµã¼ãã¼ã¬ã¹ãªã³ã³ããå®è¡ç°å¢ã Cloud Runã¨ã¯ããµã¼ãã¼ã¬ã¹ï¼ãµã¼ãã¼ã®ç®¡çãä¸è¦ï¼ãªã³ã³ããå®è¡ç°å¢ãæä¾ããGCPã®ãµã¼ãã¹ã§ãã Cloud Runãå©ç¨ãããã¨ã§ãã¢ããªã®Dockerã¤ã¡ã¼ã¸ãæå®ããã ãã§ç°¡åã«ã¢ããªããããã¤ãããã¨ãã§ãã¾ãã ã¾ããGKEã¨éããã¯ã©ã¹ã¿ãKubernetesã®è¨å®ã¯GCPå´ãèªåã§è¡ã£ã¦ããã¾ãã ãã®ãããç°¡æçã®GKEã¨ããã¤ã¡ã¼ã¸ã§ãããã®ã§ã¯ãªããã¨æãã¾ãã 以ä¸ã®ãããªã¯Cloud Runã®æ¦è¦ãç°¡æ½ã«ã¾ã¨ãããã¦ããã®ã§ãåèã«ãã¦ã¿ã¦ä¸ããã Cloud Runã«ã¢ããªããããã¤ããæ¹æ³ãåããããã解説 Cloud Runã«ã¢ããªããããã¤ããæ¹æ³ãåããããã解説ãã¾ãã ä»åã¯ãCloud Runã«Laravelã¢ããªããããã¤ãã¦ããã©ã«ãç»é¢ã表示ãããã®ãç®æ¨ã¨ãã¾ãã
SA岩永ã§ããã¯ã©ã¦ãæ代ã«ãªããBlue/Greenãããã¤ã¨å¼ã°ããæ¹å¼ãåãã·ã¹ãã ãå¢ãã¦ãã¾ããããã ãæ¥æ¬èªã§æ¸ããã¦ããBlue/Greenãããã¤ã®æ å ±ã¯å¤å°å¤ããã®ãå¤ããããç¹ã«ã¯ã©ã¦ãã§ç価ãçºæ®ããBlue/Greenãããã¤ã«ã¤ãã¦2015å¹´ã®æå¾ã«ä¸åº¦ã¾ã¨ãã¦ã¿ããã¨æãã¾ãã 以ä¸ã¯ç§ã®å人çãªèãã«åºã¥ããã®ã§ãããä»ã«ãæ§ã ãªèãæ¹ãããã¾ããAWSã®ãããã¤ã«é¢ããçºè¡¨ã§ã沢山ã®èãæ¹ãææ¡ããã¦ãã¾ããããããã¤ããµãã¼ããããµã¼ãã¹ãå¤ç¨®å¤æ§ã«æä¾ãã¦ãã¾ãã1ã¤ã®èãæ¹ã¨ãã¦åèã«ãã¦é ããã°å¹¸ãã§ãã ãªããã®è¨äºã¯ã2015å¹´ã®AWS re:Inventã®ã»ãã·ã§ã³ã(DVO401) Deep Dive into Blue/Green Deployments on AWSããåèã«ãã¦ãã¾ããèå³ã®ããæ¹ã¯SlideshareãYoutubeã
tech.kayac.com Advent Calendar 2014 10æ¥ç®æ å½ã® @fujiwara ã§ãã æè¿æ¸ãã¦ãã stretcher ã¨ãããããã¤ãã¼ã«ã®ç´¹ä»ããããã¨æãã¾ãã é·ãã®ã§3è¡ã§ pushåãããã¤ã¯ãã¹ãå°æ°ãå¢æ¸ããããç°å¢ã«é©ããªã å種åé¡ã解決ããpullåãããã¤ãã¼ã«ãæ¸ãã Consul ã¨é£æºããã ä¸å¤®ãã¹ãé å¸(push)åãããã¤ã®åé¡ç¹ ã«ã¤ãã¯ã®èªç¤¾ãµã¼ãã¹ã§ã¯ä¹ ãã Archer ã¨ãããã¼ã«ãå©ç¨ããä¸å¤®ãã¹ãããåãããã¤å¯¾è±¡ãã¹ãã« rsync ã§ãã¡ã¤ã«ãé å¸ããå½¢ã®ãããã¤ãè¡ã£ã¦ãã¾ãããããã§ã¯ããã push åã¨å¼ã³ã¾ãã pushåã®ãããã¤ã¯ããã¹ãå°æ°ãé »ç¹ã«å¢æ¸ããç°å¢ã§ä»¥ä¸ã®ãããªåé¡ãããã¾ãã æ°ãããã¹ããèµ·åãã¦ããå ´åã«ãä¸å¤®ãã¹ããããããã¤ãè¡ã£ããã¨ã§ãªã㨠(å¤ãç¶æ ã§èµ·åãã¦ã
node.js ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ãããæã®é¸æè¢ã ãã¾ãã«ãããããã¦ãçµå±ã©ãããã°ããã®ãï¼ã£ã¦ãªã£ãã®ã§ã ãã£ããåºç¤ããã¾ã¨ãã¦ã¿ã¾ãã ãããã¤ã¨ã¯ä½ãï¼ ã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã¯å¤§ãã2ã¤ã®ãã§ã¼ãºã«åããã¾ãã ãã¡ã¤ã«ãæå®ã®å ´æã«ç½®ã ç½®ããããã¡ã¤ã«ã®åãã¼ãã£ã³ã° æç« ã«ãããªãã°ããã¡ã¤ã«ãåãµã¼ãã¼ã®æå®ã®å ´æã«ããããããã®ãã¡ã¤ã«ãå度ãã¼ããããããã«ãªãã¨æãã¾ãã Webã¢ããªã±ã¼ã·ã§ã³ã®å ´å ãã¡ã¤ã«ãæå®ã®å ´æã«ç½®ãåã«ãã¹ããèµ°ãããã ç½®ããå¾ã«éçãã¡ã¤ã«ãçæãããã¨ããã®ï¼ã¤ã®åå¾ã«ã¯ãã£ã¨è²ã ãªãã§ã¼ãºãããã¾ããã ãããã¤ã®ã¿ã¹ã¯ã¯ã大ããåãã¦ãã®ï¼ã¤ã«ãªãã¾ãã ãã¡ã¤ã«ãæå®ã®å ´æã«ç½®ã ãµã¼ãã¼ã«ãã¡ã¤ã«ãç½®ãä½æ¥ã¯ã以ä¸ã®ãããªæ¹æ³ãããã¾ãã FTP tar ãªã©ã§å§ç¸®scpã§è»¢éãã¦è§£å rsync g
æè¿ã¯ãããã¤ããã¼ã«ã使ã£ã¦ä¸çºã«ãªã£ããã©ãã¿ã¹ã¯ã®æåãããå¿ãã¦ãã¾ãã®ã§ãåå¿é²ãã¤ãã¦ã¿ãã ãã¬ã¼ã ã¯ã¼ã¯ï¼RubyOnRails ãã¼ã¸ã§ã³ï¼3.1.0 ãããã¤ãã¼ã«ï¼Capistrano ãã¼ã¸ã§ã³ï¼2.9.0 æ¸ãæ¹ã®ä¾ $ å®éã«æã¤ã³ãã³ã # å é¨å¦ç 稼åãã¦ãããµã¼ãã¹ã«ãªãªã¼ã¹ä½æ¥ï¼ãããã¤ãè¡ãã deployã®Defaultã®ã¿ã¹ã¯ã¯ã½ã¼ã¹ã®æ´æ°ã¨åèµ·åãèµ·åãã¦ãããã¨ãåæã $ cap deploy # update # restart æ°è¦ã«è¿½å ãããµã¼ãã«åæãã£ã¬ã¯ããªãä½æããã Capistranoç¨ã®ãã£ã¬ã¯ããªã®ä½æãæ¢åã®ãµã¼ãã«ã¯å½±é¿ããªãï¼æ¢ã«ãã£ã¬ã¯ããªãåå¨ããå ´åã¯ãªã«ãããªãï¼ã®ã§ãæ°è¦ã«ã¢ããªã±ã¼ã·ã§ã³ãµã¼ããï¼å°è¿½å ããæãªã©ã¯ãã¾ããã®ã³ãã³ãããããã $ cap deploy:setup # setup_di
ä»ã¾ã§ãã£ã¨ä½¿ããå«ãã ã£ãCapistranoããã£ã¨ä½¿ã£ã¦ã¿ããã¨æãã ããããäºã¯ãããªæã ãã¹ãç°å¢ã§éçºããã½ã¼ã¹ãSVNã«ã³ããããã ã¹ãã¼ã¸ç°å¢ã«ã¦ããã¹ãç°å¢ã§ã³ããããããã½ã¼ã¹ãã¢ãããã¼ãã§åå¾ ãããã¤å¾ã®å ¬éç°å¢ã¨ãç¾å¨ã®å ¬éç°å¢ã®ä¿®æ£å·®åãrsyncã§ç¢ºèªããä¿®æ£å·®åãåå¾ãã 3.ã§ä½æãããã¼ã¿ãå ã«ãä¿®æ£å·®åã®ã¿ãããã¤ãã â»åæã¨ãã¦ãåããµã¼ãå ã«ã¹ãã¼ã¸ç°å¢ã¨å ¬éç°å¢ããããã®ã¨ãã â»ä¿®æ£å·®åã®ã¿ãããã¤ã®é¨åã¯ãrsyncã§å®ç¾ãã¦ã¿ã ã¨ããããCapistranoãã¤ã³ã¹ãã¼ã«ããªããå§ã¾ããªãã $ gem install -y capistrano $ cap --version Capistrano v2.12.0 ãããªæãã§ãã¼ã¸ã§ã³ã帰ã£ã¦ãããã¤ã³ã¹ãã¼ã«å®äºã é常ã ã¨ã次ã«ã¯capifyã³ãã³ãã§Capfileã¨de
PHPã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤èªååã«Capistranoã¨ãããã¼ã«ã使ã£ã¦ã¿ã¦ãç¸å½ä¾¿å©ã ã£ãã®ã§ã¡ã¢ãã¦ãæ¸ãã¦ããã Capistrano(ãããæ¸ãã¦ãæç¹ã§ã®ææ°ãã¼ã¸ã§ã³ã¯2.12.0)ã¯Rubyãã¼ã¹ã®ãããã¤èªååãã¼ã«ã§ãRoRç¨ã«æé©åããã¦ãããã®ã®è¨å®ãã¡ã¤ã«ãã¡ããã£ã¨å·¥å¤«ããã°è²ããªå½¢å¼ã®ã¢ããªã±ã¼ã·ã§ã³ã«å¿ç¨ã§ãããããã¾ããªåãã¨ãã¦ã¯ãã¡ãã§å³ç¤ºããã¦ããããã«ãããã¤å ã§SCMããã½ã¼ã¹ãåå¾ãSCPã§ãããã¤å ã«ã³ãã¼ãããããããã¯ãããã¤å ã«SSHãã°ã¤ã³ãã¦ããSCMããã½ã¼ã¹ãåå¾ããããã¿ãããªæãã«ãªãã(deploy_viaã§ä½ãæå®ãããã§å¤ãã£ã¦ãã) ãã¼ã«ã®ç¹é·ã¨ãã¦ã¯å¤§ä½ä»¥ä¸ã®ãããªæãããªãã¨æãã ã³ãã³ãä¸çºã§ãããã¤ã§ããããã«ãªã æ¢åã®ã¿ã¹ã¯ã®ä¸èº«ãå¤ããããã¿ã¹ã¯ã®åå¾ã«å¦çã追å ããããç°¡åã«ã§ãã è¤æ°å°ã®
2013/02/27 ãããã¤ãã¼ã«ãCinnamonãã使ã£ã¦ã¿ã @nqounetã§ãã Kansai.pmã§@shiba_yu36ãããçºè¡¨ãã¦ãããCinnamonãã便å©ããã ã£ãã®ã§ã使ã£ã¦ã¿ã¾ããã ããããã¤ãã£ã¦ä½ï¼ ããããã¤ãã¨ããã®ã¯ãä¾ãã°ãã¼ã«ã«ç°å¢ã§éçºãã¦ããã¦ã§ãã¢ããªããµã¼ãã¹ããå®éã«å ¬éãããµã¼ãã¼ã«ã¢ãããã¼ããã¦ã諸ã ã®è¨å®ããã¦å©ç¨å¯è½ãªç¶æ ã«ãããã¨ã§ãã Before Cinnamon åºæ¬çã«ã¯gitã使ã£ã¦ç®¡çãã¦ããã®ã§ããã¼ã«ã«ã§å¤æ´ãcommitãããã¨ããµã¼ãã¼ã«pushã ãã®ãã¨ãsshã§ãµã¼ãã¼ã«ãã°ã¤ã³ãã¦ãå ¬éãã¦ãããã£ã¬ã¯ããªã«ç§»åãã¦ãpullãã¦ããããµã¼ãã¼ãåèµ·åãã¨ããæä½ãè¡ãªã£ã¦ãã¾ããã ãµã¼ãã¼ã¯1ã¤ãªã®ã§ãç¹ã«é¢åã§ãç¡ãã§ããã1åç¨åº¦ã¯å¼µãä»ãã¦ä½æ¥ããæãã§ã¯ããã¾ããã Setup Ci
ãã®ããä½ã£ã¦ãããã®ãå¹¾ã¤ãããã®ã ãã©åå¿é²ä»£ããã«ãã®è¾ºã¯ãããã¦ããã¨ãããã¨ãæ¸ãã¦è¡ããããªã¨æãã¾ãã ã¾ã㯠Perl ã«ããã¢ããªã±ã¼ã·ã§ã³ã®ãããã¤ã«ã¤ãã¦ãid:antipop 㨠id:shiba_yu36 ãéçºãã "Cinnamon" ã¨ãããããã ãªãããã¤ãã¼ã«ãå©ç¨ãã¦ãã¾ãã Cinnamon - A minimalistic deploy tool https://github.com/kentaro/cinnamon ã·ã³ãã«ã§ä½¿ãããããããã¤ãã¼ã«ã§ãã Capistrano? ãããã¤ãã¼ã«ã®å®çªã¨ããã° Capistrano ã§ãæå㯠Capistrano ã使ã£ã¦ãã¾ããããã©ãä½ã£ã¦ãããã®ã¯ã»ã¼ Perl ã§æ¸ããã¦ããã®ã«ãããã¤ãã¼ã«ã ã Capistrano 㧠Ruby ã¨ããã®ããä¾ãã°ã¢ã¸ã¥ã¼ã«ã®ç®¡çã« Carton ã¨
Webistranoã¯Capistranoã®GUIã§ãã Capistranoã¯ãããã¤ãã¼ã«ã§ãã ãããã¤ãã¼ã«ã§ä½ãã§ããããã£ããè¨ãã¨ããµã¼ãã«ãã°ã¤ã³ããªãã¦ãã³ã³ãã³ãã®å·®ãæ¿ããè¡ãã¾ãã æåã§ãããã¤ããå ´åã¨ãWebistranoã§ãããã¤ããå ´åãæ¯ã¹ã¦ã¿ã¾ãããã æåã§ãããã¤ããå ´å ãã®ããã«SVNãããã¡ã¤ã«ããããã¤ããã®ã¯ãè² æ ã§ããWebistranoã使ããã¨ä»¥ä¸ã®ããã«ããã©ã¦ã¶ã®æä½ã§ãããã¤ãå¯è½ã§ãã Webistranoã§ãããã¤ããå ´å 1. ææ°ã½ã¼ã¹ãSVNãããã§ãã¯ã¢ã¦ããã¦ç¨æ 2. ææ°ã½ã¼ã¹ããµã¼ãã«ãã°ã¤ã³ãã¦è»¢é(rsync) 3. ãµã¼ãã«ãã°ã¤ã³ãã¦æ§ã½ã¼ã¹ãæ®ãã¦ãæ°ã½ã¼ã¹ã«å·®ãæ¿ã 4. å®ç¾©ããå¦çãå®è¡ï¼apacheã®ãªã¹ã¿ã¼ããªã©ï¼ ããããããã¦ã¹æä½ã ãã§å®è¡ã§ããããã«ãªãã¾ãã Webistran
Fabric ã¯ãPython 製ã®ãããã¤ã»ã·ã¹ãã 管çãã¼ã«ã§ãã æè¿ãæ§ç¯ãéç¨ãèªååããããã®æ§ã ãªãã¼ã«ãåºã¦ãã¦ãã¾ãã æ§æ管çãã¼ã«ã® Puppet ã Chef ãæåã§ããã使ãã¾ã§ã«è¦ãããã¨ãå¤ãã®ãæ¬ ç¹ã§ãã ããããFabric ã¯é常ã«ã·ã³ãã«ãªãã¼ã«ã§ãä»ããããã«ä½¿ããã¨ãã§ãã¾ãã Fabric ã¯ãããã¤ã»ã·ã¹ãã 管çãã¼ã«ã§ãé¡ä¼¼ã®ãã¼ã«ã¨ã㦠Ruby 製㮠Capistrano ãããã¾ãã Fabric ã®æ大ã®ç¹é·ã¯ãã·ã§ã«ã¹ã¯ãªãããæ¸ãæ £ãã人ããããªãå©ç¨ã§ããã¨ããã§ãã ã·ã§ã«ã¹ã¯ãªããã¨ãã¦ã¾ã¨ãã¦ããã³ãã³ãããã®ã¾ã¾ run() ã¡ã½ããã sudo() ã¡ã½ããã§å²ãã ãã§ã使ããã¨ãã§ãã¾ãã ã·ã§ã«ã¹ã¯ãªããã使ã£ã¦ãã¦ããã¨ãããã¤ãã®åé¡ã«ééãã¾ãã åå空éã®ç®¡ç å¤æ°ã®æ±ã è¤éãªãã¼ã¿æ§é ããªã(ãããã
http://www.zusaar.com/event/476003 ã«åå ãã¦æ¥ã¦ãåä½ã£ããããã¤ãã¼ã«ã§ããCinnamonã«ã¤ãã¦çºè¡¨ãã¦æ¥ã¾ããã çºè¡¨ããã㨠以åcapistranoã®å¥¥æ·±ãã«æ¯åããã£ã¦ããã®ãæããè¦ãã¦ããã£ã¨ã·ã³ãã«ãªãããã¤ãã¼ã«ã§ããCinnamonãantipopããã¨ä¸ç·ã«ä½ã£ãã®ã§ãã®çºè¡¨ããã¦ãã¾ããããããªãã«å¥½å°è±¡ã£ã½ãã£ãã®ã§ãçºè¡¨ãã¦ããã£ãã§ãã ã¹ã©ã¤ã Cinnamon - simple deploy tool from Yuki Shibazaki ãã¢ã§ä½¿ã£ããµã³ãã«ã³ã¼ã https://github.com/shibayu36/cinnamon-deploy-sample ç°¡åã«ç´¹ä»ãã㨠Cinnamonã¯Minimumã¨ããã®ã¨ãRole x Taskã¨ããã®ãææ³ã¨ãã¦æã£ã¦ãã Minimum : ãããã¤ã®æ¹
以åhttp://tech.naver.jp/blog/?p=1369ã®è¨äºãèªãã ã®ã ããã©ãããã¾ã§ã«processã®ç¥èãç¡ãã£ãããã¦ãã¾ã£ããç解ã§ãã¾ããã§ãããããã§Working with UNIX ProcessesãServer::Starterã®ä¸èº«ãå¼ãã§ããããhot deployã®ä»çµã¿ãç解ã§ãã(æ°ã«ãªã£ã¦ãã)ã®ã§ãServer::Starterã®å®è£ ã追ããªããããããã¾ã¨ãã¦ã¿ã¾ãã hot deployã¨ã¯ hot deployã¨ã¯ãåèµ·åã®æã«ãªã¯ã¨ã¹ãã®å¦çãç¶ããªãããå¤æ´ã®å 容ãåæ ããããã®æ段ãã§ãã é常serverãrestartãããã¨ãã¯ãstop -> startã®æµãã«ãªãã¨æãã¾ããããã®å ´åstopãã¦ãããstartåºæ¥ãã¾ã§ã®æéã«ãªã¯ã¨ã¹ããå¦çã§ããªãæéãçºçãã¾ãããã®æéãªãã«deployããä»çµã¿ãhot
DSASã®ãã¡ã¤ã«è»¢éã·ã¹ãã ãããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¾ãã ãã®åã¯ãmakuosanï¼ã¾ããããï¼é称ãã¾ãããï¼ã£ã¦ããã¾ãã ååã¯åè«ã£ã½ãã§ãããå 容ã¯ããã¨çé¢ç®ã§ã(^^; MAKUOSANããã¸ã§ã¯ããµã¤ã Webãµã¤ãã®éç¨ã«æ¬ ãããªãä½æ¥ã®ã²ã¨ã¤ã«ãããããã¤ãã¨ããä½æ¥ãããã¾ãã ããã¯ãæ°ããããã°ã©ã ããã¼ã¿ãªã©ãWebãµã¼ãã«è¨ç½®ãã¦å©ç¨ã§ããããã«ã ããã¨ãæãã¦ãã¾ããããµã¤ãã®è¦æ¨¡ã大ãããªã£ã¦Webãµã¼ãã®å°æ°ãå¢ããã¨ã ããã«æ¯ä¾ãã¦ãã¡ã¤ã«è»¢éã«ãããæéãé·ããªã£ã¦ããã¾ãã ä¸è¬çãªè©±ã¨ãã¦ããµã¤ãã®è¦æ¨¡ã大ãããªãã»ã©éç¨ã³ã¹ãã¯å¢å¤§ãã¾ããã ãã®è¦å ã®ã²ã¨ã¤ã¨ãã¦ããããã¤æã®ãã¡ã¤ã«è»¢éã«æéãããããã¨ãã ç¹ãããã¾ãããããã§ãã§ããã ãéç¨ã³ã¹ããæããï¼ä½æ¥è ã®è² æ ãæ¸ ããï¼ããã«ãç¬èªã®ãã¡ã¤ã«è»¢éã·ã¹ãã ãããã
ContentsinstallHow to use[update_code] transaction: rollbackã¤ã¾ã¥ããç¹: å ¬ééµãå¿ è¦ã¤ã¾ã¥ããç¹: rakeçµ±åã¯obsoleteã¤ã¾ã¥ããç¹: æåã®directoryã®æå®linksãã¹ãé¢ä¿oldlink Capistranoã¯Deployãã¼ã«ã®ä¸ç¨®ã§ãããDeployãã¼ã«ã¨ã¯ä½ãã¨ããã¨ãé çºããã¦ããã¨ãæå ã®ãã¡ã¤ã«ãæ¸ãæãã¦ãsvn comãã¦ãæ¬çªãµã¼ãã« sshãã¦ããµã¼ãèµ·åç¨ã®ã¦ã¼ã¶ã«suãã¦ãsvn upãã¦ããµã¼ããrestartãã ã¨ãããã¨ããããããä½åº¦ãããããããä¸é£ã®æé ãç°¡åã«è¡ããããã« ãããã®ãDeployãã¼ã«ã§ããã Capistranoã¯ãRailsã¨å ±ã«ä½¿ãã¹ãä½ããããã¼ã«ãªã®ã§Railsã¨ç¸æ§ããã ãããã以å¤ã®ãã®ã¨ãä¸ç·ã«ä½¿ããã cygwin% gem
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}