{"id":239834,"date":"2022-04-11T09:00:40","date_gmt":"2022-04-11T01:00:40","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=239834"},"modified":"2022-04-06T17:48:09","modified_gmt":"2022-04-06T09:48:09","slug":"spend-less-and-enjoy-more-cloud","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/spend-less-and-enjoy-more-cloud.html","title":{"rendered":"\u82b1\u5c11\u7684\u94b1\uff0c\u4eab\u7528\u591a\u7684\u4e91"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5982\u679c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5927\u91cf\u4f7f\u7528\u4e0d\u53d8\u7684\u4fe1\u606f\uff0c\u90a3\u4e48\u7531\u9759\u6001\u7f51\u9875\u6784\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u662f\u901a\u8fc7\u5185\u5bb9\u5206\u53d1\u7f51\u7edc\u8986\u76d6\u5e7f\u6cdb\u53d7\u4f17\u7684\u6700\u4fbf\u5b9c\u7684\u65b9\u5f0f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u53d8\u6210\u9759\u6001<\/strong><\/div>\n

\u5982\u679c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5927\u91cf\u4f7f\u7528\u4e0d\u53d8\u7684\u4fe1\u606f\uff0c\u90a3\u4e48\u7531\u9759\u6001\u7f51\u9875\u6784\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u662f\u901a\u8fc7\u5185\u5bb9\u5206\u53d1\u7f51\u7edc\u8986\u76d6\u5e7f\u6cdb\u53d7\u4f17\u7684\u6700\u4fbf\u5b9c\u7684\u65b9\u5f0f\u3002\u5bf9\u4e8e\u9700\u8981\u5927\u91cf\u540e\u7aef\u8ba1\u7b97\u548c\u5b9a\u5236\u7684\u4efb\u52a1\u6765\u8bf4\uff0c\u5b83\u4eec\u4e0d\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u89e3\u51b3\u65b9\u6848\uff0c\u4f46\u4e5f\u8bb8\u8fd9\u79cd\u5904\u7406\u53ef\u4ee5\u62c6\u5206\u6210\u5355\u72ec\u7684\u670d\u52a1\u3002\u597d\u7684\u9759\u6001\u6846\u67b6\u5305\u62ecJekyll\u3001Gatsby\u3001Middleman\u548cHugo\u3002\u5f53\u7a0b\u5e8f\u5458\u53ef\u4ee5\u5c06\u6240\u6709\u5185\u5bb9\u8f6c\u79fb\u5230 CDN \u65f6\uff0c\u4ed6\u4eec\u901a\u5e38\u4f1a\u8c08\u8bba\u5c06\u6210\u672c\u964d\u4f4e 10 \u6216 20 \u500d\u3002<\/p>\n

\u7528\u65e0\u670d\u52a1\u5668<\/strong><\/div>\n

\u4e91\u901a\u5e38\u6700\u9002\u5408\u9700\u6c42\u6fc0\u589e\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5982\u679c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5728\u6570\u5c0f\u65f6\u751a\u81f3\u6570\u5929\u5185\u57fa\u672c\u5904\u4e8e\u7a7a\u95f2\u72b6\u6001\uff0c\u90a3\u4e48\u5c06\u5176\u91cd\u5199\u4e3a\u5728Cloudflare Workers\u6216AWS Lambda\u7b49\u65e0\u670d\u52a1\u5668\u6846\u67b6\u4e2d\u8fd0\u884c\u5c06\u610f\u5473\u7740\u4f60\u65e0\u9700\u4e3a\u6240\u6709\u505c\u673a\u65f6\u95f4\u4ed8\u8d39\u3002\u5f53\u8d1f\u8f7d\u4f4e\u65f6\uff0c\u4f60\u4e5f\u4e0d\u4f1a\u652f\u4ed8\u90a3\u4e48\u591a\u8d39\u7528\u3002<\/p>\n

\u4e3aArm\u91cd\u65b0\u7f16\u8bd1<\/strong><\/div>\n

AWS \u548c\u5176\u4ed6\u4e00\u4e9b\u4e91\u4f9b\u5e94\u5546\u6b63\u5728\u6dfb\u52a0\u56f4\u7ed5 Arm CPU\u6784\u5efa\u7684\u65b0\u670d\u52a1\u5668\u3002\u8fd9\u4e9bRISC\u82af\u7247\u53ef\u4ee5\u66f4\u5feb\u3001\u66f4\u4fbf\u5b9c\uff0c\u4f46\u5b83\u4eec\u901a\u5e38\u9700\u8981\u4f60\u91cd\u65b0\u7f16\u8bd1\u4efb\u4f55\u4e8c\u8fdb\u5236\u5e94\u7528\u7a0b\u5e8f\u3002\u8282\u7701\u7684\u6210\u672c\u53d6\u51b3\u4e8e\u5e94\u7528\u7a0b\u5e8f\u7684\u7c7b\u578b\u548c\u673a\u5668\u4e0a\u7684\u8d1f\u8f7d\u3002\u4f8b\u5982\uff0cAWS\u4f30\u7b97\u5176Graviton\u82af\u7247\u7684\u6548\u7387\u53ef\u80fd\u6bd4x86\u82af\u7247\u9ad825% -100% \uff0c\u751a\u81f3\u66f4\u9ad8\u3002\u7531\u4e8eAWS\u521a\u521a\u63a8\u51fa\u4e86\u65b0\u7684Graviton3 \u5904\u7406\u5668\uff0c\u56e0\u6b64\u5b83\u7684\u901f\u5ea6\u53ef\u80fd\u8fd8\u4f1a\u589e\u957f\uff0c\u8be5\u516c\u53f8\u4f30\u8ba1\u5b83\u7684\u901f\u5ea6\u53ef\u80fd\u6bd4 Graviton2 \u5feb\u4e09\u500d\uff0c\u81f3\u5c11\u5728\u4e00\u4e2a\u57fa\u4e8e bfloat16 \u503c\u7684\u673a\u5668\u5b66\u4e60\u5e94\u7528\u7a0b\u5e8f\u7684\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u662f\u8fd9\u6837\u7684\u3002<\/p>\n

\u9664\u975e\u4f60\u7684\u670d\u52a1\u5668\u6b63\u5728\u6ee1\u8d1f\u8377\u8fd0\u884c\uff0c\u5426\u5219\u8981\u83b7\u5f97\u8fd9\u4e2a\u6570\u503c\u53ef\u80fd\u5e76\u4e0d\u5bb9\u6613\uff0c\u8fd9\u8ba9\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u6709\u70b9\u7d27\u5f20\u3002\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\u662f\u5f00\u59cb\u4f7f\u7528 Arm \u82af\u7247\u8fdb\u884c\u5168\u503e\u659c\u8fd0\u884c\u7684\u540e\u53f0\u5904\u7406\u3002\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u8f6c\u5411\u63d0\u4f9b ARM \u5904\u7406\u5668\u7684\u4e8b\u4ef6\u9a71\u52a8\u8ba1\u7b97\u670d\u52a1\uff0c\u4f8b\u5982 AWS Lambda\uff0c\u4e00\u4e2a\u52c7\u6562\u7684\u7a0b\u5e8f\u5458\u53d1\u73b0\u8fd9\u79cd\u89e3\u51b3\u65b9\u6848\u53ef\u80fd\u4f1a\u4fbf\u5b9c 20%\uff0c\u4f46\u4ec5\u9002\u7528\u4e8e\u67d0\u4e9b\u8bed\u8a00\u548c\u5e94\u7528\u7a0b\u5e8f\u3002\u662f\u65f6\u5019\u5f00\u59cb\u8fdb\u884c\u57fa\u51c6\u6d4b\u8bd5\u4e86\u3002<\/p>\n

\u5fae\u5c0f\u7cbe\u608d<\/strong><\/div>\n

Arm \u9009\u9879\u7684\u6570\u91cf\u6b63\u5728\u8fc5\u901f\u589e\u957f\uff0c\u6709\u65f6\u751a\u81f3\u4ee5\u60ca\u4eba\u7684\u65b9\u5f0f\u589e\u957f\u3002\u6211\u4eec\u4e2d\u7684\u8bb8\u591a\u4eba\u5b66\u4f1a\u4e86\u4f7f\u7528\u5fae\u5c0f\u7684 Raspberry Pi \u6216 Jetson \u673a\u5668\u8fdb\u884c\u9ed1\u5ba2\u653b\u51fb\u3002\u8fd9\u4e9b\u673a\u5668\u51e0\u4e4e\u4e0d\u9700\u8981\u4efb\u4f55\u6210\u672c\u3002\u5b83\u4eec\u662f\u6784\u5efa\u5d4c\u5165\u5f0f\u673a\u5668\u3001\u7269\u8054\u7f51\u5e94\u7528\u7a0b\u5e8f\u6216\u53ea\u60f3\u8fdb\u884c\u8bd5\u9a8c\u7684\u7406\u60f3\u9009\u62e9\u3002\u73b0\u5728\u5b83\u4eec\u4e5f\u53ef\u4ee5\u6210\u4e3a\u4e91\u57fa\u7840\u67b6\u6784\u7684\u4e00\u90e8\u5206\u3002\u4f8b\u5982\uff0c Raspberry Hosting\u548cminiNodes\u5c06\u5728\u5177\u6709\u826f\u597d\u4e92\u8054\u7f51\u8fde\u63a5\u7684\u4e13\u4e1a\u6570\u636e\u4e2d\u5fc3\u4e3a\u4f60\u63d0\u4f9b\u4e00\u4e2a\u5fae\u5c0f\u7684 Raspberry Pi \u6216 Jetson Nano \u677f\uff0c\u56e0\u6b64\u4f60\u53ef\u4ee5\u4ee5\u4f4e\u5ec9\u7684\u4ef7\u683c\u8fd0\u884c\u57fa\u672c\u8f6f\u4ef6\u3002<\/p>\n

\u89c2\u5bdf\u9ed8\u8ba4\u914d\u7f6e<\/strong><\/div>\n

\u8bb8\u591a\u4e91\u5b9e\u4f8b\u91c7\u7528\u9ed8\u8ba4\u5927\u5c0f\uff0c\u4f7f\u914d\u7f6e\u5b83\u4eec\u66f4\u5bb9\u6613\u3002\u5728\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u7684\u4ee3\u7801\u4e0d\u9700\u8981\u6240\u6709\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u4f46\u6211\u4eec\u9700\u8981\u7ee7\u7eed\u4e3a\u6b64\u4ed8\u8d39\u3002\u51e0\u4e2a\u6708\u524d\uff0c\u6211\u7684\u4e91\u8d26\u5355\u51e0\u4e4e\u7ffb\u4e86\u4e00\u756a\uff0c\u56e0\u4e3a\u6211\u6ca1\u6709\u4f7f\u7528\u672c\u5730\u5b58\u50a8\u3002\u66f4\u7cdf\u7cd5\u7684\u662f\uff0c\u4e91\u8ba1\u7b97\u516c\u53f8\u7ecf\u5e38\u4f7f\u7f29\u5c0f\u8fd9\u4e2a\u672a\u4f7f\u7528\u7684\u7a7a\u95f4\u53d8\u5f97\u68d8\u624b\u3002\u5982\u679c\u4f60\u5728\u521b\u5efa\u8fc7\u7a0b\u4e2d\u4fdd\u6301\u8b66\u60d5\uff0c\u901a\u5e38\u53ef\u4ee5\u4ece\u8db3\u591f\u7684\u7a7a\u95f4\u5f00\u59cb\u8fd0\u884c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

\u8ba9\u6bcf\u4e2a\u4eba\u90fd\u770b\u6e05\u6210\u672c<\/strong><\/div>\n

\u6211\u4ecd\u7136\u8bb0\u5f97\uff0c\u5f53\u6211\u8981\u6c42\u81ea\u5df1\u6d4b\u8bd5\u96c6\u7fa4\u65f6\uff0c\u7ecf\u7406\u8138\u4e0a\u7684\u8868\u60c5\uff0c\u56e0\u4e3a\u6211\u7ecf\u5e38\u78b0\u5230\u53e6\u4e00\u4e2a\u7a0b\u5e8f\u5458\u3002\u4ed6\u5634\u4e0a\u8bf4\u4ed6\u4f1a\u8c03\u67e5\u5b83\uff0c\u4f46\u4ed6\u7684\u8138\u8272\u5374\u8868\u793a\u8fd9\u662f\u4e00\u4e2a\u4ee3\u4ef7\u9ad8\u6602\u4e14\u4e0d\u5408\u7406\u7684\u8981\u6c42\u3002\u4f46\u6211\u662f\u600e\u4e48\u77e5\u9053\u7684?\u6211\u56e2\u961f\u7684\u5f00\u53d1\u4eba\u5458\u4ece\u672a\u770b\u5230\u4efb\u4f55\u6210\u672c\uff0c\u56e0\u4e3a devops \u56e2\u961f\u5904\u7406\u4e86\u6240\u6709\u8fd9\u4e9b\u7ec6\u8282\u3002<\/p>\n

\u5206\u644a\u6210\u672c\u6709\u52a9\u4e8e\u5de5\u7a0b\u5e08\u4e86\u89e3\uff0c\u5f53\u67d0\u4e9b Kubernetes \u96c6\u7fa4\u6269\u5c55\u53ef\u4ee5\u627f\u62c5\u4e00\u4e9b\u8d1f\u8f7d\u65f6\uff0c\u6bcf\u5c0f\u65f6\u7684\u8d39\u7528\u4f1a\u8fc5\u901f\u589e\u52a0\u3002\u5bf9\u4e8e\u5f00\u53d1\u4eba\u5458\u6765\u8bf4\uff0c\u964d\u4f4e\u6210\u672c\u53ef\u80fd\u5e76\u4e0d\u5bb9\u6613\uff0c\u751a\u81f3\u4e0d\u53ef\u80fd\uff0c\u4f46\u5982\u679c\u4ed6\u4eec\u77e5\u9053\u4ef7\u683c\uff0c\u4ed6\u4eec\u5c31\u4e0d\u592a\u53ef\u80fd\u5438\u7eb3\u66f4\u591a\u7684\u4e91\u673a\u5668\u3002<\/p>\n

\u8058\u8bf7\u5b98\u65b9\u6210\u672c\u5de5\u7a0b\u5e08<\/strong><\/div>\n

\u6ca1\u6709\u4ec0\u4e48\u80fd\u6bd4\u628a\u8d23\u4efb\u653e\u5728\u67d0\u4eba\u7684\u5934\u8854\u4e0a\uff0c\u66f4\u80fd\u660e\u786e\u4e3b\u8981\u5173\u6ce8\u70b9\u662f\u4ec0\u4e48\u4e86\u3002\u4e00\u4e9b\u56e2\u961f\u5c06\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u6307\u5b9a\u4e3a\u201c\u6210\u672c\u5de5\u7a0b\u5e08\u201d\uff0c\u4ed6\u4eec\u7684\u5de5\u4f5c\u662f\u5bfb\u627e\u8282\u7701\u4e91\u8ba1\u7b97\u8d39\u7528\u7684\u65b9\u6cd5\u3002\u4e5f\u8bb8\u8fd9\u610f\u5473\u7740\u8c03\u6574\u4e00\u4e9b\u5fae\u670d\u52a1\u4ee5\u4f7f\u7528\u66f4\u5c11\u7684RAM\u3002\u4e5f\u8bb8\u8fd9\u610f\u5473\u7740\u5c06\u4e00\u4e9b\u5076\u5c14\u7684\u4efb\u52a1\u8f6c\u79fb\u5230\u65e0\u670d\u52a1\u5668\u914d\u7f6e\u4e2d\u3002\u53ef\u4ee5\u627e\u5230\u8bb8\u591a\u597d\u7684\u53d7\u96c7\u8005\u3002\u544a\u8bc9\u5f00\u53d1\u4eba\u5458\uff0c\u4ed6\u4eec\u7684\u5de5\u4f5c\u6307\u6807\u5c06\u4e0e\u4e91\u8d26\u5355\u76f8\u5173\u8054\uff0c\u8fd9\u662f\u5c06\u91cd\u70b9\u8f6c\u79fb\u5230\u7701\u94b1\u4e0a\u7684\u597d\u65b9\u6cd5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5982\u679c\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5927\u91cf\u4f7f\u7528\u4e0d\u53d8\u7684\u4fe1\u606f\uff0c\u90a3\u4e48\u7531\u9759\u6001\u7f51\u9875\u6784\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u53ef\u80fd\u662f\u901a\u8fc7\u5185\u5bb9\u5206\u53d1\u7f51\u7edc\u8986\u76d6\u5e7f\u6cdb\u53d7\u4f17\u7684\u6700\u4fbf\u5b9c\u7684\u65b9 […]<\/p>\n","protected":false},"author":1329,"featured_media":239837,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-239834","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/239834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=239834"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/239834\/revisions"}],"predecessor-version":[{"id":239992,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/239834\/revisions\/239992"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/239837"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=239834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=239834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=239834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}