Help us understand the problem. What is going on with this article?
Hashicorpãã2015å¹´ç§ã®æ°ä½ã2ã¤ç»å ´ããï¼ Otto - HashiCorp Nomad - HashiCorp Ottoããªããªãé¢ç½ãããªã®ã§ã³ã¼ãã追ãã¤ã¤ï¼Ottoã¨ã¯ä½ã? ãªãå¿ è¦ã«ãªã£ãã®ã? ã©ã®ããã«åä½ããã®ã? ãç°¡åã«ã¾ã¨ãã¦ã¿ãï¼ ãã¼ã¸ã§ã³ã¯ 0.1.0 ã対象ã«ãã¦ããï¼ã¤ãã·ã£ã«ã¤ã³ãã¬ãã·ã§ã³ã§ããï¼ Ottoã¨ã¯ä½ã? å ¬å¼ã¯Vagrantã®å¾ç¶ã¨è¡¨ç¾ããã¦ããï¼ãï¼ããã¯ãã¼ã«ã«éçºç°å¢ã®æ§ç¯ãæ ã£ã¦ããã¨ããæå³ã§å¾ç¶ã§ããï¼èªåãªãã®è¨èã§è¡¨ç¾ãã¦ã¿ãã¨ãOttoã¯Hashicorpã®åãã¼ã«ãæ½è±¡åãéçºç°å¢ã®æ§ç¯ããã¤ã³ãã©ã®æ´åï¼ãããã¤ã¾ã§ãä¸æã«æ ããã¼ã«ãã§ããï¼ã¡ãªã¿ã«Ottoã¨ããååã®ç±æ¥ã¯Automationã¨èªæãä¼¼ã¦ãããããã¤å ã ããããååã®botãããããã¨ã®ãã¨ï¼ ãªãOttoã? ãªãVagrantã§
ã©ãã大ç§ã§ãã VagrantãTerraformã§æåãªHashiCorpã®ã«ã³ãã¡ã¬ã³ã¹ã¤ãã³ããHashiConf 2015ãä»ææªæãããã¼ãã©ã³ãã§éå¬ããã¦ãã¾ããããã§Nomadã¨Ottoã¨ãã2ã¤ã®æ°ãµã¼ãã¹ãçºè¡¨ããã¾ããã両æ¹ã¨ãçºè¡¨ç´å¾ã«å ¬éããã試ããããã«ãªã£ã¦ããã®ã§ãµã³ãã«ãåããã¦ã¿ãæ§åãã¬ãã¼ããã¾ãã Nomad by HashiCorp Otto by HashiCorp Nomad Nomadã¯Easily deploy applications at any scaleã¨ãããªã¼ãæããããããã«ãã¢ããªã±ã¼ã·ã§ã³ããããã¤ããã¹ã±ã¸ã¥ã¼ã©ã§ãããããããã¢ããªã±ã¼ã·ã§ã³ãå®è¡ãããã¹ãã«ã¨ã¼ã¸ã§ã³ããã¤ã³ã¹ãã¼ã«ãã¢ããªã±ã¼ã·ã§ã³ãã¸ã§ãã¨ãã¦è¨å®ãã¡ã¤ã«(*.nomad)ã«å®ç¾©ãã¦ãããè¨å®ãã¡ã¤ã«ã«å¾ã£ã¦ã¸ã§ããå®è¡ãã¾ãã ãããã¤ãã¼
ã¤ã³ã¹ãã¼ã« vagrant-cachier ãã©ã°ã¤ã³ãã¤ã³ã¹ãã¼ã«ããã«ã¯ãvagrant plugin install ã³ãã³ããå®è¡ããã ãã§ãã $ vagrant plugin install vagrant-cachier Vagrantfile ã¸ã®è¨è¿° vagrant-cachier ãã©ã°ã¤ã³ãæå¹ã«ããã«ã¯ãVagrantfile ã«ä¸è¨ã®è¨å®ãè¡ãã¾ããconfig.cache.scope ã§ã¯ããã£ãã·ã¥ã¹ã³ã¼ããè¨å®ãã¾ãã ä¸è¨ã§ã¯ã:boxãæå®ãã¦ãããããã¯ããããã¸ã§ã³ã§ã¤ã³ã¹ãã¼ã«ããããã±ã¼ã¸ã Box åä½ã§ãã£ã·ã¥ãã¾ããåä¸ Box ã使ã Vagrantfile ã§ããã°ãå¥ã® VM ã§ããã£ãã·ã¥ãå ±æãããã¨ãã§ãã¾ãã ç§ã®ç¨éã§ããã°ããã®è¨å®ã使ãããããã§ãã ãã¨ã¯ãé常ã©ãããvagrant up ãè¡ãã¨ãã©ã°ã¤ã³ãæå¹ã¨
Vagrant1.6ã®Docker provider Feature Preview: Docker-Based Development Environments Vagrant 1.6ããDocker providerããµãã¼ããããï¼ã¤ã¾ãï¼Vagrantã§VMã ãã§ãªãã³ã³ããã管çã§ããããã«ãªã£ãï¼ ãã®æ©è½ã¯ãã¤ãã£ãã§Dockerããµãã¼ããã¦ãªãOSXã§ã使ãï¼ãã®å ´åã¯è£å´ã§Proxy VMï¼boot2docker boxï¼ãåæã«ç«ã¡ä¸ãã£ã¦ï¼ãã®ä¸ã§ã³ã³ãããç«ã¡ä¸ããï¼ã¤ã¾ãï¼ä»¥ä¸ã®ããã«ãªãï¼ OSX -> (Proxy VM) -> Docker Container OSXã®å ´åï¼ããã¯ä»ã¾ã§boot2dockerã使ã£ã¦ãã£ã¦ããã®ã¨å¤ãããªãï¼ãã ï¼Docker providerã使ãã¨ï¼boot2dockerã®ç«ã¡ä¸ãã¾ã§é¢åãè¦ã¦ãããï¼ ä½ãå¬ããã®ã
Vagrant 1.5ããªãªã¼ã¹ãããã¨æã£ãããVagrant Cloudãªãã¦ã®ãç»å ´ãã¦ã¾ããï¼ ã§ãVagrant Cloudã®ä¸ã«Vagrant Shareã£ã¦ã®ããããã ãã©ã試ãã¦ã¿ããã¨ãã§ããªãã£ãã®ã§ãæ©éããæ¹ãã·ã§ã¢ãããï¼ Vagrant Cloudã«ã¦ã¼ã¶ç»é² Vagrant Cloudã®ãã¼ã¸ã«ã¢ã¯ã»ã¹ãã¦ãã¾ãã¯ã¦ã¼ã¶ç»é²ãããã è¿·ããã¨ã¯ãªãã¨æããã©ããJOIN VAGRANT CLOUDãã£ã¦ãã¿ã³ãã¯ãªãã¯ããã°ç»é²ãã¼ã¸ã«é£ã¹ãã 次ã«ãã¦ã¼ã¶åãã¡ã¼ã«ã¢ãã¬ã¹ããã¹ã¯ã¼ããå ¥åãããã¦ã¼ã¶ç»é²ã¯å®äºã ã Vagrant1.5ã®ã¤ã³ã¹ãã¼ã« Macã®å ´åã¯æ®éã«ãã¦ã³ãã¼ããã¼ã¸ããdmgãã¡ã¤ã«ãè½ã¨ãã¦ãããã«ã¯ãªãã¯ã§ã¤ã³ã¹ãã¼ã«ã 念ã®ããã確èªã $ vagrant -v Vagrant 1.5.0 Vagrantfileä½æï¼ä»®æ³ãã·
ãã®è¨äºãå ¬éããç´åã« Vagrant Cloud ãã¯ã¦ãã«ä¸ãã£ã¦ãã®ãè¦ã¦ãä»ããã¦ã¦è¿½è¨ãã¦ãã¾ããããã楽ãããã¨ã«ãªã£ã¦ã¾ããã¼ã Vagrant Cloud Vagrant 1.5 and Vagrant Cloud - Vagrant ããã°è¨äºããã£ã¨èªãã æãã ã¨ãVagrant 1.5 ã®æ°æ©è½ã¯ã VagrantShare - ã¾ãã§å ¬éããã¦ããµã¤ãã¿ããã« VM ã® URL ããã¼ã ã¡ã³ãã¼ã«è¦ãã Box ã koseki/centos ã¿ãããªçãååã§æå®ã§ããããã«ããã¼ã¸ã§ã³ç®¡ç rsync 㨠SMB ã§ãã©ã«ãåæ Hyper-V - MS ã®ä»®æ³ç°å¢ã«å¯¾å¿ insecure-private-key ã®ä»£ããã« SSH ã§ãã¹ã¯ã¼ãã使ããããã« ãã©ã°ã¤ã³ç®¡ç Funtoo, NetBSD, TinyCore Linux ã®ã²ã¹ãã«å¯¾å¿ãããã
æè¿è©±é¡ã® Vagrant ããã¯ãLinux ã®ç°å¢ãä½ã£ããå£ããããã¦éçºã¨ã試é¨ã楽ã«ãªãããã¨ç´¹ä»ããããã¨ãå¤ããã©ãWindows ã®ç°å¢ã ã£ã¦ä½ã£ããå£ããããããï¼ ãããã調ã¹ã¤ã¤ç°å¢ãä½ã£ã¦ã¿ãã®ã§ããã®æé ãå ±æãã¦ããã å®æã¤ã¡ã¼ã¸ã¯ãããªæããã³ãã³ãããã³ãããã vagrant up ãããã VirtualBox ä¸ã« Windows Server 2012 R2 ã®ç°å¢ãæºåããã¦ãããã«ãªã¢ã¼ã ãã¹ã¯ãããã§æ¥ç¶ãã¦ããã ããããããã£ããã¨ã« vagrant destroy ãããç°å¢ã¯æ¶ãå»ã£ã¦ãvagrant up ããããã¾ããã¾ã£ãããªç¶æ ãã使ããã ã¡ãã£ã¨æ³¨ç®ãã¦ã»ããã®ã¯ãã²ã¹ã OS ã® C:\vagrant ã«ãã¹ãå´ã® Vagrantfile ããã¦ã³ãããã¦ããã¨ããããã®ãããã®å¦ç㯠Vagrant-Windows
Shin x blog Advent Calendar 2013 ã®æçµæ¥ã§ãã 12/1 ããæ¯æ¥æ¸ãã¦ãã Shin x blog Advent Calendar 2013 ã§ãããããããä»æ¥ãæçµæ¥ã§ãã ä»æ¥ã¯ãã¯ãªã¹ãã¹ã¨ãããã¨ã§ããããããªããã¡ãã£ã¨ãããã¬ã¼ã³ããç¨æãã¦ã¿ã¾ãã:D VagrantX GUI 㧠Vagrant ãå©ç¨ã§ãã VagrantX ã¨ãããã¼ã«ããªãªã¼ã¹ãã¾ããã http://shin1x1.github.io/vagrantx/ Vagrant ã¯ãã¨ã¦ãè¯ããã¼ã«ãªã®ã§ããããããããã¿ã¼ããã«ï¼é»ãç»é¢ï¼ã§æä½ãããã®ãªã®ã§ãããã«æ £ãã¦ããªã人ã«ã¨ã£ã¦ã¯ãå°ãæ¬é ããã¦ããé¢ãããã¾ããVagrantfile ãèªåã§æ¸ããããªäººã¯ã¿ã¼ããã«ã§ã©ãã©ã使ãã¹ããªã®ã§ãããç¨æããã Vagrantfile ããã 使ãã ãã§ããã°ã
ååã®Vagrantã¨SSDãªVPS(Digital Ocean)ã§1æé1åã®ä½¿ãæ¨ã¦é«éãµã¼ãç°å¢ãæ§ç¯ãã - Glide Note - ã°ã©ã¤ããã¼ãã®ç¶ãã Vagtant+DigitalOceanã ãã§ãåå便å©ãªãã§ãããå æ¥CentOS6.5ããªãªã¼ã¹ãããæ£å¼ã«Dockerããµãã¼ããããã®ã§ãDigitalOceanä¸ã«CentOS 6.5+Dockerãªç°å¢ãç¨æãã¦ã¿ãã ã¨ãã£ã¦ãã2013å¹´12æ20æ¥ç¾å¨DigitalOceanã§ã¯CentOS 6.5ãªimageãæä¾ããã¦ããªãã®ã§ãé¸æåºæ¥ãCentOS 6.4ã®ã¤ã¡ã¼ã¸ã使ããªãããVagrantãå©ç¨ãã¦ã³ãã³ãä¸çºã§CentOS 6.5+Dockerç°å¢ãä½ããããã«ããã glidenote/vagrant-docker-digitalocean ããã¯ä½ Vagrantãå©ç¨ãã¦ãDigital
Shin x blog Advent Calendar 2013 ã® 10 æ¥ç®ã§ãã Vagrant 1.4 ããªãªã¼ã¹ããã¾ãããDocker Provisioner ãä¸å¿ã«æ°æ©è½ããã£ããã¨è¦ã¦ã¿ã¾ããã ãã¦ã³ãã¼ããã¼ã¸ã®å¤æ´ ããã1.4 ããã¦ã³ãã¼ãããããã¨ä»ã¾ã§ã®ãã¦ã³ãã¼ããã¼ã¸ã«è¡ã㨠1.4 ã®ãªã³ã¯ãããã¾ããï¼ï¼ æ°ãããã¦ã³ãã¼ããã¼ã¸ãããã¦ã³ãã¼ããã¾ãããã Download Vagrant â Vagrant Docker Provisioner Docker 対å¿ã¨ã㦠Docker Provisioner ã追å ããã¾ããã ãã®ãããã¸ã§ãã使ã㨠Docker èªä½ã®ã¤ã³ã¹ãã¼ã«ãèªåã§è¡ããï¼ï¼ï¼ããã®å¾ãdocker pull ã docker run ãå®è¡ãããã¨ãã§ãã¾ãã ä¸è¨ã® Vagrantfile ã§ã¯ Docker Pr
ä»å¹´ã®åããããããå人çãªæè¡æ¤è¨¼ã«ã¯SSDã§åä½ãéãã1æé1åã§æéãå®ãã®ã¨ ãã±ã¼ã·ã§ã³ãSan Franciscoã«ããã¨sshã§ãã¬ã¹ãã³ã¹ãæªããªãã®ã§ãå ¨é¨Digital Oceanã使ã£ã¦ããã(徳丸å çãç´¹ä»ããåãã使ã£ã¦ãããã ï¼) Digital Oceanã«ã¤ãã¦ã¯Rebuild: 2: Rails, Redis, VPS (Kenn Ejima)ã®42åãããããè¨åããã¦ã¾ããå¿ è´ã§ãã 使ã£ã¦ãæ§åã®MacBookAirã¿ãããªè²§å¼±ãªãã·ã³ã ã¨ãã¼ã«ã«ã§VMåããã¨ãã¡ã³åãã¾ããã¨ãã§æ³£ããããªãã®ã§ãDigital Oceanã ã¨æ³£ããã«æ¸ãã§å¿«é©ã ããã§ä»æ¥Vagrantçµç±ã§Digital Oceanå©ç¨ããã¨ãã³ãã³ãã©ã¤ã³ããå¿ è¦ãªã¨ãã«æ°è¦ã¤ã³ã¹ã¿ã³ã¹(Droplet)ä½ã£ã¦ã æ¤è¨¼çµãã£ããåé¤ã¨ããæ軽ãªä½¿ãæ¨ã¦é«éãµã¼ãç°å¢ãå©ç¨
ä»®æ³åã®åéã¯ã©ãã©ãã¨æ°ãããã®ãåºã¦ãããå ¨é¨ãå®éã«è©¦ããã¨ã¯åºæ¥ãªãã¦ããçãè¯ããããªãã®ã«ã¤ãã¦ã¯ãã©ããããã®ãªã®ãããç¨åº¦ææ¡ãã¦ãããããæè¿ã¯ã¡ãã£ã¨å¿ããã¦ãã¾ãæ å ±åéãã§ãã¦ãªãã£ãã®ã§ã追ãã¤ããã¨æã£ã¦ã¡ãã£ã¨èª¿ã¹ã¦ã¿ãã ãã¤ãã¼ãã¤ã¶åä»®æ³åã¨ã³ã³ããåä»®æ³åãä»®æ³ãã·ã³ã®æ´å²ããã©ãã¨ãã¡ã¤ã³ãã¬ã¼ã ã®æ¹ã§ã¯éåã¨æãã使ããã¦ããæè¡ã§ãããã¨åºã¦ãããä¸æ¹ã§ãx86ã®ä¸çã§ã¯ããã»ã©æ´å²ã¯é·ããªãã1999å¹´ã«ãªãªã¼ã¹ãããVMwareãããããå®ç¨çãªåã®ä»®æ³ãã·ã³æè¡ã ããã VMWareã¯ãã¤ãã¼ãã¤ã¶åä»®æ³åã¨å¼ã°ããæè¡ã§ãä¸ã«ä¹ãOSï¼ã²ã¹ãã¨å¼ã°ããï¼ã«å¯¾ãã¦ä»®æ³çãªãã¼ãã¦ã§ã¢ãæä¾ããããã¤ãã¼ãã¤ã¶åããã©ã®ã¬ã¤ã¤ã§ä»®æ³çãªãã¼ãã¦ã§ã¢ãæä¾ãããã§æ´ã«ç´°ååããããããããããç¥ããªãã®ã§ãããã§ã¯ããã¾ã§ã¯è¸ã¿å ¥ããªãããã¤ã
(2013/10/09追è¨ï¼ PHPéçºç°å¢ãæ§ç¯ãããµã³ãã« Vagrantfile ãã¢ãããã¾ããã PHPéçºç°å¢ã®ãµã³ãã«Vagrantfile 第7åé¢è¥¿PHPåå¼·ä¼ã§çºè¡¨ããä¸è¨ã®å 容ããã¼ã¹ã«ãããå®è·µçãªå 容ã追å ãã¾ããã PHPã·ã¹ãã ã®éçºç°å¢ãVagrantã§ä½ããã¨ãé¡æã«ãåºæ¬çãªæµããã話ãã¾ããã ãã¤ã³ãã¯ããããã¸ã§ãã³ã°ã«ã·ã§ã«ã使ãé¨åã¨ããã¯ã synced_folder ã§ãããAWSä¸ã«ãåãç°å¢ãæ§ç¯ã§ããé¨åãããå°ãæ·±ãã話ãããã£ãã®ã§ãããæéã足ãã¾ããã§ããï¼ï¼ ã¾ããVagrantfile ããããã£ã¬ã¯ããªï¼vagrant upããã«ã¬ã³ããã£ã¬ã¯ããªï¼ã synced_folder ã¨ãªã£ã¦ãã¦ãä»®æ³ãã·ã³ã§ã¯ /vagrant ã¨ãã¦ã¢ã¯ã»ã¹ã§ããã¨ãããã¨ãç¥ã£ã¦ããã¨ä¾¿å©ã§ãããããå©ç¨ããã¨Chefã®templat
ãVagrantå ¥éã¬ã¤ããã¨ããé»åæ¸ç±ãæè¡è©è«ç¤¾ããããåºçãã¾ãããKindle ã¹ã㢠㨠Gihyo Digital Publishing ã«ã¦è³¼å ¥ã§ãã¾ãã Vagrantã¯ãã¾ã ã¨ã³ã¸ãã¢ãä¸å¿ã«è§¦ã£ã¦ããç¶æ³ã§ããããããã¯Webãã¶ã¤ãã¼ãã³ã¼ãã¼ã®æ¹ãªã©ããµã¼ãæ§ç¯ãèªåã§ã¯ãããªã人ã«ããå¶ä½ããWebãµã¤ããã·ã¹ãã ã®åä½æ¤è¨¼ãè¡ãç°å¢ã¨ãã¦å©ç¨ããå ´é¢ãå¢ãã¦ããã¨æãã¾ãã blog ã¨ã³ããªãªã©ãå¤æ°ããã®ã§ãããæççãªæ å ±ãå¤ããã¾ããVagrantèªèº«ã®é²åãæ©ããããææ°ã®ç°å¢ã ã¨ä¸æãã¤ã³ã¹ãã¼ã«ã§ããªãã£ãããåããªãã¨ãããã¨ãã¾ã¾ããã¾ããï¼ãã®blogã®éå»ã¨ã³ããªããããï¼ ãã¡ããããã£ããã¨èª¿ã¹ã¦ããã°è§£æ±ºã§ããåé¡ãªã®ã§ãããã§ããã°ãã¯ããã®ä¸æ©ãããã¯ãã¾ã¨ã¾ã£ãæ å ±ãæ¥æ¬èªã§ããã¨è¯ããªã¨æããæ¬æ¸ãæ¸ãã¾ããã ç®æ¬¡ æ¬æ¸ã¯
å æ¥ã®Vagrantã®ãã¼ã¸ã§ã³ã¢ãããç¡äºã«æ¸ãã ã®ã§ãCoreOSã®Vagrantã¤ã¡ã¼ã¸ã§Dockerå ¥éãã¦ã¿ãã 主ã«èªåç¨ã®ã¡ã¢ã CoreOSã®ã»ããã¢ãã ããã¥ã¡ã³ãéããVagrantfileãcloneãã¦upããã ãã [~/vm] $ git clone https://github.com/coreos/coreos-vagrant/ coreos Cloning into 'coreos'... remote: Counting objects: 21, done. remote: Compressing objects: 100% (19/19), done. remote: Total 21 (delta 3), reused 19 (delta 1) Unpacking objects: 100% (21/21), done. boxã®ãµã¤ãºã¯121MB
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}