{"id":100673,"date":"2024-12-03T09:07:30","date_gmt":"2024-12-03T01:07:30","guid":{"rendered":"https:\/\/www.073980.com\/?p=100673"},"modified":"2024-12-03T09:07:31","modified_gmt":"2024-12-03T01:07:31","slug":"%e4%ba%9a%e9%a9%ac%e9%80%8a%e5%85%8d%e8%b4%b9%e4%ba%91%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.073980.com\/100673.htm","title":{"rendered":"\u4e9a\u9a6c\u900a\u514d\u8d39\u4e91\u670d\u52a1\u5668"},"content":{"rendered":"\n

\u4e9a\u9a6c\u900aAWS\u514d\u8d39\u4e91\u670d\u52a1\u5668\u662fAWS\u4e3a\u5438\u5f15\u65b0\u7528\u6237\u800c\u63a8\u51fa\u7684\u4e00\u9879\u4fc3\u9500\u6d3b\u52a8\u3002\u901a\u8fc7\u6ce8\u518cAWS\u8d26\u53f7\uff0c\u65b0\u7528\u6237\u53ef\u4ee5\u572812\u4e2a\u6708\u5185\u514d\u8d39\u4f7f\u7528AWS\u63d0\u4f9b\u7684\u90e8\u5206\u6838\u5fc3\u670d\u52a1\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8eAmazon EC2(\u5f39\u6027\u8ba1\u7b97\u4e91)\u3001Amazon S3(\u7b80\u5355\u5b58\u50a8\u670d\u52a1)\u3001Amazon RDS(\u5173\u7cfb\u6570\u636e\u5e93\u670d\u52a1)\u7b49\u3002\u8fd9\u4e9b\u670d\u52a1\u6db5\u76d6\u4e86\u8ba1\u7b97\u3001\u5b58\u50a8\u3001\u6570\u636e\u5e93\u7b49\u591a\u4e2a\u65b9\u9762\uff0c\u8db3\u4ee5\u6ee1\u8db3\u7528\u6237\u5728\u5f00\u53d1\u3001\u6d4b\u8bd5\u548c\u8fd0\u884c\u5e94\u7528\u7a0b\u5e8f\u65f6\u7684\u57fa\u672c\u9700\u6c42\u3002<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

\u5177\u4f53\u6765\u8bf4\uff0cAmazon EC2\u63d0\u4f9b\u4e86750\u5c0f\u65f6\u7684Linux\u6216Windows t2.micro\u5b9e\u4f8b\u4f7f\u7528\uff0cAmazon S3\u5219\u63d0\u4f9b\u4e865GB\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u800cAmazon RDS\u5219\u652f\u6301750\u5c0f\u65f6\u7684\u6570\u636e\u5e93\u5b9e\u4f8b\u4f7f\u7528\u3002\u6b64\u5916\uff0cAWS\u8fd8\u63d0\u4f9b\u4e86\u8bf8\u5982Amazon CloudFront(\u5185\u5bb9\u5206\u53d1\u7f51\u7edc)\u7b49\u5176\u4ed6\u670d\u52a1\u7684\u514d\u8d39\u989d\u5ea6\uff0c\u52a9\u529b\u7528\u6237\u6784\u5efa\u66f4\u52a0\u5b8c\u5584\u7684\u4e91\u8ba1\u7b97\u73af\u5883\u3002<\/p>\n\n\n\n

\u5982\u4f55\u5229\u7528AWS\u514d\u8d39\u4e91\u670d\u52a1\u5668?<\/h2>\n\n\n\n

\u5229\u7528AWS\u514d\u8d39\u4e91\u670d\u52a1\u5668\uff0c\u7528\u6237\u53ef\u4ee5\u8f7b\u677e\u5f00\u542f\u4e91\u8ba1\u7b97\u4e4b\u65c5\u3002\u9996\u5148\uff0c\u7528\u6237\u9700\u8981\u5728AWS\u5b98\u65b9\u7f51\u7ad9\u4e0a\u6ce8\u518c\u4e00\u4e2a\u8d26\u53f7\uff0c\u5e76\u6839\u636e\u9875\u9762\u6307\u5f15\u586b\u5199\u76f8\u5173\u4fe1\u606f\uff0c\u9009\u62e9\u514d\u8d39\u5957\u9910\u3002\u6ce8\u518c\u6210\u529f\u540e\uff0c\u7528\u6237\u5373\u53ef\u767b\u5f55AWS\u63a7\u5236\u53f0\uff0c\u5f00\u59cb\u914d\u7f6e\u548c\u4f7f\u7528\u5404\u79cd\u4e91\u670d\u52a1\u3002<\/p>\n\n\n\n

\u4ee5Amazon EC2\u4e3a\u4f8b\uff0c\u7528\u6237\u53ef\u4ee5\u5728\u63a7\u5236\u53f0\u4e2d\u641c\u7d22\u201cEC2\u201d\uff0c\u8fdb\u5165EC2\u7ba1\u7406\u9875\u9762\uff0c\u7136\u540e\u70b9\u51fb\u201c\u5b9e\u4f8b\u542f\u52a8\u201d\u6309\u94ae\u3002\u5728\u540e\u7eed\u6b65\u9aa4\u4e2d\uff0c\u7528\u6237\u9700\u8981\u9009\u62e9\u5b9e\u4f8b\u7c7b\u578b(\u5982t2.micro)\u3001\u9009\u62e9AMI\u955c\u50cf(\u5982Amazon Linux\u3001Ubuntu\u7b49)\u3001\u8bbe\u7f6e\u5b9e\u4f8b\u914d\u7f6e(\u5982\u5b58\u50a8\u7c7b\u578b\u3001\u7f51\u7edc\u914d\u7f6e\u7b49)\uff0c\u5e76\u6700\u7ec8\u542f\u52a8\u5b9e\u4f8b\u3002\u542f\u52a8\u540e\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7SSH\u534f\u8bae\u8fde\u63a5\u5230\u5b9e\u4f8b\uff0c\u5f00\u59cb\u5b89\u88c5\u548c\u914d\u7f6e\u6240\u9700\u7684\u8f6f\u4ef6\u548c\u670d\u52a1\u3002<\/p>\n\n\n\n

\u5982\u4f55\u5e94\u5bf9\u4e9a\u9a6c\u900a\u514d\u8d39\u4e91\u670d\u52a1\u5668\u7684\u9650\u5236?<\/h2>\n\n\n\n

\u867d\u7136AWS\u514d\u8d39\u4e91\u670d\u52a1\u5668\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u670d\u52a1\uff0c\u4f46\u6bcf\u79cd\u670d\u52a1\u90fd\u5b58\u5728\u4e00\u5b9a\u7684\u4f7f\u7528\u9650\u5236\u3002\u4f8b\u5982\uff0cAmazon EC2\u7684\u514d\u8d39\u989d\u5ea6\u4ec5\u9650\u4e8e750\u5c0f\u65f6\u7684\u4f7f\u7528\u65f6\u95f4\uff0cAmazon S3\u7684\u514d\u8d39\u5b58\u50a8\u7a7a\u95f4\u4e5f\u4ec5\u4e3a5GB\u3002\u56e0\u6b64\uff0c\u7528\u6237\u9700\u8981\u4e86\u89e3\u5e76\u9075\u5b88\u8fd9\u4e9b\u9650\u5236\uff0c\u4ee5\u907f\u514d\u4ea7\u751f\u989d\u5916\u8d39\u7528\u3002<\/p>\n\n\n\n

\u4e3a\u4e86\u5e94\u5bf9\u8fd9\u4e9b\u9650\u5236\uff0c\u7528\u6237\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd\uff1a\u9996\u5148\uff0c\u5408\u7406\u89c4\u5212\u8d44\u6e90\u4f7f\u7528\uff0c\u786e\u4fdd\u5728\u514d\u8d39\u989d\u5ea6\u5185\u5b8c\u6210\u5f00\u53d1\u548c\u6d4b\u8bd5\u5de5\u4f5c;\u5176\u6b21\uff0c\u5b9a\u671f\u76d1\u63a7\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\uff0c\u901a\u8fc7\u8bbe\u7f6e\u4f7f\u7528\u8b66\u544a\u548c\u901a\u77e5\uff0c\u53ca\u65f6\u8c03\u6574\u8d44\u6e90\u5206\u914d;\u6700\u540e\uff0c\u5bf9\u4e8e\u8d85\u51fa\u514d\u8d39\u989d\u5ea6\u7684\u9700\u6c42\uff0c\u7528\u6237\u53ef\u4ee5\u8003\u8651\u5347\u7ea7\u4ed8\u8d39\u8ba1\u5212\uff0c\u4ee5\u83b7\u5f97\u66f4\u591a\u7684\u8d44\u6e90\u548c\u529f\u80fd\u3002<\/p>\n\n\n\n

\u5982\u4f55\u6700\u5927\u5316AWS\u514d\u8d39\u4e91\u670d\u52a1\u5668\u7684\u4ef7\u503c?<\/h2>\n\n\n\n

\u8981\u6700\u5927\u5316AWS\u514d\u8d39\u4e91\u670d\u52a1\u5668\u7684\u4ef7\u503c\uff0c\u7528\u6237\u9700\u8981\u5145\u5206\u5229\u7528AWS\u63d0\u4f9b\u7684\u5404\u79cd\u670d\u52a1\u548c\u5de5\u5177\u3002\u9996\u5148\uff0c\u7528\u6237\u53ef\u4ee5\u501f\u52a9AWS\u7684\u57f9\u8bad\u548c\u6587\u6863\u8d44\u6e90\uff0c\u5b66\u4e60\u4e91\u8ba1\u7b97\u7684\u57fa\u7840\u77e5\u8bc6\u548c\u5148\u8fdb\u6280\u80fd\u3002\u8fd9\u4e9b\u8d44\u6e90\u5305\u62ec\u4ea4\u4e92\u5f0f\u6559\u7a0b\u3001\u89c6\u9891\u8bfe\u7a0b\u3001\u5b98\u65b9\u6587\u6863\u7b49\uff0c\u6709\u52a9\u4e8e\u7528\u6237\u5feb\u901f\u4e0a\u624b\u5e76\u6df1\u5165\u7406\u89e3AWS\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/p>\n\n\n\n

\u5176\u6b21\uff0c\u7528\u6237\u53ef\u4ee5\u5229\u7528AWS\u7684\u514d\u8d39\u65f6\u6bb5\u542f\u52a8\u4e00\u4e2a\u5c0f\u578b\u9879\u76ee\uff0c\u5b9e\u8df5\u6240\u5b66\u77e5\u8bc6\u5e76\u68c0\u9a8cAWS\u7684\u5b9e\u7528\u6027\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4ece\u7b80\u5355\u7684\u9759\u6001\u7f51\u7ad9\u6258\u7ba1\u5f00\u59cb\uff0c\u9010\u6e10\u63a2\u7d22\u52a8\u6001\u5e94\u7528\u7684\u5f00\u53d1\u548c\u90e8\u7f72\u3002\u901a\u8fc7\u5b9e\u9645\u64cd\u4f5c\uff0c\u7528\u6237\u53ef\u4ee5\u66f4\u52a0\u6df1\u5165\u5730\u4e86\u89e3AWS\u7684\u5404\u9879\u529f\u80fd\u548c\u670d\u52a1\uff0c\u5e76\u4e3a\u5176\u540e\u7eed\u7684\u9879\u76ee\u5f00\u53d1\u79ef\u7d2f\u5b9d\u8d35\u7684\u7ecf\u9a8c\u3002<\/p>\n\n\n\n

\u6b64\u5916\uff0c\u7528\u6237\u8fd8\u53ef\u4ee5\u5173\u6ce8AWS\u7684\u5408\u89c4\u670d\u52a1\u548c\u5b89\u5168\u63d0\u793a\uff0c\u786e\u4fdd\u9879\u76ee\u7684\u5b89\u5168\u6027\u548c\u6570\u636e\u4fdd\u62a4\u3002AWS\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u5b89\u5168\u5de5\u5177\u548c\u670d\u52a1\uff0c\u5982AWS Identity and Access Management(IAM)\u3001\u6570\u636e\u52a0\u5bc6\u3001\u8bbf\u95ee\u63a7\u5236\u7b49\uff0c\u6709\u52a9\u4e8e\u7528\u6237\u6784\u5efa\u66f4\u52a0\u5b89\u5168\u53ef\u9760\u7684\u4e91\u8ba1\u7b97\u73af\u5883\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4e9a\u9a6c\u900aAWS\u514d\u8d39\u4e91\u670d\u52a1\u5668\u662fAWS\u4e3a\u5438\u5f15\u65b0\u7528\u6237\u800c\u63a8\u51fa\u7684\u4e00\u9879\u4fc3\u9500\u6d3b\u52a8\u3002\u901a\u8fc7\u6ce8\u518cAWS\u8d26\u53f7\uff0c\u65b0\u7528\u6237\u53ef\u4ee5\u572812\u4e2a\u6708\u5185\u514d\u8d39\u4f7f\u7528AWS\u63d0\u4f9b\u7684\u90e8\u5206\u6838\u5fc3\u670d\u52a1\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u4e8eAmazon EC2(\u5f39\u6027\u8ba1\u7b97\u4e91)\u3001Amazon S3(\u7b80\u5355\u5b58\u50a8\u670d\u52a1)\u3001Amazon …<\/p>\n","protected":false},"author":422,"featured_media":100674,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9193,9191],"tags":[],"topic":[9212],"class_list":["post-100673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mingci","category-baike","topic-9212"],"_links":{"self":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts\/100673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/users\/422"}],"replies":[{"embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/comments?post=100673"}],"version-history":[{"count":1,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts\/100673\/revisions"}],"predecessor-version":[{"id":100675,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts\/100673\/revisions\/100675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/media\/100674"}],"wp:attachment":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/media?parent=100673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/categories?post=100673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/tags?post=100673"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/topic?post=100673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}