{"id":4221,"date":"2016-11-25T12:00:53","date_gmt":"2016-11-25T03:00:53","guid":{"rendered":"http:\/\/sitest.jp\/blog\/?p=4221"},"modified":"2017-04-06T20:43:21","modified_gmt":"2017-04-06T11:43:21","slug":"1%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%81%a7%e4%bd%9c%e3%81%a3%e3%81%9f%e3%80%82vagrant-vps%e3%81%a7%e5%8a%a0%e9%80%9f%e3%81%99%e3%82%8b%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e4%bd%9c%e3%82%8a","status":"publish","type":"post","link":"https:\/\/sitest.jp\/blog\/?p=4221","title":{"rendered":"1\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u3063\u305f\u3002Vagrant + VPS\u3067\u52a0\u901f\u3059\u308b\u958b\u767a\u74b0\u5883\u4f5c\u308a"},"content":{"rendered":"<p>\u6700\u8fd1\u306e\u958b\u767a\u73fe\u5834\u3067\u306f\u30b3\u30fc\u30c9\u306b\u3088\u308b\u69cb\u6210\u7ba1\u7406\u304c\u6ce8\u76ee\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>Vagrant\u3001Ansible\u3001Docker\u7b49\u306eTOOL\u306e\u540d\u79f0\u81ea\u4f53\u306f\u77e5\u3063\u3066\u3044\u308b\u3051\u3069\u3001<br \/>\u899a\u3048\u308b\u4e8b\u304c\u6ca2\u5c71\u3042\u308b\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u5f79\u306b\u7acb\u3064\u5834\u9762\u304c\u30a4\u30e1\u30fc\u30b8\u3057\u8f9b\u304f\u52c9\u5f37\u304c\u9032\u307e\u306a\u3044\u3068\u3044\u3046\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u7121\u3044\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u79c1\u306f\u5c11\u3057\u52c9\u5f37\u3057\u3066\u306f\u632b\u6298\u3092\u7e70\u308a\u8fd4\u3057\u3001<br \/>\u3088\u3046\u3084\u304f\u7d0d\u5f97\u51fa\u6765\u308b\u958b\u767a\u74b0\u5883\u3092\u30b3\u30fc\u30c9\u5316\u3059\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002<br \/>\u540c\u3058\u3088\u3046\u306b\u52c9\u5f37\u3057\u3066\u3044\u308b\u304c\u3001\u4f55\u51e6\u304b\u3089\u624b\u3092\u4ed8\u3051\u3066\u826f\u3044\u304b\u5206\u304b\u3089\u305a\u82e6\u6226\u3057\u3066\u3044\u308b\u65b9\u306e\u4e00\u52a9\u306b\u306a\u308c\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u3053\u308c\u304b\u3089\u4f55\u56de\u304b\u306b\u5206\u3051\u3066 Vagrant + Ansible + Docker \u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001<br \/>\u6700\u7d42\u7684\u306b\u305f\u3063\u305f1\u30b3\u30de\u30f3\u30c9\u3067\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308a\u4e0a\u3052\u3066\u3057\u307e\u3046\u4e8b\u3092\u30b4\u30fc\u30eb\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3044\u304d\u307e\u3059\u3002<br \/>(\u74b0\u5883\u306fLAMP\u30b5\u30fc\u30d0\u30fc\u306b\u3057\u3088\u3046\u304b\u3068\u8003\u3048\u3066\u3044\u307e\u3059)<\/p>\n<p>\u4eca\u56de\u306f Vagrant \u306b\u7126\u70b9\u3092\u5f53\u3066\u3001<br \/>\u5b9f\u969b\u306b Vagrant \u3092\u4f7f\u3063\u3066 ConoHa \u3068\u3044\u3046\u30b5\u30fc\u30d3\u30b9\u3067 VPS \u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u3092\u3084\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">\u4f55\u6545\u30b3\u30fc\u30c9\u306b\u3088\u308b\u69cb\u6210\u7ba1\u7406\u3092\u3059\u308b\u306e\u304b<\/h3>\n<\/div>\n<p>\u30e1\u30ea\u30c3\u30c8\u306f\u4ee5\u4e0b\u306e3\u3064\u3067\u3059\u3002<\/p>\n<ul style=\"margin-left: 20px;margin-bottom: 20px;font-size: 1.1em;\">\n<li style=\"list-style: disc;\">\u8ab0\u3067\u3082\u540c\u3058\u74b0\u5883\u304c\u69cb\u7bc9\u3067\u304d\u308b<\/li>\n<li style=\"list-style: disc;\">\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb\u304c\u305d\u306e\u307e\u307e\u4ed5\u69d8\u66f8\u3068\u3057\u3066\u4f7f\u3048\u308b<\/li>\n<li style=\"list-style: disc;\">\u305f\u3060\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u304c\u3057\u3084\u3059\u3044<\/li>\n<\/ul>\n<p>\u30c7\u30e1\u30ea\u30c3\u30c8\u306f\u4f5c\u6210\u8005\u306e\u30b3\u30b9\u30c8\u3067\u3059\u3002<br \/>\u4e00\u304b\u3089\u4f5c\u308a\u4e0a\u3052\u308b\u306b\u306f\u6642\u9593\u304c\u639b\u304b\u308b\u4e0a\u3001\u4e0a\u8a18\u306e\u30c4\u30fc\u30eb\u306b\u5bfe\u3059\u308b\u77e5\u8b58\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<br \/>\u624b\u6163\u308c\u305f\u4eba\u3067\u3042\u3063\u3066\u3082\u69cb\u6210\u7ba1\u7406\u30c4\u30fc\u30eb\u3092\u99c6\u4f7f\u3057\u3066\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u306a\u304c\u3089\u69cb\u7bc9\u3059\u308b\u3068\u30012\u301c3\u500d\u306e\u6642\u9593\u304c\u639b\u304b\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3067\u7ba1\u7406\u3057\u3066\u306f\u3069\u3046\u304b\uff1f<\/h3>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u4e00\u756a\u4e0a\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u30b3\u30b9\u30c8\u307b\u307c0\u3067\u53d7\u3051\u3089\u308c\u307e\u3059\u306e\u3067\u3001\u77ed\u671f\u7684\u306b\u306f\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u65b9\u304c\u512a\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u3057\u304b\u3057\u3001OS\u306e\u5165\u3063\u305f\u4eee\u60f3\u74b0\u5883\u3092\u4e38\u3054\u3068\u7ba1\u7406\u3059\u308b\u4e8b\u306b\u306a\u308b\u306e\u3067\u6700\u59271GB\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u3084\u308a\u53d6\u308a\u3092\u899a\u609f\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u9577\u671f\u7684\u306b\u306f\u30b3\u30fc\u30c9\u306b\u3088\u308a\u4e2d\u8eab\u304c\u53ef\u8996\u5316\u3055\u308c\u305f\u72b6\u614b\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u3057\u3066\u304a\u304f\u3068\u3001<br \/>\u3069\u306e\u3088\u3046\u306a\u610f\u56f3\u3084\u76ee\u7684\u3067\u3053\u306e\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u305f\u306e\u304b\u307e\u3067\u900f\u3051\u3066\u898b\u3048\u307e\u3059\u306e\u3067\u3001<br \/>\u5f8c\u304b\u3089\u30b8\u30e7\u30a4\u30f3\u3057\u305f\u30e1\u30f3\u30d0\u30fc\u306b\u8aac\u660e\u3059\u308b\u3053\u3068\u3084\u3001\u81ea\u5206\u304c\u5fd8\u308c\u305f\u5185\u5bb9\u3092\u601d\u3044\u51fa\u3059\u3053\u3068\u304c\u683c\u6bb5\u306b\u697d\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">Vagrant \u3068\u306f<\/h3>\n<\/div>\n<p><a href=\"https:\/\/www.vagrantup.com\/\" title=\"null\" rel=\"nofollow\" target=\"_blank\">Vagrant<\/a> \u306f <a href=\"https:\/\/www.hashicorp.com\/\" title=\"null\" rel=\"nofollow\" target=\"_blank\">HashiCorp<\/a> \u3068\u3044\u3046\u30b5\u30f3\u30d5\u30e9\u30f3\u30b7\u30b9\u30b3\u306b\u3042\u308b\u4f01\u696d\u306eTOOL\u3067\u3059\u3002<br \/>\u300cvagrant up\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3061\u8fbc\u3080\u3068\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u5f93\u3063\u3066\u5168\u304f\u540c\u4e00\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u304c\u4eca\u3059\u3050\u4f7f\u3048\u308b\u72b6\u614b\u3067\u51fa\u6765\u4e0a\u304c\u308a\u307e\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">VirtualBOX \u3084 VMWare \u3068\u6bd4\u3079\u3066\u3069\u3046\u9055\u3046\uff1f<\/h3>\n<\/div>\n<p><a href=\"https:\/\/www.virtualbox.org\/\" title=\"null\" rel=\"nofollow\" target=\"_blank\">VirtualBOX<\/a> \u3084 <a href=\"http:\/\/www.vmware.com\/jp.html\" title=\"null\" rel=\"nofollow\" target=\"_blank\">VMWare<\/a> \u306f Windows\u3001Mac\u3001Linux \u306a\u3069\u306e\u69d8\u3005\u306a\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u52d5\u4f5c\u3059\u308b\u4eee\u60f3\u30de\u30b7\u30f3\u3067\u3059\u3002<\/p>\n<p>\u5bfe\u3057\u3066 Vagrant \u306f\u5358\u4f53\u3067\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u52d5\u4f5c\u3055\u305b\u308b\u4ed5\u7d44\u307f\u3092\u6301\u3061\u307e\u305b\u3093\u3002<br \/>\u540c\u3058\u30db\u30b9\u30c8\u30de\u30b7\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f VirtualBOX \u3084 VMWare \u3092\u5916\u5074\u304b\u3089\u64cd\u308b\u30e9\u30c3\u30d1\u30fc\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u79c1\u304c\u8003\u3048\u308b Vagrant \u3092\u5229\u7528\u3059\u308b\u30e1\u30ea\u30c3\u30c8\u306f\u3001\u300c\u30b3\u30fc\u30c9\u306b\u3088\u308b\u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u7ba1\u7406\u300d\u3092\u5b9f\u73fe\u3059\u308b\u5834\u5408\u3001<br \/>\u30b7\u30f3\u30d7\u30eb\u306aVagrantfile\u3068\u300cvagrant up\u300d\u306e1\u30b3\u30de\u30f3\u30c9\u3067\u958b\u767a\u74b0\u5883\u304c\u4f5c\u6210\u51fa\u6765\u308b\u5883\u5730\u306b\u305f\u3069\u308a\u7740\u304f\u4e8b\u304c\u7c21\u5358\u3060\u304b\u3089\u3068\u8003\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070<a href=\"https:\/\/www.virtualbox.org\/manual\/ch08.html#idm3508\" title=\"null\" rel=\"nofollow\" target=\"_blank\">VirtualBOX\u306e\u30b3\u30de\u30f3\u30c9\u4e00\u89a7<\/a>\u3067\u306f\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u3068\u3063\u3066\u5fc5\u8981\u3067\u306f\u306a\u3044\u30b3\u30de\u30f3\u30c9\u3082\u6ca2\u5c71\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u3053\u308c\u3089\u3092\u99c6\u4f7f\u3057\u305f\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u3068\u3066\u3082\u96e3\u3057\u304f\u3001\u6539\u826f\u3059\u308b\u3053\u3068\u3082\u56f0\u96e3\u3067\u3059\u3002<br \/>\u66f4\u306b VMWare \u3084\u4ed6\u306e\u4eee\u60f3\u74b0\u5883\u3067\u7ba1\u7406\u3057\u305f\u3044\u2026\u3068\u3044\u3046\u30cb\u30fc\u30ba\u304c\u751f\u307e\u308c\u305f\u6642\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5168\u3066\u66f8\u304d\u76f4\u3057\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u3067\u3057\u3087\u3046\u3002<br \/>\u305d\u3046\u3044\u3063\u305f\u5b9f\u88c5\u4e0a\u306e\u5dee\u7570\u306f\u5168\u3066Vagrantfile\u3068vagrant\u30b3\u30de\u30f3\u30c9\u304c\u5438\u53ce\u3057\u3066\u304f\u308c\u307e\u3059\u306e\u3067\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u306f\u5404\u4eee\u60f3\u30de\u30b7\u30f3TOOL\u306e\u5dee\u7570\u3092\u6c17\u306b\u3059\u308b\u4e8b\u306a\u304f\u4f7f\u3044\u5206\u3051\u308b\u4e8b\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">\u30ed\u30fc\u30ab\u30eb\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u3068\u3069\u307e\u3089\u306a\u3044\uff01<\/h3>\n<\/div>\n<p>\u306a\u3093\u3068\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3063\u307d\u3044\u3082\u306e\u3067\u3042\u308c\u3070\u30af\u30e9\u30a6\u30c9\u306e\u30b5\u30fc\u30d3\u30b9\u307e\u3067\u64cd\u308c\u307e\u3059\u3002<br \/><a href=\"https:\/\/github.com\/mitchellh\/vagrant-aws\" title=\"null\" rel=\"nofollow\" target=\"_blank\">AWS\u306eEC2<\/a>\u3084<a href=\"https:\/\/github.com\/hironobu-s\/vagrant-conoha\" title=\"null\" rel=\"nofollow\" target=\"_blank\">ConoHa<\/a>\u7b49\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u72b6\u614b\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<br \/>(\u3053\u308c\u3089\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u6709\u5fd7\u306e\u65b9\u304c\u5404\u30b5\u30fc\u30d3\u30b9\u306eAPI\u3092\u5229\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f5c\u6210\u30fb\u516c\u958b\u3057\u3066\u304f\u3060\u3055\u3063\u3066\u3044\u307e\u3059\uff09<br \/>\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u898b\u308b\u9650\u308a\u3001VirtualBOX \u7b49\u306e\u30ed\u30fc\u30ab\u30eb\u3067\u7acb\u3061\u4e0a\u3052\u305f\u4eee\u60f3\u30de\u30b7\u30f3\u3068\u540c\u3058\u3088\u3046\u306b\u4f7f\u3048\u308b\u4e8b\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<ul style=\"margin-left: 20px;margin-bottom: 20px;font-size: 1.1em;\">\n<li style=\"list-style: disc;\">vagrant up: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210\u3001\u96fb\u6e90ON<\/li>\n<li style=\"list-style: disc;\">vagrant ssh: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306bSSH\u63a5\u7d9a<\/li>\n<li style=\"list-style: disc;\">vagrant halt: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u96fb\u6e90OFF<\/li>\n<li style=\"list-style: disc;\">vagrant destroy: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u524a\u9664<\/li>\n<li style=\"list-style: disc;\">vagrant provision: \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u540c\u671f\u3057\u3066\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3092\u5b9f\u884c<\/li>\n<\/ul>\n<p>Vagrant \u306f VirtualBOX \u3068\u76f8\u6027\u304c\u826f\u3044\u306e\u3067\u3059\u304c\u3001<br \/>VirtualBOX \u3068\u306e\u9023\u643a\u306f\u7c21\u5358\u3067\u3059\u3057\u3001Qiita\u306e\u8a18\u4e8b\u3084\u30c9\u30c3\u30c8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7b49\u3067\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\u4eca\u56de\u306f<a href=\"https:\/\/github.com\/hironobu-s\/vagrant-conoha\" title=\"null\" rel=\"nofollow\" target=\"_blank\">\u3053\u3061\u3089\u306eQiita\u306e\u8a18\u4e8b<\/a>\u3092\u5143\u306bConoha\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u5229\u7528\u3057\u3066\u4eee\u60f3\u74b0\u5883\u3092\u7acb\u3061\u4e0a\u3052\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">ConoHa + Vagrant<\/h3>\n<\/div>\n<p><a href=\"https:\/\/github.com\/hironobu-s\/vagrant-conoha\" title=\"null\" rel=\"nofollow\" target=\"_blank\">\u3053\u3061\u3089\u306eQiita\u306e\u8a18\u4e8b<\/a>\u306b\u3088\u308b\u3068\u3001v1.8.3\u3067\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u51fa\u6765\u306a\u3044\u4e0d\u5177\u5408\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u2026<br \/>2016\u5e749\u6708\u73fe\u5728\u3067\u306f\u6700\u65b0\u306eVagrant\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fv1.8.5\u3067\u3057\u305f\u3002<br \/>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30c6\u30b9\u30c8\u3082\u517c\u306d\u3066\u8a66\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"lang-bash\">$ vagrant -v\nVagrant 1.8.5\n\n$ vagrant plugin install vagrant-conoha\nInstalling the &#39;vagrant-conoha&#39; plugin. This can take a few minutes...\nInstalled the plugin &#39;vagrant-conoha (0.1.6)&#39;!\n<\/code><\/pre>\n<p>\u3061\u3083\u3093\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u305f\u306d\u3002<br \/>\u7d9a\u3044\u3066Vagrantfile\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\u300cvagrant init conoha\u300d\u3067\u4f5c\u308c\u305d\u3046\u306a\u6c17\u3082\u3057\u307e\u3059\u304c\u3001ConoHa\u7528\u306e\u8a2d\u5b9a\u9805\u76ee\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u3082\u306e\u304c\u751f\u6210\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067\u3001\u666e\u901a\u306b\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3044\u3066\u5165\u529b\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"lang-bash\">$ cat Vagrantfile\nVAGRANTFILE_API_VERSION = &quot;2&quot;\n\nVagrant.configure(VAGRANTFILE_API_VERSION) do |config|\n  config.vm.box       = &#39;conoha&#39;\n  config.ssh.username = &#39;root&#39;\n  config.ssh.pty      = true\n\n  config.vm.provider :conoha do |conoha|\n    conoha.openstack_auth_url = &#39;https:\/\/identity.tyo1.conoha.io\/v2.0&#39;\n\n    conoha.username           = &#39;gncu*******&#39;\n    conoha.password           = &#39;***********&#39;\n    conoha.tenant_name        = &#39;gnct*******&#39;\n\n    conoha.flavor             = &#39;g-1gb&#39;\n    conoha.image              = &#39;vmi-ubuntu-14.04-amd64&#39;\n    conoha.region             = &quot;tyo1&quot;\n    conoha.admin_pass         = &quot;AdminPass123*&quot;\n    conoha.metadata           = {\n      instance_name_tag: &quot;vagrant_conoha&quot;\n    }\n    conoha.security_groups    = [\n      &quot;default&quot;,\n      &quot;gncs-ipv4-all&quot;,\n      &quot;gncs-ipv6-all&quot;\n    ]\n    # conoha.keypair_name       = &quot;hironobu-key&quot;\n\n  end\n  # config.ssh.private_key_path = &quot;~\/.ssh\/id_rsa&quot;\nend\n<\/code><\/pre>\n<p>\u3053\u306e\u5185\u3001\u4e0b\u8a18\u306e\u60c5\u5831\u306fConoHa\u306e\u7ba1\u7406\u753b\u9762\u306eAPI\u30da\u30fc\u30b8\u304b\u3089\u53d6\u5f97\u3057\u3066\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" src=\"https:\/\/storage.googleapis.com\/sitest-wp\/blog\/wp-content\/uploads\/2016\/09\/conoha_console.jpg\" alt=\"conoha_console\" width=\"300\" height=\"330\" class=\"alignnone size-full wp-image-4225\" \/><\/p>\n<ul style=\"margin-left: 20px;margin-bottom: 20px;font-size: 1.1em;\">\n<li style=\"list-style: disc;\">conoha.tenant_name: \u30c6\u30ca\u30f3\u30c8\u60c5\u5831\u306e\u30c6\u30ca\u30f3\u30c8\u540d<\/li>\n<li style=\"list-style: disc;\">conoha.username: API\u30e6\u30fc\u30b6\u30fc\u306e\u30e6\u30fc\u30b6\u30fc\u540d<\/li>\n<li style=\"list-style: disc;\">conoha.password: API\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9<\/li>\n<\/ul>\n<p>\u3067\u306f\u3001\u5b9f\u969b\u306b\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u7acb\u3061\u4e0a\u3052\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre><code class=\"lang-bash\">$ vagrant status\nCurrent machine states:\n\ndefault                   not created (conoha)\n\nThe server is not created. Run `vagrant up` to create it.\n\n$ vagrant up\nBringing machine &#39;default&#39; up with &#39;conoha&#39; provider...\n==&gt; default: Finding flavor for server...\n==&gt; default: Finding image for server...\n==&gt; default: Launching a server with the following settings...\n==&gt; default:  -- Tenant          : gnct********\n==&gt; default:  -- Name            : default\n==&gt; default:  -- Flavor          : g-1gb\n==&gt; default:  -- FlavorRef       : 7eea7469-0d85-4f82-8050-6ae742394681\n==&gt; default:  -- Image           : vmi-ubuntu-14.04-amd64\n==&gt; default:  -- ImageRef        : 793be3e1-3c33-4ab3-9779-f4098ea90eb5\n==&gt; default:  -- KeyPair         : ****\n==&gt; default: Waiting for the server to be built...\n\n~~~ \u4e2d\u7565 ~~~\n\n==&gt; default: Machine booted and ready!\n==&gt; default: Rsyncing folder: \/Users\/xxxx\/test_run\/ =&gt; \/vagrant\n\n$ vagrant ssh\nWelcome to Ubuntu 14.04.4 LTS (GNU\/Linux 3.16.0-60-generic x86_64)\n\n * Documentation:  https:\/\/help.ubuntu.com\/\n\n  System information as of Mon Sep 12 01:42:29 JST 2016\n\n  System load:  0.07              Processes:           98\n  Usage of \/:   3.2% of 48.11GB   Users logged in:     0\n  Memory usage: 6%                IP address for eth0: 0.0.0.0\n  Swap usage:   0%\n\n  Graph this data and manage this system at:\n    https:\/\/landscape.canonical.com\/\n\nroot@0.0.0.0:~# cd \/vagrant\n\nroot@0.0.0.0:~# ls\nVagrantfile\n<\/code><\/pre>\n<p>\u3061\u3083\u3093\u3068VPS\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u7acb\u3061\u4e0a\u304c\u308a\u3001\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u308b\u4e8b\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\u307e\u305f\u3001\/vagrant\u30d5\u30a9\u30eb\u30c0\u3092\u8997\u304f\u3068\u3001\u300cVagrantfile\u300d\u3068\u540c\u3058\u30d5\u30a9\u30eb\u30c0\u304c\u5171\u6709\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<br \/>\u305f\u3060\u3057\u3001\u305d\u306e\u969b\u306b <a href=\"https:\/\/ja.wikipedia.org\/wiki\/Rsync\" title=\"null\" rel=\"nofollow\" target=\"_blank\">Rsync<\/a> over <a href=\"https:\/\/ja.wikipedia.org\/wiki\/Secure_Shell\" title=\"null\" rel=\"nofollow\" target=\"_blank\">SSH<\/a> \u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a9\u30eb\u30c0\u306e\u5171\u6709\u3092\u5b9f\u73fe\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u307e\u3059\u306e\u3067\u3001<br \/>Windows\u74b0\u5883\u3067\u306f<a href=\"https:\/\/www.cygwin.com\/\" title=\"null\" rel=\"nofollow\" target=\"_blank\">Cygwin<\/a>\u7b49\u3092\u5229\u7528\u3057\u3066<a href=\"http:\/\/qiita.com\/daichi87gi\/items\/6b33349eedce28db430a\" title=\"null\" rel=\"nofollow\" target=\"_blank\">Rsync\u3084SSH\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n<div class=\"frame_headding\">\n<h3 style=\"text-align: left;\">\u307e\u3068\u3081<\/h3>\n<\/div>\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>Vagrant \u3092\u4f7f\u3063\u3066\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u7c21\u5358\u306b\u7acb\u3061\u4e0a\u3052\u3089\u308c\u307e\u3057\u305f\u3002<br \/>\u3057\u304b\u3057\u3001\u3053\u308c\u3067\u306f\u307e\u3060\u30d7\u30ec\u30fc\u30f3\u306aUbuntu\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3061\u4e0a\u3052\u305f\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u6b21\u56de\u3067\u306f\u66f4\u306b\u3001Ansible\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30c9\u3067LAMP\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\u4ee5\u4e0a\u3001\u300c1\u30b3\u30de\u30f3\u30c9\u3067\u4f5c\u3063\u305f\u3002Vagrant + VPS\u3067\u52a0\u901f\u3059\u308b\u958b\u767a\u74b0\u5883\u4f5c\u308a\u300d\u3067\u3057\u305f\u3002<br \/>\u6700\u5f8c\u307e\u3067\u8aad\u3093\u3067\u3044\u305f\u3060\u304d\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u306e\u958b\u767a\u73fe\u5834\u3067\u306f\u30b3\u30fc\u30c9\u306b\u3088\u308b\u69cb\u6210\u7ba1\u7406\u304c\u6ce8\u76ee\u3055\u308c\u3066\u3044\u307e\u3059\u3002Vagrant\u3001Ansible\u3001Docker\u7b49\u306eTOOL\u306e\u540d\u79f0\u81ea\u4f53\u306f\u77e5\u3063\u3066\u3044\u308b\u3051\u3069\u3001\u899a\u3048\u308b\u4e8b\u304c\u6ca2\u5c71\u3042\u308b\u306b\u3082\u95a2\u308f\u3089\u305a\u3001\u5f79\u306b\u7acb\u3064\u5834\u9762\u304c\u30a4\u30e1\u30fc\u30b8\u3057\u8f9b\u304f\u52c9\u5f37\u304c\u9032\u307e\u306a\u3044\u3068\u3044\u3046\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u7121\u3044\u3067\u3057\u3087\u3046\u304b\uff1f \u79c1\u306f\u5c11\u3057\u52c9\u5f37\u3057\u3066\u306f\u632b\u6298\u3092\u7e70\u308a\u8fd4\u3057\u3001\u3088\u3046\u3084\u304f\u7d0d\u5f97\u51fa\u6765\u308b\u958b\u767a\u74b0\u5883\u3092\u30b3\u30fc\u30c9\u5316\u3059\u308b\u3053\u3068\u306b\u6210\u529f\u3057\u307e\u3057\u305f\u3002\u540c\u3058\u3088\u3046\u306b\u52c9\u5f37\u3057\u3066\u3044\u308b\u304c\u3001\u4f55\u51e6\u304b\u3089\u624b\u3092\u4ed8\u3051\u3066\u826f\u3044\u304b\u5206 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4229,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27],"tags":[],"acf":false,"_links":{"self":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts\/4221"}],"collection":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/comments?post=4221"}],"version-history":[{"count":14,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts\/4221\/revisions"}],"predecessor-version":[{"id":9523,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/posts\/4221\/revisions\/9523"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/media\/4229"}],"wp:attachment":[{"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/media?parent=4221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/categories?post=4221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sitest.jp\/blog\/wp-json\/wp\/v2\/tags?post=4221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}