{"id":17400,"date":"2018-11-13T16:23:06","date_gmt":"2018-11-13T07:23:06","guid":{"rendered":"http:\/\/labs.gree.jp\/blog\/?p=17400"},"modified":"2019-05-13T17:48:03","modified_gmt":"2019-05-13T08:48:03","slug":"post17400","status":"publish","type":"post","link":"https:\/\/labs.gree.jp\/blog\/2018\/11\/17400\/","title":{"rendered":"\u52d5\u753b\u914d\u4fe1\u3068 Amazon ECS \u3068 Google Kubernetes Engine (GKE)"},"content":{"rendered":"<p>\u30a4\u30f3\u30d5\u30e9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u307b\u308a\u3050\u3061\u3067\u3059\u3002\u3053\u306e\u6587\u7ae0\u306f\u3001\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3084\u30b2\u30fc\u30e0\u306e API \u306e\u3088\u3046\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u3063\u3066\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3059\u3060\u3051\u306e\u30b5\u30fc\u30d0\u3068\u306f\u5168\u304f\u9055\u3046\u7528\u9014\u306b\u304a\u3044\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u3067\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3057\u3066\u307f\u305f\u611f\u60f3\u3067\u3059\u3002\u9577\u304f\u306a\u308b\u306e\u3067\u7528\u8a9e\u3084\u6a5f\u80fd\u306e\u89e3\u8aac\u306f\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u8fd1\u9803\u306f VTuber \u914d\u4fe1\u3082\u59cb\u3081\u3066\u540c\u6642\u8996\u8074\u4e00\u4e07\u4eba\u30aa\u30fc\u30d0\u30fc\u3067\u3082\u305d\u3053\u305d\u3053\u306e\u9045\u5ef6\u3068\u753b\u8cea\u3067\u304a\u5c4a\u3051\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u5b9f\u88c5\u3067\u306f IaaS \u3092\u5168\u304f\u4f7f\u308f\u305a\u306b\u3059\u3079\u3066\u30b3\u30f3\u30c6\u30ca\u304b PaaS \u306e\u30de\u30cd\u30fc\u30b8\u30c9\u30b5\u30fc\u30d3\u30b9\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u306f\u30e9\u30a4\u30d6\u914d\u4fe1\u306e\u307f\u3092\u884c\u3044\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u914d\u4fe1\u306f\u884c\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"https:\/\/le.wrightflyer.net\/reality\/\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-17401\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/\u30ad\u30e3\u30d7\u30c1\u30e3-600x353.png\" alt=\"\" width=\"600\" height=\"353\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/\u30ad\u30e3\u30d7\u30c1\u30e3-600x353.png 600w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/\u30ad\u30e3\u30d7\u30c1\u30e3-276x163.png 276w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/\u30ad\u30e3\u30d7\u30c1\u30e3-768x452.png 768w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/\u30ad\u30e3\u30d7\u30c1\u30e3-830x489.png 830w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/\u30ad\u30e3\u30d7\u30c1\u30e3.png 1088w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/> <\/a><\/p>\n<p>VTuber \u6587\u5316\u306f\u8996\u5dee\u3064\u304d\u30d8\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u304b\u3076\u3063\u3066\u4f53\u9a13\u3059\u308b\u6d41\u308c\u3068\u3001\u52d5\u753b\u914d\u4fe1\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u52d5\u753b\u3068\u3057\u3066\u5c4a\u3051\u308b\u6d41\u308c\u304c\u3042\u308b\u3088\u3046\u3067\u3059\u3002\u914d\u4fe1\u6280\u8853\u7684\u3082\u591a\u69d8\u3067\u3001\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3084\u97f3\u58f0\u7b49\u306e\u30c7\u30fc\u30bf\u3092\u914d\u4fe1\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u3068\u3001\u52d5\u753b\u3068\u3057\u3066\u51fa\u6765\u4e0a\u304c\u3063\u305f\u753b\u9762\u3092\u914d\u4fe1\u3057\u3001\u305d\u306e\u307b\u304b\u30e1\u30bf\u30c7\u30fc\u30bf\u306f\u5225\u30c1\u30e3\u30f3\u30cd\u30eb\u3067\u914d\u4fe1\u3059\u308b\u30d1\u30bf\u30fc\u30f3\u306b\u306a\u3063\u3066\u307e\u3059\u3002<\/p>\n<table border=\"3\">\n<tr>\n<th><\/th>\n<th>\u52d5\u753b<\/th>\n<th>\u30e1\u30bf\u30c7\u30fc\u30bf<\/th>\n<\/tr>\n<tr>\n<td>\u4e3b\u306a\u5185\u5bb9<\/td>\n<td>\u6620\u50cf\u3001\u97f3\u58f0<\/td>\n<td>\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3001\u30c1\u30e3\u30c3\u30c8\u3001\u97f3\u58f0<\/td>\n<\/tr>\n<tr>\n<td>\u6280\u8853<\/td>\n<td>\u307b\u3068\u3093\u3069\u30aa\u30fc\u30d7\u30f3\uff08\u30d1\u30c6\u30f3\u30c8\uff09<\/td>\n<td>\u307b\u3068\u3093\u3069\u72ec\u81ea<\/td>\n<\/tr>\n<tr>\n<td>\u4e3b\u306a\u30d7\u30ed\u30c8\u30b3\u30eb<\/td>\n<td>RTMP,HTTP\u3084WebSocket\u306a\u3069<\/td>\n<td>\u304a\u305d\u3089\u304f\u72ec\u81ea\uff08TCP\u3084UDP\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u9045\u5ef6<\/td>\n<td>\u6570\u79d2\uff5e\uff11\uff10\u79d2\u524d\u5f8c<\/td>\n<td>\uff11\u79d2\u672a\u6e80<\/td>\n<\/tr>\n<tr>\n<td>\u4ed6<\/td>\n<td>\u5927\u5bb9\u91cf\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u304c\u5bb9\u6613\u3001\u4ed6\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u5bfe\u5fdc\u3057\u3084\u3059\u3044<\/td>\n<td>\u5c02\u7528\u30d7\u30ec\u30a4\u30e4\u30fc\u3001\u72ec\u81ea\u8996\u70b9\u3084\u8996\u5dee\u4ed8\u304d\uff13\uff16\uff10\u5ea6\u53ef\u80fd<\/td>\n<\/tr>\n<\/table>\n<p>\u500b\u4eba\u7684\u306b\u306f\u30de\u30eb\u30c1\u30d7\u30ec\u30a4\u7cfb\u30cd\u30c8\u30b2\u304c\u597d\u304d\u306a\u3093\u3067\u30e1\u30bf\u30c7\u30fc\u30bf\u7cfb\u306e\u6280\u8853\u304c\u5f97\u610f\u306a\u3093\u3067\u3059\u304c\u3001\u4eca\u306e Reality \u3067\u306f\u5b9f\u88c5\u901f\u5ea6\u3084\u6c4e\u7528\u6027\u3092\u91cd\u8996\u3057\u3066\u52d5\u753b\u914d\u4fe1\u30d1\u30bf\u30fc\u30f3\u3092\u63a1\u7528\u3057\u3066\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u6210\u3067\u3001\u52d5\u753b\u914d\u4fe1\u5468\u308a\u3067\u306f Kubernetes ( \u4ee5\u4e0b GKE) \u3092\u591a\u304f\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch.png\" alt=\"\" width=\"1895\" height=\"1396\" class=\"alignnone size-full wp-image-17402\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch.png 1895w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch-271x200.png 271w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch-543x400.png 543w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch-768x566.png 768w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch-830x611.png 830w\" sizes=\"auto, (max-width: 1895px) 100vw, 1895px\" \/><\/a><\/p>\n<p>\u305d\u3053\u3067<a href=\"http:\/\/labs.gree.jp\/blog\/2016\/06\/16024\/\">\u904e\u53bb\u306e\u8a18\u4e8b<\/a>\u3067\u306f Amazon ECS (\u4ee5\u4e0b ECS ) \u3092\u4f7f\u3063\u3066 WebSocket \u3092\u6271\u3044\u3001\u305d\u306e\u5177\u5408\u306e\u826f\u3055\u306b\u9a5a\u3044\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u4eca\u56de GKE \u3067\u69cb\u7bc9\u3057\u305f\u3053\u3068\u306b\u3088\u308a ECS \u306b\u60f3\u3044\u3092\u306f\u305b\u3066\u307f\u305f\u308a\u3001\u4f7f\u3063\u3066\u307f\u305f\u611f\u60f3\u3092\u307e\u3068\u3081\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u30b3\u30b9\u30c8\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3084\u6a5f\u80fd\u306a\u3069\u306e\u5b9a\u91cf\u7684\u306a\u8a55\u4fa1\u3067\u306f\u306a\u304f\u3001\u500b\u4eba\u7684\u306a\u4e3b\u89b3\u306b\u3088\u308b\u3082\u306e\u3067\u3059\u3002<\/strong><\/p>\n<h2>\u30e9\u30a4\u30d6\u52d5\u753b\u30a8\u30f3\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066<\/h2>\n<p>\u30e9\u30a4\u30d6\u52d5\u753b\u306a\u306e\u3067\u3001\u30d1\u30a4\u30d7\u30e9\u30a4\u30f3\u306e\u3044\u305a\u308c\u304b\u304c\uff12\u79d2\u307b\u3069\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u3068\u52d5\u753b\u304c\u9014\u5207\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u3053\u3053\u306f\u30b5\u30fc\u30d3\u30b9\u306e\u5b89\u5b9a\u6027\u3068\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u76f8\u8ac7\u3057\u306a\u304c\u3089\u8abf\u6574\u3067\u304d\u308b\u30dd\u30a4\u30f3\u30c8\u306a\u306e\u3067\u3059\u304c\u3001\u975e\u5e38\u306b\u91cd\u8981\u306a\u8981\u7d20\u3067\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u30e9\u30a4\u30d6\u52d5\u753b\u306a\u306e\u3067\u3001\u4e00\u5ea6\u958b\u59cb\u3059\u308b\u3068\u6570\u5341\u5206\uff5e\u6570\u6642\u9593\u306e\u914d\u4fe1\u3092\u884c\u3044\u307e\u3059\u3002\u3088\u304f\u3042\u308b API \u5b9f\u88c5\u3068\u6bd4\u8f03\u3059\u308b\u3068\u6c17\u6301\u3061\u7684\u306b\u6b21\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<table border=\"3\">\n<tr>\n<th><\/th>\n<th>\u30e9\u30a4\u30d6\u914d\u4fe1<\/th>\n<th>API<\/th>\n<\/tr>\n<tr>\n<td>\uff11\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406\u304c\u7d42\u308f\u308b\u307e\u3067<\/td>\n<td>\u6570\u5206\uff5e\u6570\u6642\u9593<\/td>\n<td>\u304a\u304a\u3080\u306d\uff11\u79d2\u672a\u6e80<\/td>\n<\/tr>\n<tr>\n<td>\u4e26\u5217\u30ea\u30af\u30a8\u30b9\u30c8\u6570<\/td>\n<td>\u914d\u4fe1\u3059\u308b\u4eba\u6570\u307e\u3067<\/td>\n<td>\u5927\u91cf<\/td>\n<\/tr>\n<tr>\n<td>\u30a8\u30e9\u30fc\u306e\u8a31\u5bb9<\/td>\n<td>\u3061\u3087\u3063\u3068\u3067\u3082\u6b62\u307e\u308b\u3068\u30c0\u30e1<\/td>\n<td>\u6bd4\u8f03\u7684\u3086\u308b\u3081<\/td>\n<\/tr>\n<\/table>\n<p><a href=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline.png\" alt=\"\" width=\"1896\" height=\"457\" class=\"alignnone size-full wp-image-17406\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline.png 1896w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline-276x67.png 276w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline-600x145.png 600w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline-768x185.png 768w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pipeline-830x200.png 830w\" sizes=\"auto, (max-width: 1896px) 100vw, 1896px\" \/><\/a><\/p>\n<p>\u30b2\u30fc\u30e0 API \u306e\u5834\u5408\u306f\u5229\u7528\u8005\u304c\u591a\u304f\u3001\u5229\u7528\u8005\u9593\u306e\u4f9d\u5b58\u304c\u4f4e\u3044\u306e\u3067\u3001\u4e00\u4eba\u306e\u4e0d\u5177\u5408\u304c\u5927\u52e2\u306b\u4f1d\u308f\u308b\u3053\u3068\u306f\u7a00\u3067\u3059\u304c\u3001\u30e9\u30a4\u30d6\u753b\u914d\u4fe1\u3067\u306f\u914d\u4fe1\u8005\u306e\u4e0d\u5177\u5408\u304c\u3059\u3050\u306b\u5927\u52e2\u306b\u4f1d\u308f\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u975e\u5e38\u306b\u795e\u7d4c\u8cea\u306b\u6271\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u3046\u3044\u3063\u305f\u795e\u7d4c\u8cea\u306a\u7528\u9014\u306f\u52d5\u753b\u914d\u4fe1\u3060\u3051\u3067\u306a\u304f\u3001 MMORPG \u7b49\u306e\u4e00\u3064\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u3084\u30be\u30fc\u30f3\u3067\u3082\u4e0d\u5177\u5408\u304c\u3042\u308b\u3068\u5927\u91cf\u306e\u30d7\u30ec\u30a4\u30e4\u30fc\u306b\u3059\u3050\u306b\u5f71\u97ff\u304c\u51fa\u3066\u3057\u307e\u3046\u306e\u3067\u6027\u8cea\u306f\u4f3c\u3066\u307e\u3059\u3002\u4e00\u65b9\u3067\u30b3\u30f3\u30c6\u30ca\u6280\u8853\u3092\u4e2d\u5fc3\u306b\u3057\u305f Kubernetes \u3067\u306f\u9577\u6642\u9593\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51e6\u7406\u3057\u305f\u308a\u30aa\u30f3\u30e1\u30e2\u30ea\u91cd\u8996\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u306a\u3069\u306e\u30b5\u30fc\u30d3\u30b9\u306f Immutable Infrastructure \u306e\u6587\u5316\u3068\u3042\u307e\u308a\u5408\u308f\u306a\u3044\u3068\u8003\u3048\u3089\u308c\u3066\u3044\u308b\u306e\u304b\u3001\u305d\u308c\u306b\u5411\u3044\u305f\u6a5f\u80fd\u306f\u5c11\u306a\u76ee\u3067\u3059\u3002\u7279\u306b Pods \u306f\u30db\u30b9\u30c8\u3068\u5206\u96e2\u3059\u308b\u305f\u3081\u306b\u306f\u5927\u5909\u3059\u3070\u3089\u3057\u3044\u6982\u5ff5\u3068\u6a5f\u80fd\u3067\u3059\u304c\u3001\u9577\u6642\u9593\u4e00\u3064\u306e Pods \u3092\u5360\u6709\u3057\u3001\u5185\u90e8\u306e\u72b6\u614b\u3060\u3051\u3067\u5b8c\u7d50\u3055\u305b\u308b\u3088\u3046\u306a\u7528\u9014\u306f\u3068\u3066\u3082\u96e3\u3057\u3044\u3068\u611f\u3058\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u9006\u8aac\u7684\u3067\u3059\u304c\u3001\u305d\u3082\u305d\u3082 ECS \u306e Task \u306f\u3082\u3046\u5c11\u3057 Amazon EC2 \u3092\u4e2d\u5fc3\u306b AWS \u5168\u4f53\u3068\u5bc6\u306b\u306a\u3063\u3066\u3044\u3066\u7d30\u304b\u304f\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u3080\u3057\u308d AWS Lambda \u3092\u4f7f\u3063\u3066 Mutable \u306a\u30a4\u30f3\u30d5\u30e9\u3092\u4f5c\u308a\u3084\u3059\u3044\u30a4\u30e1\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3082\u305d\u3082 Lambda \u304c\u512a\u79c0\u3067\u3059\u3057\u3001 Lambda \u306f ECS \u306b\u4f9d\u5b58\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u3046\u307e\u304f\u30ec\u30a4\u30e4\u30fc\u3092\u5206\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/ecs_lambda-429x400.png\" alt=\"\" width=\"429\" height=\"400\" class=\"alignnone size-medium wp-image-17407\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/ecs_lambda-429x400.png 429w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/ecs_lambda-214x200.png 214w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/ecs_lambda-768x716.png 768w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/ecs_lambda-830x774.png 830w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/ecs_lambda.png 1201w\" sizes=\"auto, (max-width: 429px) 100vw, 429px\" \/><\/p>\n<h2>Pods \u3068 Task<\/h2>\n<ul>\n<li>Pods \u306b\u306f ReplicaSet \u3068\u66f4\u306b\u305d\u308c\u3092\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3059\u308b Deployments \u304c\u3042\u308a\u307e\u3059\u3002\u3044\u305a\u308c\u3082 Immutable \u3067\u77ed\u6642\u9593\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30d0\u30ea\u30d0\u30ea\u51e6\u7406\u3059\u308b\u306b\u306f\u5411\u3044\u3066\u3044\u307e\u3059\u3002 ECS \u306b\u306f Service \u3068\u3057\u3066\u4e21\u65b9\u304c\u307e\u3068\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u3088\u308a\u7d30\u304b\u304f\u5236\u5fa1\u3059\u308b\u306a\u3089 Lambda \u3092\u4f7f\u3046\u3057\u3001\u5b9f\u88c5\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/li>\n<li>Pods \u306f Task \u3088\u308a\u62bd\u8c61\u5ea6\u304c\u9ad8\u304f sidecar \u3068\u306e\u901a\u4fe1\u306a\u3069\u3082\u96e3\u306a\u304f\u30af\u30ed\u30fc\u30ba\u306b\u3067\u304d\u307e\u3059\u304c\u3001 Task \u3067\u306f\u30db\u30b9\u30c8\u306e TCP \u8cc7\u6e90\u304c Task \u540c\u58eb\u3067\u7af6\u5408\u3057\u307e\u3059\u3002 Pods \u306f\u30b3\u30f3\u30c6\u30ca\u30db\u30b9\u30c8\u306b\u4f9d\u5b58\u305b\u305a\u306b kube-proxy \u7d4c\u7531\u3067\u904b\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u3061\u3087\u3063\u3068\u30db\u30b9\u30c8\u306b\u4f9d\u5b58\u3057\u305f\u3044\u3068\u304d\u306b\u306f Task \u306e\u307b\u3046\u304c\u62bd\u8c61\u5ea6\u304c\u4f4e\u304f\u3066\u6271\u3044\u3084\u3059\u3044\u3067\u3059\u3002<\/li>\n<li>GKE \u306e Service \u3067\u306f Pods \u306b\u30e9\u30f3\u30c0\u30e0\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u5272\u308a\u632f\u3089\u308c\u307e\u3059\u304c\u3001\u30c1\u30e3\u30c3\u30c8\u306e\u3088\u3046\u306b\u9577\u6642\u9593\u5c45\u5ea7\u308b\u30b1\u30fc\u30b9\u3068\u76f8\u6027\u304c\u60aa\u3044\u3067\u3059\u3002\u3042\u3068\u304b\u3089\u3044\u304f\u3089 Pods \u3092\u8ffd\u52a0\u3057\u3066\u3082\u8d77\u52d5\u6642\u9593\u306e\u9577\u3044 Pods \u304c\u30ea\u30bd\u30fc\u30b9\u4e0d\u8db3\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002 Task \u3067\u306f ELB \u306b Target Group \u3092\u5927\u91cf\u306b\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5074\u3067\u30b3\u30f3\u30c6\u30ca\u3078\u306e\u6d41\u91cf\u3092\u5236\u5fa1\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pods-600x235.png\" alt=\"\" width=\"600\" height=\"235\" class=\"alignnone size-medium wp-image-17405\" srcset=\"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pods-600x235.png 600w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pods-276x108.png 276w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pods-768x301.png 768w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pods-830x325.png 830w, https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/pods.png 1669w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h2>\u4e0d\u5177\u5408\u3001\u969c\u5bb3\u3001\u6a5f\u80fd\u4e0d\u8db3\u306a\u3069<\/h2>\n<ul>\n<li>Kubernetes \u3067\u6a5f\u80fd\u304c\u5408\u308f\u306a\u3044\u3068\u304d\u306b\u306f\u62e1\u5f35\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u3080\u3057\u308d OSS \u3092\u62e1\u5f35\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u305a\u3001\u305d\u3093\u306a\u306b\u3084\u308b\u6c17\u3042\u308b\u306a\u3089 ECS & Lambda \u304b IaaS \u3067\u826f\u3044\u6c17\u304c\u3057\u307e\u3059\u3002<\/li>\n<li>\u3044\u305a\u308c\u3082\u81f4\u547d\u7684\u306a\u30d0\u30b0\u3092\u8e0f\u3080\u53ef\u80fd\u6027\u306f\u3042\u308a\u307e\u3059\u304c\u3001 GKE \u306e\u307b\u3046\u306f Kubernetes \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306b\u4e0d\u5177\u5408\u304c\u3042\u308c\u3070\u30b5\u30fc\u30d3\u30b9\u304c\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u3057\u3001\u30af\u30e9\u30b9\u30bf\u30fc\u306e\u4fee\u6b63\u304c\u56f0\u96e3\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u305a\uff08<em>\u5b9f\u969b\u306b kube-proxy \u306e\u5168\u6ec5\u3084 kube-dns \u304c\u30b5\u30c1\u3063\u305f\u308a gce-ingress \u30d0\u30b0\u5bfe\u5fdc\u3067\u4fee\u6b63\u3059\u3089\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u3053\u3068\u3082<\/em>\uff09\u3002\u305f\u3076\u3093 ECS \u306f Amazon \u3055\u3093\u306b\u4f55\u3068\u304b\u3057\u3066\u3082\u3089\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/li>\n<li>\u4e00\u65b9\u3067 ECS \u306e\u307b\u3046\u306f\u3069\u3093\u306a\u306b\u9811\u5f35\u3063\u3066\u3082 CloudFormation \u4e00\u767a\u3067\u30b5\u30fc\u30d3\u30b9\u304c\u65b0\u898f\u306b\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u308b\u304b\u3068\u3044\u3046\u3068\u3059\u3054\u3044\u52b4\u529b\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3057\u3001  Kubernetes \u306e\u307b\u3046\u306f GKE Cluster \u3084 IAM \u4ee5\u5916\u306f yaml \u3092\u3068\u3063\u3066\u304a\u3051\u3070\u3088\u3044\u306e\u3067\u30b5\u30fc\u30d3\u30b9\u5168\u4f53\u306e\u4f5c\u308a\u76f4\u3057\u3082\u6bd4\u8f03\u7684\u73fe\u5b9f\u7684\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/li>\n<li>ECS \u306b\u306f RBAC \u76f8\u5f53\u306e\u4ed5\u7d44\u307f\u306f\u306a\u3044\u3051\u3069\u3001\u3080\u3057\u308d IAM \u76f4\u7d50\u306a\u306e\u3067 AWS \u306e\u4e00\u90e8\u3068\u3057\u3066\u6271\u3044\u3084\u3059\u304b\u3063\u305f\u3067\u3059\u3002 GKE \u3067\u306f RBAC \u3068 IAM \u306e\u4e8c\u3064\u306e\u30ec\u30a4\u30e4\u30fc\u304c\u3042\u3063\u3066\u7406\u89e3\u3057\u306b\u304f\u3044\u3093\u3067\u3059\u304c\u3001 G-Suite \u30a2\u30ab\u30a6\u30f3\u30c8\u3082 IAM \u306b\u4f7f\u3048\u308b\u306e\u3067\u30d2\u30c8\u3068\u306e\u9023\u643a\u306f\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/li>\n<li>ECS \u3067\u306f ec2-user \u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u76f4\u611f\u7684\u306b\u30db\u30b9\u30c8\u5074\u3092\u6271\u3044\u3084\u3059\u304f\u3001 GKE \u3067\u306f\u5927\u534a\u306e\u3053\u3068\u304c kubectl \u3067\u3067\u304d\u308b\u3057\u30db\u30b9\u30c8\u5074\u306f CoreOS toolbox \u306a\u306e\u3067\u6163\u308c\u308c\u3070\u8abf\u67fb\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u305d\u3082\u305d\u3082\u52d5\u753b\u914d\u4fe1\u3084\u30c1\u30e3\u30c3\u30c8\u3068\u3044\u3063\u305f\u5bff\u547d\u306e\u9577\u3044\u30ea\u30af\u30a8\u30b9\u30c8\u3068 Immutable \u3084 AutoScale \u306e\u8003\u3048\u306f\u76f8\u6027\u304c\u60aa\u3044\u306e\u3067\u3001\u3069\u3061\u3089\u3092\u9078\u629e\u3057\u3066\u3082\u5de5\u592b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u306a\u306e\u3067 OSS \u3067 Go \u3092\u66f8\u304d\u8db3\u3057\u3066\u3044\u304f\u304b\u3001\u90e8\u5206\u7684\u306b AWS Lambda \u3092\u66f8\u3044\u3066\u3044\u304f\u304b\u3001\u597d\u304d\u306a\u307b\u3046\u3092\u9078\u629e\u3057\u305f\u3089\u3088\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30b5\u30fc\u30d3\u30b9\u958b\u59cb\u304b\u3089\u30e9\u30a4\u30d6\u914d\u4fe1\u306e\u307f\u3001\u8ab0\u3067\u3082\u914d\u4fe1\u3067\u304d\u308b\u3068\u3044\u3046\u74b0\u5883\u3092\u30b3\u30f3\u30c6\u30ca\u95a2\u9023\u6280\u8853\u3067\u7d44\u3093\u3067\u308b\u30b1\u30fc\u30b9\u304c\u5c11\u306a\u3059\u304e\u308b\u5bc2\u3057\u3055\u3068\u3001\u9700\u8981\u306e\u4f4e\u3055\u304c\u3042\u308b\u306e\u3067\u305c\u3072\u307f\u3093\u306a\u3082\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff08 EKS on Fargate \u3042\u305f\u308a\u3067\uff09\u3002<\/p>\n<hr \/>\n<p>REALITY \u306f\u3082\u3061\u308d\u3093\u3001\u30a4\u30f3\u30d5\u30e9\u90e8\u3067\u3082\u7a4d\u6975\u63a1\u7528\u4e2d\u3067\u3059\uff01 VTuber \u3084\u30a4\u30f3\u30d5\u30e9\u3001\u52d5\u753b\u914d\u4fe1\u306b\u8208\u5473\u3042\u308b\u65b9\u306f\u305c\u3072\u5fdc\u52df\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<br \/>\n<a href=\"https:\/\/corp.gree.net\/jp\/ja\/recruit\/\">https:\/\/corp.gree.net\/jp\/ja\/recruit\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a4\u30f3\u30d5\u30e9\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u307b\u308a\u3050\u3061\u3067\u3059\u3002\u3053\u306e\u6587\u7ae0\u306f\u3001\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3084\u30b2\u30fc\u30e0\u306e API \u306e\u3088\u3046\u306b\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u53d7\u3051\u53d6\u3063\u3066\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u8fd4\u3059\u3060\u3051\u306e\u30b5\u30fc\u30d0\u3068\u306f\u5168\u304f\u9055\u3046\u7528\u9014\u306b\u304a\u3044\u3066\u3001\u30b3\u30f3\u30c6\u30ca\u3067\u89e3\u6c7a\u3057\u3088\u3046\u3068\u3057\u3066\u307f\u305f\u611f\u60f3\u3067\u3059\u3002\u9577\u304f\u306a\u308b\u306e\u3067\u7528\u8a9e\u3084 [&hellip;]<\/p>\n","protected":false},"author":101,"featured_media":17402,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[114,144,140,141,142,171,143],"class_list":["post-17400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-info","tag-aws","tag-container","tag-ecs","tag-gcp","tag-gke","tag-info","tag-kubernetes"],"jetpack_featured_media_url":"https:\/\/labs.gree.jp\/blog\/wp-content\/uploads\/2018\/11\/reality_arch.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/17400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/users\/101"}],"replies":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/comments?post=17400"}],"version-history":[{"count":3,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/17400\/revisions"}],"predecessor-version":[{"id":17426,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/posts\/17400\/revisions\/17426"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/media\/17402"}],"wp:attachment":[{"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/media?parent=17400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/categories?post=17400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labs.gree.jp\/blog\/wp-json\/wp\/v2\/tags?post=17400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}