{"id":6410,"date":"2014-11-17T11:30:23","date_gmt":"2014-11-17T02:30:23","guid":{"rendered":"http:\/\/www.creationline.com\/?p=6410"},"modified":"2014-11-14T18:59:37","modified_gmt":"2014-11-14T09:59:37","slug":"%e5%92%8c%e8%a8%b3-chef-provisioning-%e6%97%a7chef-metal-infrastructure-as-code","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/uncategorized\/6410","title":{"rendered":"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code"},"content":{"rendered":"<p>\u672c\u9805\u306f <a href=\"https:\/\/www.getchef.com\/blog\/2014\/11\/12\/chef-provisioning-infrastructure-as-code\/\">Chef Provisioning: Infrastructure As Code<\/a> (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002<\/p>\n<p>Chef Provisioning\u304c\u30ea\u30ea\u30fc\u30b9\u5019\u88dc\u7248\u3068\u306a\u308a\u3001<a href=\"https:\/\/downloads.getchef.com\/chef-dk\/\">ChefDK<\/a>\u30d0\u30fc\u30b8\u30e7\u30f30.3.4\u304b\u3089\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff01 \u3053\u306e\u5f37\u529b\u3067\u65b0\u3057\u3044Chef\u306e\u6a5f\u80fd\u7fa4\u306f\u3001\u30de\u30b7\u30f3\u3001\u30a4\u30e1\u30fc\u30b8\u3001\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u3084\u305d\u306e\u4ed6\u306e\u30a4\u30f3\u30d5\u30e9\u3092\u3079\u304d\u7b49\u306b\u4f5c\u6210\u30fb\u53ce\u675f\u3092\u884c\u3048\u307e\u3059\u3002\u305d\u308c\u3089\u304c\u30af\u30e9\u30a6\u30c9\u3001\u30d9\u30a2\u30e1\u30bf\u30eb\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3001\u30b3\u30f3\u30c6\u30ca\u306e\u3069\u308c\u3067\u3042\u308d\u3046\u3068\u3067\u3059\u3002\u3053\u308c\u306f\u69cb\u6210\u7ba1\u7406\u306b\u304a\u3051\u308bInfrastructure as Code\u306e\u6b21\u306e\u6bb5\u968e\u3068\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>Chef\u306f\u65e2\u306b\u3001\u30af\u30e9\u30b9\u30bf\u5316\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3051\u308b\u500b\u5225\u306e\u30de\u30b7\u30f3\u4e0a\u3067\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u3059\u3070\u3089\u3057\u304f\u3046\u307e\u304f\u8a18\u8ff0\u3067\u304d\u81ea\u52d5\u5316\u3067\u304d\u3066\u3044\u307e\u3059\u3002Chef Provisioning\u306fChef\u306e\u5358\u7d14\u3055\u3068\u5f37\u529b\u3055\u3092\u7528\u3044\u3066\u3001\u3088\u308a\u5148\u306e\u6bb5\u968e\u3078\u3068\u9032\u307f\u307e\u3059\u3002\u3064\u307e\u308a\u3001Chef\u306b\u3088\u3063\u3066<strong>\u30af\u30e9\u30b9\u30bf\u5168\u4f53<\/strong>\u306e\u59cb\u3081\u304b\u3089\u7d42\u308f\u308a\u3001\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u8a18\u8ff0\u3068\u81ea\u52d5\u5316\u3092\u884c\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3053\u308c\u3053\u305d\u304cInfrastructure as Code\u306e\u672a\u6765\u3067\u3059\u3002\u30af\u30e9\u30b9\u30bf\u8a2d\u5b9a\u3092\u30b3\u30fc\u30c9\u306b\u66f8\u304d\u4e0b\u3057\u305f\u3089\u3001\u305d\u306e\u30af\u30e9\u30b9\u30bf\u306f\u5373\u30c6\u30b9\u30c8\u53ef\u80fd\u3067\u3001\u518d\u73fe\u53ef\u80fd\u3067\u3001\u81ea\u5df1\u4fee\u5fa9\u53ef\u80fd\u3067\u3001\u3079\u304d\u7b49\u3067\u3001\u305d\u3057\u3066\u3082\u3063\u3068\u3082\u91cd\u8981\u306a\u3053\u3068\u306f<strong>\u7406\u89e3\u3057\u3084\u3059\u3044<\/strong>\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>Chef Provisioning\u306e\u6a5f\u80fd\u3092\u3044\u304f\u3064\u304b\u6319\u3052\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>machine<\/strong> Resource\u7fa4\u306b\u3088\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30af\u30e9\u30b9\u30bf\u306e\u8a18\u8ff0<\/li>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30af\u30e9\u30b9\u30bf\u306e\u5927\u91cf\u306e\u30b3\u30d4\u30fc(\u30c6\u30b9\u30c8\u3001\u7d71\u5408\u3001\u672c\u756a...)\u306e\u30c7\u30d7\u30ed\u30a4<\/li>\n<li>\u5197\u9577\u6027\u3068\u53ef\u7528\u6027\u306e\u305f\u3081\u306b\u30af\u30e9\u30b9\u30bf\u3092\u7570\u306a\u308b\u30af\u30e9\u30a6\u30c9\u3068\u30de\u30b7\u30f3\u306b\u5206\u6563<\/li>\n<li>\u30c7\u30d7\u30ed\u30a4\u3092\u8abf\u6574\u3057\u3001\u4f8b\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30bb\u30ab\u30f3\u30c0\u30ea\u3088\u308a\u524d\u306b\u30d7\u30e9\u30a4\u30de\u30ea\u304c\u78ba\u5b9f\u306b\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b<\/lI>\n<li><strong>machine_batch<\/strong>\u306b\u3088\u308a\u30de\u30b7\u30f3\u3092\u4e26\u5217\u5316\u3057\u3001\u30c7\u30d7\u30ed\u30a4\u3092\u9ad8\u901f\u5316<\/li>\n<li><strong>machine_image<\/strong>\u306b\u3088\u308a\u3001\u30de\u30b7\u30f3\u7fa4\u306e\u6a19\u6e96\u5316\u3068\u3001\u30d1\u30c3\u30c1\u5f53\u3066\u306e\u80fd\u529b\u3092\u5931\u3046\u3053\u3068\u306a\u3057\u306b\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u69cb\u7bc9\u306e\u9ad8\u901f\u5316<\/li>\n<li><strong>load_balancer<\/strong> Resource\u3068<strong>machine<\/strong> Resource\u306b\u3088\u3063\u3066\u697d\u3005\u3068\u30b5\u30fc\u30d3\u30b9\u3092\u30b9\u30b1\u30fc\u30ea\u30f3\u30b0<\/li>\n<\/ul>\n<h2>machine: \u8d85\u7c21\u5358<\/h2>\n<p>\u6b21\u306fMySQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30de\u30b7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3059\u308bRecipe\u3067\u3059\u3002\u3053\u306e\u5148\u4e00\u7dd2\u306b\u898b\u3066\u3044\u304f\u306a\u3089\u3001\u3053\u308c\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3057\u3066\u304a\u3044\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n# mycluster.rb<br \/>\nrequire 'chef\/provisioning'<br \/>\nmachine 'db' do<br \/>\n  recipe 'mysql'<br \/>\nend<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306b\u306f\u3001Chef\u3068Chef Provisioning\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001<strong>CHEF_DRIVER<\/strong>\u306b\u30af\u30e9\u30a6\u30c9\u30d7\u30ed\u30d0\u30a4\u30c0\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3057\u3066Recipe\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>Chef Provisioning\u30ea\u30ea\u30fc\u30b9\u5019\u88dc\u7248\u306fChefDK\u306b\u542b\u307e\u308c\u3066\u3044\u307e\u3059\uff01 <a href=\"https:\/\/downloads.getchef.com\/chef-dk\/\">\u307e\u305a\u521d\u3081\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30af\u30e9\u30a6\u30c9\u306e\u9078\u629e\u3001\u3069\u3093\u306a\u30af\u30e9\u30a6\u30c9\u3067\u3082<\/h3>\n<p>\u30de\u30b7\u30f3\u3092\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3059\u308b\u306b\u306f\u3001\u3069\u3053\u306b\u30de\u30b7\u30f3\u3092\u7f6e\u304f\u304b\u3092\u6c7a\u3081\u306a\u3051\u308c\u3070\u3044\u3051\u307e\u305b\u3093\u3002\u597d\u307f\u306e\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30af\u30e9\u30a6\u30c9\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3001\u30b3\u30f3\u30c6\u30ca\u3001\u30d9\u30a2\u30e1\u30bf\u30eb\u306e\u30c9\u30e9\u30a4\u30d0\u3092\u9078\u629e\u3057\u3001CHEF_DRIVER\u74b0\u5883\u5909\u6570\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067<strong>~\/.aws\/config<\/strong>\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306eAWS\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30de\u30b7\u30f3\u3092\u4f5c\u6210\u3059\u308b<strong>aws<\/strong>\u3092\u9078\u3073\u307e\u3057\u305f\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\nexport CHEF_DRIVER=aws # on Unix<br \/>\nset CHEF_DRIVER=aws # on Windows<br \/>\n<\/code><\/p>\n<h3>Recipe\u3092\u5b9f\u884c<\/h3>\n<p>Recipe\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><code lang=\"bash\"><br \/>\nchef-client -z mycluster.rb<br \/>\n<\/code><\/p>\n<p>\u306a\u3093\u3068\u30de\u30b7\u30f3\u306e\u8d77\u52d5\u304c\u5c0f\u3055\u306a\u7dd1\u8272\u306e\u6587\u5b57\u3067\u8868\u3055\u308c\u3066\u3044\u307e\u3059\uff01 Chef\u304c\u306f\u308b\u304b\u5f7c\u65b9\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\uff01 Chef\u304c\u53ce\u675f\u3092\u884c\u3044\u3001MySQL\u304c\u65b0\u3057\u3044\u30b5\u30fc\u30d0\u3067\u8d77\u52d5\u3057\u307e\u3057\u305f\uff01<\/p>\n<p>\u3053\u308c\u3060\u3051\u3067\u3059\u3002<\/p>\n<h2>\u30de\u30b7\u30f33\u53f0\u306f1\u53f0\u3088\u308a\u826f\u3044<\/h2>\n<p>\u300c\u3053\u308c\u306f\u3059\u3054\u3044\u3051\u3069\u3055\u30011\u53f0\u304c3\u5206\u304b\u304b\u3063\u305f\u3060\u3051\u3067\u3057\u3087\u3002\u305f\u304f\u3055\u3093\u306e\u30de\u30b7\u30f3\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u3044\u3068\u304d\u306f\u3069\u3046\u306a\u306e\uff1f\u300d\u3044\u3044\u8cea\u554f\u3067\u3059\uff01 \u305d\u306e\u7b54\u3048\u304c<strong>machine_batch<\/strong>\u306b\u3088\u308b\u4e26\u5217\u5316\u3067\u3059\u3002\u5148\u7a0b\u306eRecipe\u3092\u66f8\u304d\u63db\u3048\u3066\u30012\u3064\u306e\u30a6\u30a7\u30d6\u30de\u30b7\u30f3\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n# mycluster.rb<br \/>\nrequire 'chef\/provisioning'<br \/>\nmachine_batch do<br \/>\n  machine 'db' do<br \/>\n    recipe 'mysql'<br \/>\n  end<br \/>\n  # Create 2 web machines<br \/>\n  1.upto(2) do |i|<br \/>\n    machine \"web#{i}\" do<br \/>\n      recipe 'apache2'<br \/>\n    end<br \/>\n  end<br \/>\nend<br \/>\n<\/code><\/p>\n<p>\u3053\u3053\u3067\u306f2\u3064\u306e\u3053\u3068\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><strong>machine_batch<\/strong>\u30d6\u30ed\u30c3\u30af\u306b3\u53f0\u306e\u30de\u30b7\u30f3\u3092\u5165\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306f\u3064\u307e\u308a\u3001\u3059\u3079\u3066\u306e\u30de\u30b7\u30f3\u304c<strong>\u4e26\u5217\u306b<\/strong>\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u3055\u308c\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u3059\u306a\u308f\u3061\u30011\u53f0\u306e\u30de\u30b7\u30f3\u304c3\u5206\u304b\u304b\u308b\u306e\u306a\u3089\u30013\u53f0\u306e\u30de\u30b7\u30f3\u306f\u2026\u2026\u5408\u8a083\u5206\u304b\u304b\u308a\u307e\u3059\u3002<\/li>\n<li>1\u53f0\u3088\u308a\u591a\u304f\u306e\u30de\u30b7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u30eb\u30fc\u30d7\u3092\u7528\u3044\u307e\u3057\u305f\uff01 \u3053\u308c\u306fChef Provisioning\u304cChef\u306e\u5f37\u529b\u306a\u8a00\u8a9e\u306e\u4e00\u90e8\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001Chef DSL\u3068\u3059\u3079\u3066\u306eRecipe\u3084Resource\u304c\u6709\u52b9\u3060\u304b\u3089\u3067\u3059\u3002\u3082\u305710\u53f0\u306e\u30a6\u30a7\u30d6\u30de\u30b7\u30f3\u304c\u307b\u3057\u3051\u308c\u3070<strong>2<\/strong>\u3092<strong>10<\/strong>\u306b\u5909\u3048\u3066Recipe\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/li>\n<\/ul>\n<p><code lang=\"bash\"><br \/>\nchef-client -z mycluster.rb<br \/>\n<\/code><\/p>\n<p>\u3092\u5b9f\u884c\u3057\u305f\u3068\u304d\u3001<strong>db<\/strong>\u30de\u30b7\u30f3\u304c\u4f5c\u6210\u3055\u308c\u308b\u4ee3\u308f\u308a\u306b\u300c\u6700\u65b0\u3067\u3042\u308b\u300d\u3068\u901a\u77e5\u3055\u308c\u308b\u3067\u3057\u3087\u3046\uff01 \u3053\u308c\u306f\u3059\u3079\u3066\u306eChef Resource\u3068\u540c\u3058\u3088\u3046\u306b\u3001<strong>machine<\/strong>\u304c\u3079\u304d\u7b49\u3060\u304b\u3089\u3067\u3059\u3002db\u30de\u30b7\u30f3\u304c\u65e2\u306b\u5b58\u5728\u3057\u3066\u671f\u5f85\u901a\u308a\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u4f55\u3082\u3057\u306a\u3044\u306e\u3067\u3059\u3002<\/p>\n<h2>\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u308a\u3001\u9577\u6301\u3061\u3055\u305b\u308b<\/h2>\n<p>Chef Provisioning\u306b\u3042\u308b\u4ed6\u306b\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3068\u3057\u3066<strong>machine_image<\/strong>\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001Chef\u306eRecipe\u304c\u610f\u5473\u3057\u3066\u3044\u308b\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\u524d\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u308b\u3053\u3068\u3067\u3001apache2\u3092\u3059\u3079\u3066\u306e\u30de\u30b7\u30f3\u306b\u6bce\u56de\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304f\u3066\u3082\u3088\u304f\u306a\u308a\u307e\u3059\u3002\u52d5\u4f5c\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n# mycluster.rb<br \/>\nmachine_image 'web_image' do<br \/>\n  recipe 'apache2'<br \/>\nend<br \/>\nmachine 'another_web_machine' do<br \/>\n  from_image 'web_image'<br \/>\nend<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\nchef-client -z mycluster.rb<br \/>\n<\/code><\/p>\n<p>\u3053\u308c\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30de\u30b7\u30f3\u3092\u4f5c\u6210\u3057\u3001\u30a4\u30e1\u30fc\u30b8\u3092\u4fdd\u5b58\u3057\u3001\u30de\u30b7\u30f3\u3092\u7834\u68c4\u3059\u308b\u3068\u3044\u3046\u3001\u30a4\u30e1\u30fc\u30b8\u4f5c\u6210\u306e\u69d8\u5b50\u304c\u898b\u3089\u308c\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3057\u3066\u3001<strong>another_web_machine<\/strong>\u304cApache\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068<strong>\u306a\u3057\u3067<\/strong>\u4f5c\u6210\u3055\u308c\u308b\u69d8\u5b50\u304c\u308f\u304b\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<h2>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5<\/h2>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u30de\u30b7\u30f3\u540c\u69d8\u306b\u30af\u30e9\u30b9\u30bf\u3092\u5360\u3081\u308b\u5927\u304d\u306a\u90e8\u5206\u3067\u3059\u3002Chef Provisioning\u306f\u3053\u308c\u3092\u52a9\u3051\u308b\u305f\u3081\u306b<strong>load_balancer<\/strong> Resource\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u6700\u521d\u306eRecipe\u3092\u66f8\u304d\u63db\u3048\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code lang=\"ruby\"><br \/>\n# mycluster.rb<br \/>\n...<br \/>\nload_balancer 'web' do<br \/>\n  machines %w(web1 web2)<br \/>\nend<br \/>\n<\/code><\/p>\n<p><code lang=\"bash\"><br \/>\nchef-client -z mycluster.rb<br \/>\n<\/code><\/p>\n<p>\u3053\u306eRecipe\u3092\u5b9f\u884c\u3059\u308b\u3068\u30012\u3064\u306e\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u306b\u5bfe\u3059\u308b\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\uff01<\/p>\n<h2>\u30c9\u30e9\u30a4\u30d0<\/h2>\n<p>Chef Provisioning\u306f\u591a\u304f\u306e\u30af\u30e9\u30a6\u30c9\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u3001\u30b3\u30f3\u30c6\u30ca\u3001\u3055\u3089\u306b\u30d9\u30a2\u30e1\u30bf\u30eb\u3067\u52d5\u4f5c\u3059\u308b\u305f\u3081\u306e\u62e1\u5f35\u53ef\u80fd\u306a\u30c9\u30e9\u30a4\u30d0\u6a5f\u69cb\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u6b21\u306f\u4e00\u90e8\u3067\u3059\u3002<\/p>\n<h4>\u30af\u30e9\u30a6\u30c9<\/h4>\n<ul>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-aws\">aws<\/a>: Amazon Web Services\u3002\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u3001\u30de\u30b7\u30f3\u3001\u30a4\u30e1\u30fc\u30b8\u3068\u3001\u305d\u308c\u3089\u3068\u540c\u3058\u304fSQS(Amazon Simple Queue Service)\u3068\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u3092\u542b\u3080\u5897\u3048\u7d9a\u3051\u308b\u8981\u7d20\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306eResource\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u542b\u307f\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-azure\">azure<\/a>: Microsoft Azure\u3002\u30de\u30b7\u30f3\u3068\u30a4\u30e1\u30fc\u30b8\u306a\u3069\u306e\u30b5\u30dd\u30fc\u30c8\u3092\u542b\u307f\u307e\u3059\u3002<\/li>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-fog\">fog<\/a>: \u591a\u304f\u306e\u30af\u30e9\u30a6\u30c9\u3067\u306e\u30de\u30b7\u30f3\u3068\u30a4\u30e1\u30fc\u30b8\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002\n<ul>\n<li>AWS<\/li>\n<li>CloudStack<\/li>\n<li>OpenStack<\/li>\n<li>Joyent<\/li>\n<li>Rackspace<\/li>\n<li>DigitalOcean<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>\u30b3\u30f3\u30c6\u30ca<\/h4>\n<ul>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-docker\">docker<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-lxc\">lxc<\/a><\/li>\n<\/ul>\n<h4>\u4eee\u60f3\u30de\u30b7\u30f3<\/h4>\n<ul>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-vagrant\">vagrant<\/a>: Vagrant\u306e\u30b5\u30dd\u30fc\u30c8\u306b\u3088\u308a\u3001VirtualBox\u3001VMware Fusion\u306a\u3069\u3082\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>\u30d9\u30a2\u30e1\u30bf\u30eb<\/h4>\n<ul>\n<li><a href=\"https:\/\/github.com\/opscode\/chef-provisioning-hanlon\">hanlon<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/newgoliath\/chef-provisioning-crowbar\">opencrowbar<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/RallySoftware-cookbooks\/chef-metal-vsphere\">vsphere<\/a><\/li>\n<\/ul>\n<h2>\u3082\u3063\u3068\u6b32\u3057\u3044\uff1f<\/h2>\n<p>\u3053\u308c\u306fChef Provisioning\u304c\u3069\u306e\u3088\u3046\u306a\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u52d5\u4f5c\u306e\u4e0a\u3063\u9762\u3092\u306a\u3067\u305f\u3060\u3051\u3067\u3059\u304c\u3001\u65b0\u3057\u3044\u4e16\u754c\u3078\u306e\u53ef\u80fd\u6027\u306e\u6249\u3092\u958b\u3044\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u8c4a\u5bcc\u306a\u60c5\u5831\u306f<a href=\"https:\/\/github.com\/opscode\/chef-provisioning\">chef-provisioning\u30ec\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u3042\u308a\u3001\u591a\u304f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3084\u4f8b\u3092\u542b\u3093\u3067\u3044\u307e\u3059\u3002\u305d\u3053\u3067\u306f\u30a4\u30b7\u30e5\u30fc\u306e\u767b\u9332\u3082\u3067\u304d\u307e\u3059\u3002\u3082\u3057\u30c1\u30e3\u30c3\u30c8\u304c\u597d\u307f\u306a\u3089<a href=\"https:\/\/gitter.im\/opscode\/chef-provisioning\">Gitter\u30c1\u30e3\u30f3\u30cd\u30eb<\/a>\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u3067\u306f\u30cf\u30c3\u30d4\u30fc\u30fb\u30d7\u30ed\u30d3\u30b8\u30e7\u30cb\u30f3\u30b0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef Provisioning\u304c\u30ea\u30ea\u30fc\u30b9\u5019\u88dc\u7248\u3068\u306a\u308a\u3001ChefDK\u30d0\u30fc\u30b8\u30e7\u30f30.3. [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[1019],"tags":[],"class_list":["post-6410","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Uncategorized |\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.creationline.com\/tech-blog\/6410\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Uncategorized |\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/6410\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-17T02:30:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"470\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code\",\"datePublished\":\"2014-11-17T02:30:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410\"},\"wordCount\":135,\"commentCount\":0,\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410\",\"name\":\"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\"},\"datePublished\":\"2014-11-17T02:30:23+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Uncategorized |\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\\\/11\\\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/6410#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/#\\\/schema\\\/person\\\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/cms_x3GWkuX\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\\\/\\\/www.creationline.com\\\/tech-blog\\\/author\\\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Uncategorized |\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.creationline.com\/tech-blog\/6410","og_locale":"ja_JP","og_type":"article","og_title":"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Uncategorized |\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef","og_url":"https:\/\/www.creationline.com\/tech-blog\/6410","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2014-11-17T02:30:23+00:00","og_image":[{"width":470,"height":394,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2026\/01\/screenshot.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/6410#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6410"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code","datePublished":"2014-11-17T02:30:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6410"},"wordCount":135,"commentCount":0,"articleSection":["Uncategorized"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.creationline.com\/tech-blog\/6410#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/6410","url":"https:\/\/www.creationline.com\/tech-blog\/6410","name":"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"datePublished":"2014-11-17T02:30:23+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Uncategorized |\u672c\u9805\u306f Chef Provisioning: Infrastructure As Code (2014\/11\/12) \u306e\u548c\u8a33\u3067\u3059\u3002 Chef","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/6410#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/6410"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/6410#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"[\u548c\u8a33] Chef Provisioning (\u65e7Chef Metal): Infrastructure As Code"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=6410"}],"version-history":[{"count":0,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/6410\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=6410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=6410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=6410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}