{"id":1998,"date":"2014-11-21T10:00:52","date_gmt":"2014-11-21T01:00:52","guid":{"rendered":"http:\/\/www.skyarch.net\/blog\/?p=1998"},"modified":"2015-03-10T16:22:41","modified_gmt":"2015-03-10T07:22:41","slug":"amazon-elasticbeanstalk-2","status":"publish","type":"post","link":"https:\/\/www.skyarch.net\/blog\/amazon-elasticbeanstalk-2\/","title":{"rendered":"Amazon ElasticBeanstalk &#8211; 2"},"content":{"rendered":"<p><em><a href=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2014\/10\/ElasticBeanstalk001.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1425\" src=\"http:\/\/www.skyarch.net\/blog\/wp-content\/uploads\/2014\/10\/ElasticBeanstalk001.png\" alt=\"ElasticBeanstalk001\" width=\"254\" height=\"51\" \/><\/a><\/em><\/p>\n<h1><em><span style=\"color: #008000;\">Elastic Beanstalk<\/span>\u00a0x\u00a0<span style=\"color: #008080;\"><strong>Docker<\/strong><\/span><\/em><\/h1>\n<p><em><span style=\"color: #008080;\">Docker <\/span>\u3063\u3066\u306a\u3093\u3067\u3057\u3087\u3046\u304b\u3002\u3055\u3089\u306b <span style=\"color: #008000;\">Elastic Beanstalk<\/span> \u3068\u30b3\u30e9\u30dc\u3055\u305b\u308b\u30fb\u30fb\u30fb\u3002\u30b9\u3063\u3068\u306f\u3044\u3063\u3066\u3053\u306a\u3044\u5185\u5bb9\u306a\u306e\u3067\u3001\u3053\u306e\u6700\u5f37\u30b3\u30e9\u30dc\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/em><em>\u307e\u305a\u306f\u3001 <span style=\"color: #008000;\">Elastic Beanstalk<\/span>\u3001<span style=\"color: #008080;\">Docker <\/span>\u306e\u305d\u308c\u305e\u308c\u306e\u8981\u70b9\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2><em><span style=\"color: #008000;\">Elastic Beanstalk<\/span><\/em><\/h2>\n<p><strong><em>-- \u00a0<span style=\"color: #008000;\">Elastic Beanstalk\u00a0<\/span>\u3067\u5b9f\u969b\u306b\u51e6\u7406\u3055\u308c\u308b\u5185\u5bb9<\/em><\/strong><\/p>\n<ul>\n<li><em>\u9078\u3093\u3060\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3 ( Apache + PHP \u7b49 ) \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u8d77\u52d5<\/em><\/li>\n<li><em>\u9078\u629e\u3057\u3066\u3044\u308c\u3070 RDS \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u8d77\u52d5 ( RDS \u3092\u9078\u629e\u3057\u3066\u3044\u308b\u3068 RDS \u306e\u8d77\u52d5\u306b<\/em><em>\u6642\u9593\u304c\u304b\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093 )<\/em><\/li>\n<li><em>\u30c7\u30d7\u30ed\u30a4\u3055\u308c\u305f EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5185\u3067\u81ea\u52d5\u7684\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb + \u8d77\u52d5<\/em><\/li>\n<li><em>Elastic Load Balancing \u306e\u4f5c\u6210<\/em><\/li>\n<li><em>Auto Scaling \u306e\u30b0\u30eb\u30fc\u30d7\u4f5c\u6210 + Launch Configuration \u4f5c\u6210<\/em><\/li>\n<li><em>Security Group \u306e\u4f5c\u6210<\/em><\/li>\n<li><em>git \u3067 push \u3059\u308b S3 \u306e\u30d0\u30b1\u30c3\u30c8\u4f5c\u6210 ( \u30b3\u30f3\u30c6\u30f3\u30c4\u7528\u30d5\u30a1\u30a4\u30eb \u3068 Log \u30d5\u30a1\u30a4\u30eb )<\/em><\/li>\n<li><em>Cloud Watch \u306e\u8a2d\u5b9a ( Auto Scaling \u7528 )<\/em><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><em>\u3053\u3053\u307e\u3067\u81ea\u52d5\u3067\u77ac\u6bba\u3057\u3066\u304f\u308c\u308b\u4e8b\u304c\u666e\u901a\u306b\u611f\u3058\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u304c\u3001\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u3067\u4e0a\u8a18\u4f5c\u696d\u306e\u5de5\u6570\u5316\u3092\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/em><em>\u3044\u3063\u305f\u3044\u4f55\u65e5\u3001\u4f55\u9031\u9593\u304b\u304b\u308b\u3093\u3060\u3063\u3066\u3044\u3046\u8a71\u3067\u3059\u3088\u306d\u3002<\/em><em>\u3055\u3089\u306b\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a<\/em><em>\u904b\u7528\u30b3\u30b9\u30c8\u307e\u3067\u524a\u6e1b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/em><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>\u30a4\u30f3\u30d5\u30e9\u8abf\u9054<\/li>\n<li>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u69cb\u7bc9<\/li>\n<li>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u914d\u7f6e<\/li>\n<li>\u9ad8\u8ca0\u8377\u6642\u306e\u624b\u52d5\u30b9\u30b1\u30fc\u30eb\u30a2\u30a6\u30c8<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u5404\u30b5\u30fc\u30d0\u3078 SSH \u3067\u63a5\u7d9a\u3057\u3066\uff5e\u306a\u3093\u3066\u4e8b\u304c\u7121\u304f\u306a\u308b\u6642\u4ee3\u304c\u8fd1\u3065\u3044\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<em>\u904b\u7528\u5c4b\u3055\u3093\u306e\u79c1\u3068\u3057\u3066\u306f\u3053\u306e\u6642\u70b9\u3067\u6e80\u8db3\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u3084\u306f\u308a\u958b\u767a\u5c4b\u3055\u3093\u76ee\u7dda\u3067\u898b\u308b\u3068\u7269\u8db3\u308a\u306a\u3044\u3068\u306e\u58f0\u3082\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/em><em>\u4f8b\u3048\u3070\u3001\u300c\u5b9f\u884c\u74b0\u5883\u3054\u3068\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u3044\uff01\u300d\u3068\u304b\u300cJava \u3067 Tomcat \u4ee5\u5916\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u305f\u3044\uff01\u300d\u3068\u304b\u300cCentOS \u3092\u4f7f\u3044\u305f\u3044\uff01\u300d\u3068\u304b\u3068\u304b\u3002<\/em><em>\u3048\u30fc\u3001\u3064\u307e\u308a\u00a0<span style=\"color: #008080;\">Docker <\/span>\u304c\u89e3\u6c7a\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2><em><span style=\"color: #008080;\">Docker<\/span><\/em><\/h2>\n<p><em><span style=\"color: #008080;\">Docker<\/span> \u3068\u306f\uff1f\u00a0<\/em><em><span style=\"color: #008080;\">Docker<\/span> \u793e\u304c\u63d0\u4f9b\u3059\u308b\u300cDocker Engine\u300d\u3084\u300cDocker Hub\u300d\u306a\u3069\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u7dcf\u79f0\u3057\u3066\u300c<span style=\"color: #008080;\">Docker<\/span>\u300d\u3068\u547c\u3076\u3089\u3057\u3044\u3067\u3059\u3002<\/em><em>Linux \u4e0a\u3067\u4eee\u60f3\u30b3\u30f3\u30c6\u30ca\u3092\u5b9f\u884c\u3057\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u306e\u3088\u3046\u306a\u632f\u308b\u821e\u3044\u304c\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002 \u4eee\u60f3\u30b3\u30f3\u30c6\u30ca\u3068\u3044\u3046\u3068 OpenVZ \u3092\u601d\u3044\u51fa\u3057\u307e\u3059\u306d\u3002<\/em><em>EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306f\u30cf\u30a4\u30d1\u30fc\u30d0\u30a4\u30b6\u30fc\u578b\u3067\u3059\u306e\u3067\u3001\u305d\u306e\u4e0a\u306b\u30db\u30b9\u30c8 OS \u578b\u4eee\u60f3\u30de\u30b7\u30f3\u304c\u4e57\u308b\u30a4\u30e1\u30fc\u30b8\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u3002\u3082\u306e\u3059\u3054\u3044\u3067\u3059\u3002<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong><em>-- \u00a0<span style=\"color: #008080;\">Docker<\/span> \u3067\u3067\u304d\u308b\u4e8b<\/em><\/strong><\/p>\n<ul>\n<li><em>\u30b3\u30f3\u30c6\u30ca\u4f5c\u6210 (\u4f5c\u6210\u3057\u305f\u3044 OS \u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\u3057\u5c55\u958b\u3001\u4e00\u5ea6 OS \u30a4\u30e1\u30fc\u30b8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3057\u307e\u3048\u3070\u30c7\u30d7\u30ed\u30a4\u3001\u8907\u88fd\u306f\u9ad8\u901f\u3067\u3059\u3002)<\/em><\/li>\n<li><em>\u30b3\u30f3\u30c6\u30ca\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u4fdd\u5b58\u3001\u5171\u6709\u3082\u53ef\u80fd<\/em><\/li>\n<li><em><span style=\"color: #008080;\">Docker<\/span> \u304c\u52d5\u304f\u74b0\u5883\u3067\u3042\u308c\u3070\u3001\u5b9f\u884c\u74b0\u5883\u3054\u3068\u30c7\u30d7\u30ed\u30a4\u53ef\u80fd ( \u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u306e OS \u4e0a\u3067\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u3001EC2 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e OS \u4e0a\u306b\u30c7\u30d7\u30ed\u30a4 )<\/em><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><em>\u3056\u3063\u304f\u308a\u3068\u3057\u305f\u8aac\u660e\u3067\u3059\u304c\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u74b0\u5883\u3054\u3068\u306b\u30c7\u30d7\u30ed\u30a4\u304c\u53ef\u80fd\u3068\u3044\u3046\u4e8b\u3067\u3059\u306d\u3002<span style=\"color: #008080;\">Docker<\/span>\u00a0\u81ea\u4f53\u3001\u4ed6\u306b\u3082\u69d8\u3005\u306a\u6a5f\u80fd\u304c\u3042\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/em><\/p>\n<p>&nbsp;<\/p>\n<h2><em>\u307e\u3068\u3081<\/em><\/h2>\n<p><strong><em>-- \u00a0<span style=\"color: #008000;\">Elastic Beanstalk<\/span>\u00a0x\u00a0<span style=\"color: #008080;\">Docker<\/span> \u3067\u3067\u304d\u308b\u4e8b<\/em><\/strong><\/p>\n<ul>\n<li><em><span style=\"color: #008080;\">Docker<\/span> \u3067\u4f5c\u6210\u3057\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u74b0\u5883 ( \u4eee\u60f3 OS ) \u3054\u3068 <span style=\"color: #008000;\">Elastic Beanstalk\u00a0<\/span>\u7ba1\u7406\u4e0b\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u4e0a\u306b\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u308b<\/em><\/li>\n<li><em><span style=\"color: #008000;\">Elastic Beanstalk <span style=\"color: #000000;\">\u3068\u3044\u3046<\/span>\u00a0<\/span>Paas \u30b5\u30fc\u30d3\u30b9\u5185\u306e\u5236\u7d04\u306b\u3068\u3089\u308f\u308c\u305a\u81ea\u7531\u306b\u5b9f\u884c\u74b0\u5883\u3092\u9078\u629e\u3067\u304d\u308b<\/em><\/li>\n<li><em><span style=\"color: #008000;\">Elastic Beanstalk<\/span> \u5074\u306b\u3066 <span style=\"color: #008080;\">Docker<\/span> \u306e\u30c7\u30d7\u30ed\u30a4\u65b9\u91dd\u306e\u8a2d\u5b9a\u3084\u7ba1\u7406\u304c\u5bb9\u6613<\/em><\/li>\n<li><em>\u6545\u306b\u6700\u5f37\u3067\u3042\u308b (\u00a0Immutable Infrastructure \u306e\u69d8\u306b\u3001\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u304c\u81ea\u52d5\u5316\u3055\u308c\u3001\u304b\u3064\u62e1\u5f35\u6027\u30fb\u53ef\u642c\u6027\u304c\u9ad8\u3044 )<\/em><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><em>\u5b9f\u969b\u306b\u904b\u7528\u5b9f\u7e3e\u3068\u3057\u3066\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u904b\u7528\u9762\u3067\u6700\u5f37\u3058\u3083\u306a\u3044\u30dd\u30a4\u30f3\u30c8\u3068\u304b\u3001\u554f\u984c\u70b9\u3082\u898b\u3064\u3051\u3066\u3044\u304d\u305f\u3044\u306e\u3067\u3001\u3053\u306e\u30d6\u30ed\u30b0\u3067\u5171\u6709\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Elastic Beanstalk\u00a0x\u00a0Docker Docker \u3063\u3066\u306a\u3093\u3067\u3057\u3087\u3046\u304b\u3002\u3055\u3089\u306b Elastic Beanstalk \u3068\u30b3\u30e9\u30dc\u3055\u305b\u308b\u30fb\u30fb\u30fb\u3002\u30b9\u3063\u3068\u306f\u3044\u3063\u3066\u3053\u306a\u3044\u5185\u5bb9\u306a\u306e\u3067\u3001\u3053\u306e\u6700\u5f37\u30b3\u30e9\u30dc\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u3066\u3044\u304d&#8230;<\/p>\n","protected":false},"author":16,"featured_media":1434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"1998","footnotes":""},"categories":[20,83,19],"tags":[],"class_list":{"0":"post-1998","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-aws","8":"category-devops","9":"category-19","10":"ja"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1998","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/comments?post=1998"}],"version-history":[{"count":15,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1998\/revisions"}],"predecessor-version":[{"id":2059,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/posts\/1998\/revisions\/2059"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media\/1434"}],"wp:attachment":[{"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/media?parent=1998"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/categories?post=1998"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skyarch.net\/blog\/wp-json\/wp\/v2\/tags?post=1998"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}