{"id":4340,"date":"2018-01-28T18:11:42","date_gmt":"2018-01-28T09:11:42","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=4340"},"modified":"2018-01-28T18:11:42","modified_gmt":"2018-01-28T09:11:42","slug":"post-4340","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2018\/01\/28\/post-4340.html","title":{"rendered":"GCP f1-micro \u306e UnixBench"},"content":{"rendered":"

\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002<\/p>\n

\u4eca\u56de\u306f\u3001f1-micro\uff08vCPU x 1\u3001\u30e1\u30e2\u30ea 0.6 GB\uff09\u306e\u57fa\u672c\u6027\u80fd\u3092 UnixBench \u3067\u8a08\u6e2c\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30be\u30fc\u30f3\u306f\u3001\u6771\u4eac\uff08asia-northeast1-a\uff09\u3067\u3059\u3002<\/p>\n

\u30e1\u30e2\u30ea\u304c0.6GB \u306a\u306e\u3067\u4e00\u5fdc\u30b9\u30ef\u30c3\u30d7\u3092\u4f5c\u3063\u3066\u304a\u304d\u307e\u3057\u305f\u3002<\/p>\n

\n

# dd if=\/dev\/zero of=\/swapfile bs=1M count=1024
# chmod 600 \/swapfile
# mkswap \/swapfile
# swapon \/swapfile
# echo \u2018\/swapfile                                 swap                    swap    defaults        0 0\u2019 >> \/etc\/fstab<\/p>\n<\/blockquote>\n

\"junkhack_gpl_jp_\u2014_142\u00d750\" <\/p>\n

\u3046\u30fc\u3093\u3001\u3053\u308c\u306f\u3061\u3087\u3063\u3068\u9045\u3059\u304e\u307e\u3059\u3002\u30e9\u30ba\u30d1\u30a4\u3084\u3001\u30aa\u30ec\u30f3\u30b8\u30d1\u30a4\u3088\u308a\u9045\u3044\u3002\u3053\u3093\u306a\u3093\u3060\u3063\u305f\u3089\u3001\u30e9\u30ba\u30d1\u30a4\u3084\u30aa\u30ec\u30f3\u30b8\u30d1\u30a4\u3092\u81ea\u5b85\u30b5\u30fc\u30d0\u306b\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u3053\u308c\u306f\u9078\u629e\u5916\u3002<\/p>\n

\u307e\u3041\u3001AWS \u306e ti.micro \u3067\u3082260\u53f0\u3057\u304b\u3067\u307e\u305b\u3093\u304b\u3089\u3001\u305d\u308c\u3068\u6bd4\u3079\u308b\u3068\u5065\u95d8\u3057\u3066\u3044\u308b\u3068\u8a00\u3063\u3066\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n

\n

\u53c2\u8003<\/p>\n

AWS\u306e\u5404\u30ea\u30fc\u30b8\u30e7\u30f3\u30fbAZ\u3054\u3068\u306bti.micro\u306eUnixBench\u3092\u53d6\u3063\u3066\u307f\u305f \u2013 Qiita
https:\/\/qiita.com\/kou_bacchus\/items\/4616dd0031b4809898f0<\/a><\/p>\n<\/blockquote>\n

\u6b21\u3001g1-small\uff08vCPU x 1\u3001\u30e1\u30e2\u30ea 1.7 GB\uff09\u3092\u8a08\u6e2c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n

\"1.7_junkhack_gpl_jp_\u2014_142\u00d750\" <\/p>\n<\/p>\n

\u3055\u3063\u304d\u306e\u3088\u308a\u901f\u3044\u3067\u3059\u304c\u3001\u3053\u308c\u3067\u3082\u30e9\u30ba\u30d1\u30a4\u76f8\u5f53\u3067\u3059\u3002\u3046\u30fc\u3093\u3067\u3059\u306d\u3002<\/p>\n

\u3068\u308a\u3042\u3048\u305a\u3001\u3053\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u52d5\u304b\u3057\u7d9a\u3051\u3066\u57fa\u790e\u7684\u306a\u5024\u6bb5\u3092\u898b\u3066\u307f\u307e\u3059\u3002\u3053\u3046\u306a\u308b\u3068\u3001\u3053\u306e\u524d\u8cb7\u3063\u305f\u30ce\u30fc\u30c8PC\u306e SSD \u306b\u540c\u3058OS\u3092\u5165\u308c\u3066\u30d9\u30f3\u30c1\u30de\u30fc\u30af\u3092\u8a08\u6e2c\u3057\u305f\u304f\u306a\u308a\u307e\u3059\u306d\u3002<\/p>\n

 <\/p>\n

\u3042\u3068\u3001\u7121\u6599\u67a0\u306e\u3053\u3068\u3082\u3060\u3044\u3076\u7406\u89e3\u304c\u6df1\u307e\u308a\u307e\u3057\u305f\u3002Always Free \u306e\u4f7f\u7528\u5236\u9650 \u3068\u3044\u3046\u3068\u3053\u308d\u306b\u8a73\u3057\u304f\u66f8\u3044\u3066\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n

\n

Always Free \u306e\u4f7f\u7528\u5236\u9650
https:\/\/cloud.google.com\/free\/docs\/always-free-usage-limits<\/a><\/p>\n<\/blockquote>\n

\u4eca\u56de\u5229\u7528\u3059\u308b\u306e\u306f\u3001\u4eee\u60f3\u30b5\u30fc\u30d0\u306eGoogle Compute Engine\u306e\u90e8\u5206\u3002<\/p>\n

\n

Google Compute Engine
\u30b9\u30b1\u30fc\u30e9\u30d6\u30eb\u3067\u9ad8\u6027\u80fd\u306a\u4eee\u60f3\u30de\u30b7\u30f3 <\/p>\n

1 f1-micro \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\uff081 \u304b\u6708\u3042\u305f\u308a\u3001\u30d0\u30fc\u30b8\u30cb\u30a2\u5dde\u5317\u90e8\u3092\u9664\u304f\u7c73\u56fd\u30ea\u30fc\u30b8\u30e7\u30f3\u306e\u307f\uff09
30 GB \u306e HDD\uff08\u671f\u9593\u5408\u8a08\uff09\u30015 GB \u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\uff08\u671f\u9593\u5408\u8a08\uff09
1 GB \u306e\u5317\u7c73\u304b\u3089\u5168\u30ea\u30fc\u30b8\u30e7\u30f3\u5b9b\u3066\u4e0b\u308a\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff081 \u304b\u6708\u3042\u305f\u308a\u3001\u4e2d\u56fd\u304a\u3088\u3073\u30aa\u30fc\u30b9\u30c8\u30e9\u30ea\u30a2\u3092\u9664\u304f\uff09<\/p>\n<\/blockquote>\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u3064\u307e\u308a\u3001\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u306fNG\u3067\u3001\u30a2\u30e1\u30ea\u30ab\u306b\u3042\u308b\u4eee\u60f3\u30b5\u30fc\u30d0\u3078\u306e\u63a5\u7d9a\u3068\u306a\u308b\u306e\u3067\u5fdc\u7b54\u901f\u5ea6\u304c\u5c11\u3057\u9045\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u306d\u3002<\/p>\n

DISK\u5bb9\u91cf\u306f\u3068\u308a\u3042\u3048\u305a\u5341\u5206\u3067\u3001\u3042\u3068\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c1GB \u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\uff11\u4e07\u4eba\u306e\u8aad\u8005\u3068\u306a\u308b\u3068\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306f\u4f59\u88d5\u30671GB \u3092\u8d85\u3048\u307e\u3059\u306e\u3067\u7121\u6599\u67a0\u304b\u3089\u306f\u307f\u51fa\u308b\u3053\u3068\u304c\u60f3\u5b9a\u3002\u3059\u3054\u304f\u5927\u96d1\u628a\u306a\u30dc\u30ea\u30e5\u30fc\u30e0\u611f\u3068\u3057\u3066\u306f\u3001\u30e6\u30cb\u30fc\u30af\u30e6\u30fc\u30b6\u6570\u304c\uff11\u4e07\u4eba\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u7dcfPV\u306f\u3001\u7d04\uff12\u500d\u304b\u3089\uff13\u500d\u3002\u5e73\u5747\u3057\u305f\u30da\u30fc\u30b8\u30b5\u30a4\u30ba\u306f\u3001\u753b\u50cf\u304c\u591a\u3044\u306e\u3067\u7d045MB \u304f\u3089\u3044\u3067\u30012\u4e07 x 5MB \u304c\u4e0b\u308a\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3067\u3059\u3002\u7d04100GB \u3067\u3001\u3053\u308c\u306bCDN\uff08Content Delivery Network\uff09\u306a\u3069\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u52b9\u679c\u304c\uff15\u5272\uff5e\uff18\u5272\u7a0b\u5ea6\u306e\u524a\u6e1b\u3068\u3057\u3066\u3001\u7d0450GB \u304b\u3089 20GB \u3067\u3059\u3002\u5e73\u5747\u30da\u30fc\u30b8\u5bb9\u91cf\u3092\u534a\u5206\u306b\u3057\u305f\u5834\u5408\u3067\u3082\u3001\uff11\u4e07\u30e6\u30cb\u30fc\u30af\u30e6\u30fc\u30b6\u3067\u7dcfPV\u304c\uff12\u4e07\u6708\u306b\u3042\u308c\u3070\u3001CDN\u5229\u7528\u3067 10GB \u304b\u3089 25GB \u304f\u3089\u3044\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n

 <\/p>\n

\u73fe\u5728\u306f\u3001\u7dcfPV\u304c4000\u7a0b\u5ea6\u3001\u30e6\u30cb\u30fc\u30af\u30e6\u30fc\u30b6\u306f2100\u4eba\u307b\u3069\u3067\u3059\u3002WordPress.com \u306e\u30b5\u30fc\u30d0\u304b\u3089\u306e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306f\u4e0a\u306e\u6761\u4ef6\u306b\u306f\u3081\u3066\u5358\u7d14\u306b\u8a08\u7b97\u3059\u308b\u3068\u3001\u6708\u306b\u7d0420GB \u307b\u3069\u6d41\u308c\u3066\u3044\u307e\u3059\u3002wordpress.com \u306f\u3001Photon \u3068\u3044\u3046CDN\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002\u8868\u793a\u3057\u305fHTML \u306e\u30bd\u30fc\u30b9\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n

\n

<link rel=’dns-prefetch’ href=’\/\/s2.wp.com’ \/>
<link rel=’dns-prefetch’ href=’\/\/s0.wp.com’ \/>
<link rel=’dns-prefetch’ href=’\/\/s1.wp.com’ \/><\/p>\n<\/blockquote>\n

Jetpack \u3068\u3044\u3046\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u3053\u308c\u3092\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002\u304c\u3001\u7121\u6599\u306eWordPress \u30d6\u30ed\u30b0\u3067\u306f\u3053\u308c\u3089\u3092ON,OFF \u3059\u308b\u90e8\u5206\u306f\u898b\u5f53\u305f\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n

\u72ec\u7acb\u3057\u305fWordPress \u306a\u3089\u3070\u3001Jetpack \u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a\u3067\u3001\u300c\u753b\u50cf\u3068\u5199\u771f\u3092\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7\u300d\u3068\u3044\u3046\u306e\u304c\u3042\u308b\u3088\u3046\u3067\u3053\u3053\u3067 ON,OFF \u3067\u304d\u308b\u3088\u3046\u3067\u3059\u304c\u3002<\/p>\n

 <\/p>\n

\u305d\u3046\u3044\u3046\u3053\u3068\u3067\u3001\u3050\u30fc\u3050\u308b\u306eAlways Free \u7121\u6599\u67a0\u3067\u306f\u3001\uff11\u4e07\u4eba\u306e\u8aad\u8005\u3092\u652f\u3048\u308b\u57fa\u76e4\u306b\u306f\u3061\u3087\u3063\u3068\u7121\u7406\u304c\u3042\u308a\u305d\u3046\u304b\u306a\u3068\u3044\u3046\u611f\u89e6\u304c\u3064\u304b\u3081\u307e\u3057\u305f\u3002<\/p>\n

 <\/p>\n

\u3057\u304b\u3057\u3001\u81ea\u5b85IoT \u306e\u30c7\u30fc\u30bf\u3092\u3061\u3087\u3073\u3061\u3087\u3073\u3068\u6e9c\u3081\u8fbc\u3080\u3088\u3046\u306a\u4f4e\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u3067\u3042\u308c\u3070\u6709\u52b9\u6d3b\u7528\u3067\u304d\u305d\u3046\u3060\u3068\u3044\u3046\u3053\u3068\u3082\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u4ed6\u306b\u3082\u5de5\u592b\u6b21\u7b2c\u3067\u3044\u308d\u3093\u306a\u7528\u9014\u306b\u4f7f\u3048\u307e\u3059\u306d\u3002\u306a\u306b\u305b\u3001OS \u306e\u4e2d\u3092\u307e\u308b\u3063\u304d\u308a\u597d\u304d\u306a\u3088\u3046\u306b\u3044\u3058\u308c\u308b\u308f\u3051\u3067\u3059\u304b\u3089\u3002\u3057\u304b\u3082\u3001\u30b0\u30ed\u30fc\u30d0\u30ebIP\u304c\uff11\u3064\u3064\u3044\u3066\u3044\u307e\u3059\u3057\u306d\u3002<\/p>\n

 <\/p>\n

\u3055\u3066\u3001\u4eca\u6708\u3082\u6708\u672b\u3067\u3059\u306e\u3067\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u3001\u30da\u30fc\u30b8\u30d3\u30e5\u30fc\u3068\u30b5\u30a4\u30c8\u8a2a\u554f\u8005\u306e\u30b0\u30e9\u30d5\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n

\"Stats_\u2039_junkhack_\u2014_WordPress_com\" <\/p>\n

\u3042\u307e\u308a\u4ee3\u308f\u308a\u6620\u3048\u3057\u307e\u305b\u3093\u304c\u3001\u3053\u308c\u304b\u3089\u3082\u4ed5\u4e8b\u304c\u5fd9\u3057\u304f\u3066\u3082\u4f55\u304b\u66f4\u65b0\u3059\u308b\u30e9\u30a4\u30d5\u30ef\u30fc\u30af\u306b\u3057\u3066\u3044\u304d\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001f1-micro\uff08vCPU x 1\u3001\u30e1\u30e2\u30ea 0.6 GB\uff09\u306e\u57fa\u672c\u6027\u80fd\u3092 UnixBench \u3067\u8a08\u6e2c\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30be\u30fc\u30f3\u306f\u3001\u6771\u4eac\uff08asia-northeast1-a\uff09\u3067\u3059\u3002 \u30e1\u30e2\u30ea\u304c0.6GB \u306a […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[36,77],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":1,"uagb_excerpt":"\u524d\u56de\u306e\u7d9a\u304d\u3067\u3059\u3002 \u4eca\u56de\u306f\u3001f1-micro\uff08vCPU x 1\u3001\u30e1\u30e2\u30ea 0.6 GB\uff09\u306e\u57fa\u672c\u6027\u80fd\u3092 UnixBe…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/4340"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=4340"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/4340\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=4340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=4340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=4340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}