{"id":3095,"date":"2025-05-21T17:02:20","date_gmt":"2025-05-21T09:02:20","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=3095"},"modified":"2025-05-27T10:00:20","modified_gmt":"2025-05-27T02:00:20","slug":"what-is-aws-global-accelerator-vs-cloudfront","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/zh_hk\/what-is-aws-global-accelerator-vs-cloudfront\/","title":{"rendered":"\u4ec0\u9ebc\u662fAWS\u5168\u7403\u52a0\u901f\u5668\u8207CloudFront\uff1f (What is AWS Global Accelerator vs CloudFront?)"},"content":{"rendered":"<p>\u5728\u73fe\u4ee3\u7db2\u8def\u61c9\u7528\u4e2d\uff0c\u4f7f\u7528\u8005\u9ad4\u9a57\u7684\u901f\u5ea6\u548c\u7a69\u5b9a\u6027\u81f3\u95dc\u91cd\u8981\u3002 AWS \u63d0\u4f9b\u4e86\u591a\u7a2e\u52a0\u901f\u548c\u5206\u767c\u670d\u52d9\uff0c\u5e6b\u52a9\u4f01\u696d\u63d0\u5347\u5168\u7403\u5b58\u53d6\u7684\u6548\u80fd\u548c\u53ef\u9760\u6027\u3002\u5176\u4e2d\uff0c<strong>AWS\u5168\u7403\u52a0\u901f\u5668\uff08Global Accelerator\uff09\u548cAmazon CloudFront<\/strong>\u662f\u5169\u6b3e\u5ee3\u6cdb\u4f7f\u7528\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u4f46\u5b83\u5011\u5404\u81ea\u7684\u529f\u80fd\u548c\u61c9\u7528\u5834\u666f\u6709\u660e\u986f\u5dee\u7570\u3002\u672c\u6587\u5c07\u5e36\u4f60\u4e86\u89e3\u9019\u5169\u8005\u7684\u6838\u5fc3\u6982\u5ff5\u3001\u904b\u4f5c\u539f\u7406\u548c\u4f7f\u7528\u5834\u666f\uff0c\u5e6b\u52a9\u4f60\u9078\u64c7\u9069\u5408\u81ea\u5df1\u696d\u52d9\u7684\u52a0\u901f\u670d\u52d9\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4>\u4ec0\u9ebc\u662fAWS\u5168\u7403\u52a0\u901f\u5668\uff08Global Accelerator\uff09\uff1f<\/h4>\n<p>AWS\u5168\u7403\u52a0\u901f\u5668\u662f\u4e00\u9805\u57fa\u65bcAWS\u5168\u7403\u7db2\u8def\u7684\u6d41\u91cf\u7ba1\u7406\u670d\u52d9\uff0c\u4e3b\u8981\u76ee\u7684\u662f<strong>\u63d0\u5347\u7db2\u8def\u4f7f\u7528\u8005\u5b58\u53d6\u61c9\u7528\u7a0b\u5f0f\u7684\u901f\u5ea6\u548c\u53ef\u7528\u6027<\/strong>\u3002\u5b83\u900f\u904e\u5c07\u7528\u6236\u6d41\u91cf\u5f15\u5c0e\u5230AWS\u5728\u5168\u7403\u7684\u6700\u8fd1\u908a\u7de3\u7bc0\u9ede\uff0c\u5229\u7528AWS\u5c08\u6709\u7684\u9aa8\u5e79\u7db2\u8def\u9032\u884c\u52a0\u901f\u50b3\u8f38\uff0c\u907f\u514d\u4e86\u516c\u5171\u4e92\u806f\u7db2\u4e2d\u5e38\u898b\u7684\u5ef6\u9072\u548c\u4e1f\u5305\u554f\u984c\u3002<\/p>\n<h5>\u6838\u5fc3\u7279\u9ede\uff1a<\/h5>\n<ul>\n<li><strong>\u975c\u614bAnycast IP\u4f4d\u5740<\/strong>\uff1a\u70ba\u61c9\u7528\u7a0b\u5f0f\u5206\u914d\u56fa\u5b9a\u7684\u5169\u500bAnycast IP\uff0c\u7528\u6236\u5728\u5b58\u53d6\u6642\u76f4\u63a5\u9023\u63a5\u9019\u4e9bIP\uff0c\u7c21\u5316DNS\u89e3\u6790\u548c\u5feb\u53d6\u554f\u984c\u3002<\/li>\n<li><strong>\u667a\u6167\u6d41\u91cf\u8def\u7531<\/strong>\uff1a\u81ea\u52d5\u5075\u6e2cAWS\u5404\u5340\u57df\u7684\u5065\u5eb7\u72c0\u6cc1\uff0c\u5c07\u6d41\u91cf\u5207\u63db\u5230\u6548\u80fd\u6700\u4f73\u6216\u53ef\u7528\u5340\u57df\u3002<\/li>\n<li><strong>\u652f\u63f4TCP\u548cUDP\u5354\u8b70<\/strong>\uff0c\u9069\u5408\u5373\u6642\u61c9\u7528\u5982\u904a\u6232\u3001\u91d1\u878d\u4ea4\u6613\u3001\u8a9e\u97f3\u8996\u8a0a\u7b49\u3002<\/li>\n<li><strong>\u5feb\u901f\u6545\u969c\u8f49\u79fb<\/strong>\uff0c\u53ef\u5be6\u73fe\u4e9e\u79d2\u7684\u6d41\u91cf\u5207\u63db\uff0c\u63d0\u9ad8\u61c9\u7528\u9ad8\u53ef\u7528\u6027\u3002<\/li>\n<\/ul>\n<h5>\u9069\u7528\u5834\u666f\uff1a<\/h5>\n<ul>\n<li>\u9700\u8981\u8d85\u4f4e\u5ef6\u9072\u7684\u5373\u6642\u4e92\u52d5\u61c9\u7528\u3002<\/li>\n<li>\u591a\u5340\u57df\u90e8\u7f72\uff0c\u9700\u8981\u81ea\u52d5\u6d41\u91cf\u5206\u914d\u548c\u6545\u969c\u5207\u63db\u3002<\/li>\n<li>\u4e0d\u65b9\u4fbf\u4fee\u6539DNS\u4e14\u9700\u8981\u56fa\u5b9aIP\u7684\u5834\u666f\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h5>\u4ec0\u9ebc\u662fAmazon CloudFront\uff1f<\/h5>\n<p>Amazon CloudFront\u662fAWS\u63d0\u4f9b\u7684\u5168\u7403\u5167\u5bb9\u50b3\u905e\u7db2\u8def\uff08CDN\uff09\u670d\u52d9\uff0c\u4e3b\u8981\u76ee\u7684\u662f<strong>\u5c07\u975c\u614b\u548c\u52d5\u614b\u5167\u5bb9\u5feb\u901f\u5206\u767c\u7d66\u5168\u7403\u7528\u6236<\/strong>\u3002\u5b83\u900f\u904e\u904d\u5e03\u5168\u7403\u7684\u908a\u7de3\u7bc0\u9ede\u5feb\u53d6\u4f7f\u7528\u8005\u8acb\u6c42\u7684\u5167\u5bb9\uff0c\u6e1b\u5c11\u6e90\u7ad9\u4f3a\u670d\u5668\u8ca0\u8f09\uff0c\u52a0\u5feb\u5167\u5bb9\u4ea4\u4ed8\u901f\u5ea6\u3002<\/p>\n<h5>\u6838\u5fc3\u7279\u9ede\uff1a<\/h5>\n<ul>\n<li><strong>\u5167\u5bb9\u5feb\u53d6<\/strong>\uff1a\u81ea\u52d5\u5feb\u53d6\u975c\u614b\u8cc7\u6e90\uff08\u5716\u7247\u3001\u5f71\u7247\u3001JS\u3001CSS\u7b49\uff09\uff0c\u6e1b\u5c11\u4f86\u6e90\u7ad9\u9020\u8a2a\u6b21\u6578\u3002<\/li>\n<li><strong>\u52d5\u614b\u5167\u5bb9\u52a0\u901f<\/strong>\uff1a\u652f\u63f4\u52d5\u614b\u8acb\u6c42\u52a0\u901f\uff0c\u7d50\u5408\u667a\u6167\u8def\u7531\u512a\u5316\u50b3\u8f38\u8def\u5f91\u3002<\/li>\n<li><strong>\u6574\u5408AWS\u670d\u52d9<\/strong>\uff1a\u8207S3\u3001EC2\u3001Lambda@Edge\u7121\u7e2b\u96c6\u6210\uff0c\u652f\u63f4\u908a\u7de3\u904b\u7b97\u3002<\/li>\n<li><strong>\u8c50\u5bcc\u5b89\u5168\u7279\u6027<\/strong>\uff1a\u652f\u63f4HTTPS\u3001WAF\u9632\u8b77\u3001\u5730\u7406\u4f4d\u7f6e\u9650\u5236\u7b49\u3002<\/li>\n<\/ul>\n<h5>\u9069\u7528\u5834\u666f\uff1a<\/h5>\n<ul>\n<li>\u7db2\u7ad9\u975c\u614b\u8cc7\u6e90\u548c\u591a\u5a92\u9ad4\u5167\u5bb9\u7684\u9ad8\u901f\u5206\u767c\u3002<\/li>\n<li>API\u52a0\u901f\u548c\u52d5\u614b\u5167\u5bb9\u52a0\u901f\u3002<\/li>\n<li>\u9700\u8981\u5206\u6563\u5f0f\u9632\u8b77\u548c\u5b58\u53d6\u63a7\u5236\u7684\u7db2\u8def\u61c9\u7528\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>AWS\u5168\u7403\u52a0\u901f\u5668\u8207CloudFront\u7684\u5dee\u5225<\/h4>\n<table style=\"width: 79.3649%;\">\n<thead>\n<tr>\n<th style=\"text-align: center; width: 15.1976%;\">\u6bd4\u8f03\u7dad\u5ea6<\/th>\n<th style=\"text-align: center; width: 49.696%;\">AWS\u5168\u7403\u52a0\u901f\u5668<\/th>\n<th style=\"text-align: center; width: 45.1018%;\">Amazon CloudFront<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center; width: 15.1976%;\">\u670d\u52d9\u985e\u578b<\/td>\n<td style=\"text-align: center; width: 49.696%;\">\u7db2\u8def\u5c64\u52a0\u901f\u8207\u6d41\u91cf\u7ba1\u7406<\/td>\n<td style=\"text-align: center; width: 45.1018%;\">\u5167\u5bb9\u50b3\u905e\u7db2\u8def\uff08CDN\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 15.1976%;\">\u4e3b\u8981\u529f\u80fd<\/td>\n<td style=\"text-align: center; width: 49.696%;\">\u900f\u904eAWS\u9aa8\u5e79\u7db2\u8def\u52a0\u901fTCP\/UDP\u6d41\u91cf<\/td>\n<td style=\"text-align: center; width: 45.1018%;\">\u5167\u5bb9\u5feb\u53d6\u548c\u52a0\u901f\uff0c\u652f\u63f4\u975c\u614b\u548c\u52d5\u614b\u5167\u5bb9<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 15.1976%;\">\u5354\u8b70\u652f\u6301<\/td>\n<td style=\"text-align: center; width: 49.696%;\">TCP\u3001UDP<\/td>\n<td style=\"text-align: center; width: 45.1018%;\">HTTP\u3001HTTPS<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 15.1976%;\">IP\u4f4d\u5740<\/td>\n<td style=\"text-align: center; width: 49.696%;\">\u63d0\u4f9b\u56fa\u5b9aAnycast IP\u4f4d\u5740<\/td>\n<td style=\"text-align: center; width: 45.1018%;\">\u4e0d\u56fa\u5b9a\uff0c\u7528\u6236\u900f\u904e\u7db2\u57df\u8a2a\u554f<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 15.1976%;\">\u9069\u7528\u5834\u666f<\/td>\n<td style=\"text-align: center; width: 49.696%;\">\u4f4e\u5ef6\u9072\u5373\u6642\u61c9\u7528\u3001\u8de8\u5340\u57df\u6545\u969c\u5207\u63db<\/td>\n<td style=\"text-align: center; width: 45.1018%;\">\u7db2\u7ad9\u5167\u5bb9\u5206\u767c\u3001\u5a92\u9ad4\u52a0\u901f\u3001API\u512a\u5316<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center; width: 15.1976%;\">\u6545\u969c\u6062\u5fa9\u901f\u5ea6<\/td>\n<td style=\"text-align: center; width: 49.696%;\">\u4e9e\u79d2\u7d1a\u6d41\u91cf\u5207\u63db<\/td>\n<td style=\"text-align: center; width: 45.1018%;\">\u4f9d\u8cf4DNS TTL\uff0c\u5207\u63db\u76f8\u5c0d\u6162<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h4>\u5982\u4f55\u9078\u64c7\uff1f<\/h4>\n<ul>\n<li><strong>\u5982\u679c\u4f60\u7684\u61c9\u7528\u7a0b\u5f0f\u5f37\u8abf<\/strong>\u5373\u6642\u6027\u3001\u8de8\u5340\u57df\u81ea\u52d5\u6545\u969c\u5207\u63db\u548c\u56fa\u5b9aIP\u8a2a\u554f\uff0c\u5efa\u8b70\u9078\u64c7<strong>AWS\u5168\u7403\u52a0\u901f\u5668<\/strong>\u3002<\/li>\n<li><strong>\u5982\u679c\u4f60\u4e3b\u8981\u9700\u6c42\u662f<\/strong>\u7db2\u7ad9\u6216\u61c9\u7528\u7a0b\u5f0f\u7684\u975c\u614b\u8cc7\u6e90\u5206\u767c\u3001\u964d\u4f4e\u6e90\u7ad9\u8ca0\u8f09\u3001\u63d0\u9ad8\u5168\u7403\u5b58\u53d6\u901f\u5ea6\uff0c\u9069\u5408\u7528<strong>CloudFront<\/strong>\u3002<\/li>\n<li>\u9019\u5169\u8005\u4e5f\u53ef\u4ee5\u7d50\u5408\u4f7f\u7528\uff1a\u5229\u7528\u5168\u7403\u52a0\u901f\u5668\u5be6\u73fe\u7db2\u8def\u5c64\u512a\u5316\uff0c\u914d\u5408CloudFront\u505a\u5167\u5bb9\u5feb\u53d6\u548c\u5206\u767c\uff0c\u6253\u9020\u6975\u81f4\u6548\u80fd\u9ad4\u9a57\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h4>\u603b\u7ed3<\/h4>\n<p>AWS\u5168\u7403\u52a0\u901f\u5668\u548cCloudFront\u90fd\u80fd\u5927\u5e45\u63d0\u5347\u4f7f\u7528\u8005\u5b58\u53d6\u9ad4\u9a57\uff0c\u4f46\u95dc\u6ce8\u9ede\u4e0d\u540c\u3002\u7406\u89e3\u5b83\u5011\u7684\u8a2d\u8a08\u7406\u5ff5\u548c\u9069\u7528\u5834\u666f\uff0c\u80fd\u5e6b\u52a9\u4f60\u70ba\u61c9\u7528\u67b6\u69cb\u9078\u7528\u6700\u9069\u5408\u7684\u52a0\u901f\u65b9\u6848\uff0c\u8b93\u4f60\u7684\u670d\u52d9\u66f4\u5feb\u3001\u66f4\u7a69\u5b9a\u3001\u66f4\u5b89\u5168\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5728\u73fe\u4ee3\u7db2\u8def\u61c9\u7528\u4e2d\uff0c\u4f7f\u7528\u8005\u9ad4\u9a57\u7684\u901f\u5ea6\u548c\u7a69\u5b9a\u6027\u81f3\u95dc\u91cd\u8981\u3002 AWS \u63d0\u4f9b\u4e86\u591a\u7a2e\u52a0\u901f\u548c\u5206\u767c\u670d\u52d9\uff0c\u5e6b\u52a9\u4f01\u696d\u63d0\u5347\u5168\u7403\u5b58\u53d6\u7684\u6548\u80fd\u548c\u53ef\u9760\u6027\u3002\u5176\u4e2d\uff0cAWS\u5168\u7403\u52a0\u901f\u5668\uff08Global Accelerator\uff09\u548cAmazon CloudFront\u662f\u5169\u6b3e\u5ee3\u6cdb\u4f7f\u7528\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u4f46\u5b83\u5011\u5404\u81ea\u7684\u529f\u80fd\u548c\u61c9\u7528\u5834\u666f\u6709\u660e\u986f\u5dee\u7570\u3002\u672c\u6587\u5c07\u5e36\u4f60\u4e86\u89e3\u9019\u5169\u8005\u7684\u6838\u5fc3\u6982\u5ff5\u3001\u904b\u4f5c\u539f\u7406\u548c\u4f7f\u7528\u5834\u666f\uff0c\u5e6b\u52a9\u4f60\u9078\u64c7\u9069\u5408\u81ea\u5df1\u696d\u52d9\u7684\u52a0\u901f\u670d\u52d9\u3002<\/p>","protected":false},"author":1,"featured_media":3096,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-3095","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-sharing"],"_links":{"self":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/3095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/comments?post=3095"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/3095\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media\/3096"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media?parent=3095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/categories?post=3095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/tags?post=3095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}