{"id":4411,"date":"2026-04-03T10:06:25","date_gmt":"2026-04-03T02:06:25","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=4411"},"modified":"2026-04-03T10:06:25","modified_gmt":"2026-04-03T02:06:25","slug":"aws-cloudfront-cdn","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/zh_hk\/aws-cloudfront-cdn\/","title":{"rendered":"AWS CloudFront CDN \u5b8c\u5168\u6307\u5357\uff1a\u8a2d\u5b9a\u65b9\u6cd5\u3001\u5feb\u53d6\u7b56\u7565\u8207\u51fa\u6d77\u52a0\u901f\u5be6\u6230"},"content":{"rendered":"<figure id=\"attachment_4412\" aria-describedby=\"caption-attachment-4412\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-4412\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2026\/04\/admedia_20260403_Aflatil_1078_0-1024x559.png\" alt=\"aws-cloudfront\" width=\"560\" height=\"306\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2026\/04\/admedia_20260403_Aflatil_1078_0-1024x559.png 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2026\/04\/admedia_20260403_Aflatil_1078_0-300x164.png 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2026\/04\/admedia_20260403_Aflatil_1078_0-768x419.png 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2026\/04\/admedia_20260403_Aflatil_1078_0-18x10.png 18w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2026\/04\/admedia_20260403_Aflatil_1078_0.png 1408w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><figcaption id=\"caption-attachment-4412\" class=\"wp-caption-text\">aws-cloudfront<\/figcaption><\/figure>\n<p>\u4e00\u5bb6\u505a\u8de8\u5883\u96fb\u5546\u7684\u5ba2\u6236\u66fe\u544a\u8a34\u6211\u5011\uff0c\u4ed6\u5011\u7684\u7368\u7acb\u7ad9\u5728\u6771\u5357\u4e9e\u7684\u8f09\u5165\u6642\u9593\u8d85\u904e8 \u79d2\uff0c\u76f4\u63a5\u5c0e\u81f4\u884c\u52d5\u7aef\u8df3\u51fa\u7387\u9ad8\u905475%\u3002\u5728\u5f15\u5165AWS CloudFront \u4e4b\u5f8c\uff0c\u6771\u5357\u4e9e\u5730\u5340\u7684\u9996\u6b21\u5167\u5bb9\u6e32\u67d3\u6642\u9593\uff08FCP\uff09\u964d\u81f31.2 \u79d2\uff0c\u8f49\u63db\u7387\u63d0\u5347\u4e86\u8fd140%\u3002<\/p>\n<p>\u5c0d\u65bc\u9762\u5411\u6d77\u5916\u7528\u6236\u7684\u51fa\u6d77\u4f01\u696d\u800c\u8a00\uff0c\u7db2\u7ad9\u9020\u8a2a\u901f\u5ea6\u662f\u5f71\u97ff\u8f49\u63db\u7387\u6700\u76f4\u63a5\u7684\u6280\u8853\u56e0\u7d20\u4e4b\u4e00\u3002 AWS CloudFront \u4f5c\u70ba\u4e9e\u99ac\u905c\u96f2\u7aef\u79d1\u6280\u7684\u5168\u7403\u5167\u5bb9\u50b3\u905e\u7db2\u8def\uff08CDN\uff09\u670d\u52d9\uff0c\u662f\u89e3\u6c7a\u5168\u7403\u5b58\u53d6\u5ef6\u9072\u554f\u984c\u7684\u6838\u5fc3\u5de5\u5177\u3002\u672c\u6587\u5c07\u7cfb\u7d71\u4ecb\u7d39CloudFront \u7684\u6838\u5fc3\u6982\u5ff5\u3001\u914d\u7f6e\u65b9\u6cd5\u8207\u6700\u4f73\u5be6\u8e10\u3002<\/p>\n<h3 id=\"\u4ec0\u4e48\u662f-AWS-CloudFront\uff1f\">\u4ec0\u9ebc\u662fAWS CloudFront\uff1f<\/h3>\n<p>AWS CloudFront \u662f\u4e00\u9805\u5168\u7403\u5206\u6563\u5f0f\u7684\u5167\u5bb9\u50b3\u905e\u7db2\u8def\u670d\u52d9\uff0c\u900f\u904e\u5728\u5168\u7403400+ \u500b\u908a\u7de3\u7bc0\u9ede\uff08Edge Location\uff09\u5feb\u53d6\u975c\u614b\u5167\u5bb9\uff0c\u8b93\u4f7f\u7528\u8005\u5f9e\u8ddd\u96e2\u6700\u8fd1\u7684\u7bc0\u9ede\u53d6\u5f97\u6578\u64da\uff0c\u5927\u5e45\u964d\u4f4e\u5b58\u53d6\u5ef6\u9072\u3002<\/p>\n<p><strong>CloudFront \u7684\u6838\u5fc3\u904b\u4f5c\u539f\u7406<\/strong>\uff1a<\/p>\n<p>\u4f7f\u7528\u8005\u767c\u8d77\u8acb\u6c42\u2192 CloudFront \u6aa2\u67e5\u6700\u8fd1\u7684\u908a\u7de3\u7bc0\u9ede\u662f\u5426\u6709\u5feb\u53d6\u2192 \u6709\u5feb\u53d6\u5247\u76f4\u63a5\u56de\u50b3\uff08\u5feb\u53d6\u547d\u4e2d\uff09\u2192 \u7121\u5feb\u53d6\u5247\u56de\u6e90\uff08Origin\uff09\u53d6\u5f97\u4e26\u5feb\u53d6\u2192 \u50b3\u56de\u7d66\u7528\u6236<\/p>\n<p><strong>\u8207\u50b3\u7d71CDN \u76f8\u6bd4\uff0cCloudFront \u7684\u5dee\u7570\u5316\u512a\u52e2<\/strong>\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u7dad\u5ea6<\/th>\n<th>CloudFront<\/th>\n<th>\u50b3\u7d71CDN<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u8207AWS \u751f\u614b\u96c6\u6210<\/td>\n<td>\u539f\u751f\u6574\u5408S3\u3001EC2\u3001ALB\u3001API Gateway<\/td>\n<td>\u9700\u8981\u984d\u5916\u914d\u7f6e<\/td>\n<\/tr>\n<tr>\n<td>\u5b89\u5168\u80fd\u529b<\/td>\n<td>\u5167\u7f6eAWS WAF\u3001Shield DDoS \u9632\u8b77<\/td>\n<td>\u9700\u55ae\u7368\u8cfc\u8cb7<\/td>\n<\/tr>\n<tr>\n<td>\u5373\u6642\u65e5\u8a8c<\/td>\n<td>\u652f\u63f4\u5373\u6642\u65e5\u8a8c\u63a8\u9001\u5230S3\/Kinesis<\/td>\n<td>\u901a\u5e38\u5ef6\u9072\u8f03\u9ad8<\/td>\n<\/tr>\n<tr>\n<td>\u5168\u7403\u7bc0\u9ede\u6578\u91cf<\/td>\n<td>400+ \u908a\u7de3\u7bc0\u9ede<\/td>\n<td>\u5404\u5ee0\u5546\u5dee\u7570\u8f03\u5927<\/td>\n<\/tr>\n<tr>\n<td>\u8a08\u8cbb\u6a21\u5f0f<\/td>\n<td>\u6309\u6d41\u91cf+\u8acb\u6c42\u6b21\u6578\uff0c\u7121\u6700\u4f4e\u6d88\u8cbb<\/td>\n<td>\u901a\u5e38\u6309\u6708\u7c3d\u7d04<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"CloudFront-\u6838\u5fc3\u6982\u5ff5\u89e3\u6790\">CloudFront \u6838\u5fc3\u6982\u5ff5\u89e3\u6790<\/h3>\n<p>\u5728\u914d\u7f6eCloudFront \u4e4b\u524d\uff0c\u9700\u8981\u5148\u7406\u89e3\u5e7e\u500b\u95dc\u9375\u6982\u5ff5\uff1a<\/p>\n<p><strong>Distribution\uff08\u5206\u767c\uff09<\/strong>\uff1aCloudFront \u7684\u57fa\u672c\u914d\u7f6e\u55ae\u5143\uff0c\u985e\u4f3c\u65bc\u300d\u4e00\u500b\u52a0\u901f\u898f\u5247\u300d\u3002\u6bcf\u500bDistribution \u7d81\u5b9a\u4e00\u500b\u6216\u591a\u500b\u4f86\u6e90\u7ad9\uff0c\u4e26\u64c1\u6709\u7368\u7acb\u7684CloudFront \u7db2\u57df\uff08\u5982d1234abcd.cloudfront.net\uff09\u3002<\/p>\n<p><strong>Origin\uff08\u6e90\u7ad9\uff09<\/strong>\uff1a\u771f\u5be6\u5167\u5bb9\u7684\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u662fAWS S3 \u5132\u5b58\u6876\u3001EC2 \u57f7\u884c\u500b\u9ad4\u3001ALB \u8ca0\u8f09\u5e73\u8861\u5668\uff0c\u6216\u4efb\u610fHTTP \u4f3a\u670d\u5668\uff08\u81ea\u8a02Origin\uff09\u3002<\/p>\n<p><strong>Behavior\uff08\u884c\u70ba\u898f\u5247\uff09<\/strong>\uff1a\u5b9a\u7fa9\u7279\u5b9a\u8def\u5f91\uff08\u5982\/images\/* \u6216\/api\/*\uff09\u7684\u5feb\u53d6\u548c\u8f49\u9001\u898f\u5247\uff0c\u53ef\u4ee5\u5c0d\u4e0d\u540c\u8def\u5f91\u5957\u7528\u4e0d\u540c\u7b56\u7565\u3002<\/p>\n<p><strong>Edge Location\uff08\u908a\u7de3\u7bc0\u9ede\uff09<\/strong>\uff1aCloudFront \u7684\u5168\u7403\u5feb\u53d6\u7bc0\u9ede\uff0c\u8ca0\u8cac\u56de\u61c9\u4f7f\u7528\u8005\u8acb\u6c42\uff0c\u5168\u7403400+ \u500b\uff0c\u4e2d\u570b\u5927\u9678\u5730\u5340\u53ef\u900f\u904e\u55ae\u7368\u7533\u8acb\u7684CloudFront \u4e2d\u570b\u7248\u63a5\u5165\u3002<\/p>\n<p><strong>TTL\uff08\u7de9\u5b58\u5b58\u6d3b\u6642\u9593\uff09<\/strong>\uff1a\u5167\u5bb9\u5728\u908a\u7de3\u7bc0\u9ede\u7684\u5feb\u53d6\u6709\u6548\u671f\uff0c\u5230\u671f\u5f8c\u7bc0\u9ede\u6703\u56de\u6e90\u5237\u65b0\u3002<\/p>\n<h3 id=\"\u521b\u5efa-CloudFront-Distribution-\u7684\u5b8c\u6574\u6b65\u9aa4\">\u5efa\u7acbCloudFront Distribution \u7684\u5b8c\u6574\u6b65\u9a5f<\/h3>\n<h4 id=\"\u7b2c\u4e00\u6b65\uff1a\u8fdb\u5165-CloudFront-\u63a7\u5236\u53f0\">\u7b2c\u4e00\u6b65\uff1a\u9032\u5165CloudFront \u63a7\u5236\u53f0<\/h4>\n<p>\u767b\u5165AWS \u7ba1\u7406\u63a7\u5236\u53f0\uff0c\u5728\u670d\u52d9\u641c\u5c0b\u5217\u4e2d\u8f38\u5165CloudFront\uff0c\u9032\u5165CloudFront \u9996\u9801\uff0c\u9ede\u9078<strong>\u300cCreate distribution\u300d<\/strong>\u6309\u9215\u3002<\/p>\n<h4 id=\"\u7b2c\u4e8c\u6b65\uff1a\u914d\u7f6e\u6e90\u7ad9\uff08Origin\uff09\">\u7b2c\u4e8c\u6b65\uff1a\u914d\u7f6e\u4f86\u6e90\u7ad9\uff08Origin\uff09<\/h4>\n<p>\u5728Origin \u8a2d\u5b9a\u4e2d\uff0c\u9078\u64c7\u4f60\u7684\u5167\u5bb9\u4f86\u6e90\uff1a<\/p>\n<p><strong>\u5834\u666fA\uff1a\u6e90\u7ad9\u70baS3 \u5132\u5b58\u6876\uff08\u975c\u614b\u7db2\u7ad9\u8a17\u7ba1\uff09<\/strong><\/p>\n<p>\u5728Origin domain \u4e0b\u62c9\u6846\u4e2d\u9078\u64c7\u5c0d\u61c9\u7684S3 \u5132\u5b58\u6876\u3002\u5982\u679c\u5132\u5b58\u6876\u8a2d\u5b9a\u4e86\u516c\u6709\u5b58\u53d6\u9650\u5236\uff08\u5efa\u8b70\uff09\uff0c\u9700\u555f\u7528\u00a0<strong>Origin Access Control (OAC)<\/strong>\uff0c\u4e26\u5728S3 \u5132\u5b58\u6876\u7b56\u7565\u4e2d\u6388\u6b0aCloudFront \u8b80\u53d6\u6b0a\u9650\u3002<\/p>\n<p><strong>\u5834\u666fB\uff1a\u6e90\u7ad9\u70baEC2\/ALB\uff08\u52d5\u614b\u7db2\u7ad9\uff09<\/strong><\/p>\n<p>\u5728Origin domain \u4e2d\u586b\u5165EC2 \u516c\u7db2IP \u6216ALB \u7684\u57df\u540d\uff0c\u5354\u5b9a\u9078\u64c7HTTPS\uff08\u78ba\u4fdd\u4f86\u6e90\u7ad9\u914d\u7f6e\u4e86SSL \u6191\u8b49\uff09\u3002<\/p>\n<h4 id=\"\u7b2c\u4e09\u6b65\uff1a\u914d\u7f6e-Behavior\uff08\u7f13\u5b58\u884c\u4e3a\uff09\">\u7b2c\u4e09\u6b65\uff1a\u914d\u7f6eBehavior\uff08\u5feb\u53d6\u884c\u70ba\uff09<\/h4>\n<p>\u9019\u662fCloudFront \u914d\u7f6e\u4e2d\u6700\u95dc\u9375\u7684\u90e8\u5206\uff0c\u6c7a\u5b9a\u4e86\u4e0d\u540c\u8def\u5f91\u7684\u5feb\u53d6\u7b56\u7565\uff1a<\/p>\n<p><strong>\u975c\u614b\u8cc7\u6e90\uff08\/images\/<em>, \/css\/<\/em>, \/js\/*\uff09\u63a8\u85a6\u914d\u7f6e<\/strong>\uff1a<\/p>\n<p>\u5c07\u00a0<strong>Cache Policy<\/strong>\u00a0\u8a2d\u5b9a\u70ba\u00a0<strong>CachingOptimized<\/strong>\uff08AWS \u8a17\u7ba1\u7b56\u7565\uff09\uff0cTTL \u9810\u8a2d\u70ba86400 \u79d2\uff0824 \u5c0f\u6642\uff09\u3002\u5c0d\u65bc\u7248\u672c\u5316\u8cc7\u6e90\uff08\u5982main.abc123.js\uff09\uff0c\u53ef\u4ee5\u8a2d\u5b9a\u66f4\u9577\u7684TTL\uff08\u6700\u592731536000 \u79d2\uff0c\u53731 \u5e74\uff09\u3002<\/p>\n<p><strong>\u52d5\u614b\u5167\u5bb9\uff08\/api\/*\uff09\u63a8\u85a6\u914d\u7f6e<\/strong>\uff1a<\/p>\n<p>\u5c07\u00a0<strong>Cache Policy<\/strong>\u00a0\u8a2d\u5b9a\u70ba\u00a0<strong>CachingDisabled<\/strong>\uff0c\u7981\u6b62\u7de9\u5b58API \u56de\u61c9\u3002\u540c\u6642\u5c07\u00a0<strong>Origin Request Policy<\/strong>\u00a0\u8a2d\u5b9a\u70ba\u00a0<strong>AllViewer<\/strong>\uff0c\u78ba\u4fdd\u6240\u6709\u8acb\u6c42\u982d\u3001Cookie\u3001Query String \u90fd\u50b3\u905e\u7d66\u4f86\u6e90\u7ad9\u3002<\/p>\n<p><strong>HTML \u9801\u9762\uff08\u9810\u8a2d\u8def\u5f91\/*\uff09\u5efa\u8b70\u914d\u7f6e<\/strong>\uff1a<\/p>\n<p>\u8a2d\u5b9a\u8f03\u77ed\u7684TTL\uff08\u5982300 \u79d2= 5 \u5206\u9418\uff09\uff0c\u65b9\u4fbf\u5167\u5bb9\u66f4\u65b0\u5f8c\u5feb\u901f\u751f\u6548\u3002<\/p>\n<h4 id=\"\u7b2c\u56db\u6b65\uff1a\u914d\u7f6e-HTTPS-\u548c\u81ea\u5b9a\u4e49\u57df\u540d\">\u7b2c\u56db\u6b65\uff1a\u914d\u7f6eHTTPS \u548c\u81ea\u8a02\u57df\u540d<\/h4>\n<p>\u5728\u00a0<strong>Settings<\/strong>\u00a0\u90e8\u5206\uff1a<\/p>\n<p>\u5c07\u00a0<strong>Viewer Protocol Policy<\/strong>\u00a0\u8a2d\u5b9a\u70ba\u00a0<strong>Redirect HTTP to HTTPS<\/strong>\uff0c\u5f37\u5236\u6240\u6709\u6d41\u91cf\u8d70HTTPS\u3002<\/p>\n<p>\u5728\u00a0<strong>Alternate domain name (CNAME)<\/strong>\u00a0\u4e2d\u586b\u5beb\u4f60\u7684\u81ea\u8a02\u7db2\u57df\u540d\u7a31\uff08\u5982\u00a0<a href=\"http:\/\/www.yourdomain.com).\/\" target=\"_blank\" rel=\"nofollow noopener\">www.yourdomain.com\uff09\u3002<\/a><\/p>\n<p>\u5728\u00a0<strong>Custom SSL certificate<\/strong>\u00a0\u4e2d\u9078\u64c7\u5728\u00a0<strong>AWS Certificate Manager (ACM)<\/strong>\u00a0\u4e2d\u7533\u8acb\u7684\u8b49\u66f8\uff08\u6ce8\u610f\uff1aCloudFront \u53ea\u8b80\u53d6us-east-1 \u5340\u57df\u7684\u8b49\u66f8\uff09\u3002<\/p>\n<p><strong>\u7533\u8acbACM \u8b49\u66f8<\/strong>\uff1a\u524d\u5f80us-east-1\uff08\u7dad\u5409\u5c3c\u4e9e\u5317\u90e8\uff09\u5340\u57df\u7684Certificate Manager\uff0c\u7533\u8acb\u7db2\u57df\u8b49\u66f8\uff0c\u900f\u904eDNS \u9a57\u8b49\uff08\u5728\u7db2\u57dfDNS \u4e2d\u65b0\u589eCNAME \u8a18\u9304\uff09\u3002<\/p>\n<h4 id=\"\u7b2c\u4e94\u6b65\uff1a\u5b8c\u6210\u521b\u5efa\u5e76\u914d\u7f6e-DNS\">\u7b2c\u4e94\u6b65\uff1a\u5b8c\u6210\u5efa\u7acb\u4e26\u914d\u7f6eDNS<\/h4>\n<p>\u9ede\u9078\u00a0<strong>\u300cCreate distribution\u300d<\/strong>\u00a0\u5f8c\uff0cCloudFront \u9700\u89815-15 \u5206\u9418\u5b8c\u6210\u5168\u7403\u90e8\u7f72\uff08Status \u986f\u793aEnabled\uff09\u3002<\/p>\n<p>\u90e8\u7f72\u5b8c\u6210\u5f8c\uff0c\u5728\u4f60\u7684\u7db2\u57dfDNS \u8a2d\u5b9a\u4e2d\uff0c\u5c07\u4e3b\u7db2\u57df\u7684CNAME \u8a18\u9304\u6307\u5411CloudFront \u6240\u6307\u6d3e\u7684\u7db2\u57df\uff08\u5982d1234abcd.cloudfront.net\uff09\u3002<\/p>\n<h3 id=\"\u7f13\u5b58\u7b56\u7565\u8be6\u89e3\u4e0e\u4f18\u5316\u6280\u5de7\">\u5feb\u53d6\u7b56\u7565\u8a73\u89e3\u8207\u512a\u5316\u6280\u5de7<\/h3>\n<h4 id=\"\u7f13\u5b58\u547d\u4e2d\u7387\uff08Cache-Hit-Ratio\uff09\u4f18\u5316\">\u5feb\u53d6\u547d\u4e2d\u7387\uff08Cache Hit Ratio\uff09\u512a\u5316<\/h4>\n<p>\u5feb\u53d6\u547d\u4e2d\u7387\u662f\u8861\u91cfCloudFront \u6548\u7387\u7684\u6838\u5fc3\u6307\u6a19\uff0c\u547d\u4e2d\u7387\u8d8a\u9ad8\uff0c\u4f7f\u7528\u8005\u56de\u61c9\u901f\u5ea6\u8d8a\u5feb\uff0c\u6e90\u7ad9\u58d3\u529b\u8d8a\u5c0f\u3002<\/p>\n<p>\u5728CloudFront \u7684\u00a0<strong>Monitoring<\/strong>\u00a0\u9762\u677f\u53ef\u4ee5\u67e5\u770b\u5feb\u53d6\u547d\u4e2d\u7387\u3002\u76ee\u6a19\uff1a\u975c\u614b\u8cc7\u6e90\u547d\u4e2d\u7387\u2265 90%\uff0c\u6574\u9ad4\u547d\u4e2d\u7387\u2265 70%\u3002<\/p>\n<p><strong>\u63d0\u5347\u547d\u4e2d\u7387\u7684\u95dc\u9375\u65b9\u6cd5<\/strong>\uff1a<\/p>\n<p>\u5c07Cookie\u3001Header \u8f49\u9001\u8a2d\u5b9a\u5230\u6700\u5c0f\u5316\uff0d\u53ea\u8f49\u9001\u4f86\u6e90\u7ad9\u5fc5\u9808\u4f9d\u8cf4\u7684\u5b57\u6bb5\uff0c\u591a\u9918\u7684Header\/Cookie \u6703\u7522\u751f\u4e0d\u540c\u7684\u5feb\u53d6Key\uff0c\u5c0e\u81f4\u5feb\u53d6\u788e\u7247\u5316\u3002<\/p>\n<p>\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u7684\u4f86\u6e90\u7ad9\u4e0d\u4f9d\u8cf4User-Agent\uff0c\u5c31\u4e0d\u8981\u628aUser-Agent \u52a0\u5165\u5feb\u53d6Key\u3002<\/p>\n<h4 id=\"\u4e3b\u52a8\u6e05\u9664\u7f13\u5b58\uff08Invalidation\uff09\">\u4e3b\u52d5\u6e05\u9664\u5feb\u53d6\uff08Invalidation\uff09<\/h4>\n<p>\u7576\u4f60\u66f4\u65b0\u4e86\u4f86\u6e90\u7ad9\u5167\u5bb9\uff08\u5982\u767c\u5e03\u65b0\u7248\u672c\u7db2\u9801\uff09\uff0cCloudFront \u7684\u908a\u7de3\u7bc0\u9ede\u4e0d\u6703\u7acb\u5373\u611f\u77e5\u3002\u9700\u8981\u624b\u52d5\u5275\u5efa<strong>\u5931\u6548\u8acb\u6c42\uff08Invalidation\uff09<\/strong>\u4f86\u5f37\u5236\u6e05\u9664\u6307\u5b9a\u8def\u5f91\u7684\u5feb\u53d6\uff1a<\/p>\n<p>\u5728CloudFront \u63a7\u5236\u53f0\u9032\u5165\u5c0d\u61c9\u7684Distribution\uff0c\u9ede\u9078\u00a0<strong>Invalidations<\/strong>\u00a0\u6a19\u7c64\uff0c\u7136\u5f8c\u9ede\u64ca\u00a0<strong>\u300cCreate invalidation\u300d<\/strong>\uff0c\u5728Object paths \u4e2d\u586b\u5beb\u9700\u8981\u6e05\u9664\u7684\u8def\u5f91\uff08\u5982\/index.html \u6e05\u9664\u9996\u9801\uff0c\u6216\/* \u6e05\u9664\u6240\u6709\u5167\u5bb9\uff09\u3002<\/p>\n<p><strong>\u6ce8\u610f<\/strong>\uff1a\u6bcf\u6708\u524d1000 \u6b21\u5931\u6548\u8def\u5f91\u514d\u8cbb\uff0c\u8d85\u51fa\u90e8\u5206\u4f9d\u8def\u5f91\u6536\u8cbb\uff08\u7d04$0.005\/\u689d\uff09\u3002\u983b\u7e41\u6e05\u9664\u6703\u589e\u52a0\u8cbb\u7528\uff0c\u5efa\u8b70\u4f7f\u7528\u7248\u672c\u5316\u6a94\u540d\uff08\u5982main.v2.js\uff09\u907f\u514d\u983b\u7e41\u5931\u6548\u3002<\/p>\n<h4 id=\"\u5730\u7406\u9650\u5236\uff08Geo-Restriction\uff09\">\u5730\u7406\u9650\u5236\uff08Geo Restriction\uff09<\/h4>\n<p>CloudFront \u652f\u63f4\u6309\u570b\u5bb6\/\u5730\u5340\u9650\u5236\u8a2a\u554f\uff0c\u9069\u5408\u6709\u5730\u5340\u5408\u898f\u8981\u6c42\u7684\u696d\u52d9\uff1a<\/p>\n<p>\u5728Distribution \u8a2d\u5b9a\u7684\u00a0<strong>Security<\/strong>\u00a0\u90e8\u5206\uff0c\u627e\u5230\u00a0<strong>Geographic restrictions<\/strong>\uff0c\u53ef\u4ee5\u8a2d\u5b9a\u767d\u540d\u55ae\uff08\u50c5\u5141\u8a31\u6307\u5b9a\u570b\u5bb6\uff09\u6216\u9ed1\u540d\u55ae\uff08\u5c01\u9396\u6307\u5b9a\u570b\u5bb6\uff09\u3002<\/p>\n<h3 id=\"CloudFront-\u4e0e\u5176\u4ed6-AWS-\u670d\u52a1\u7684\u5178\u578b\u96c6\u6210\u573a\u666f\">CloudFront \u8207\u5176\u4ed6AWS \u670d\u52d9\u7684\u5178\u578b\u6574\u5408\u5834\u666f<\/h3>\n<h4 id=\"\u573a\u666f\u4e00\uff1aCloudFront-+-S3-\u9759\u6001\u7f51\u7ad9\u52a0\u901f\">\u5834\u666f\u4e00\uff1aCloudFront + S3 \u975c\u614b\u7db2\u7ad9\u52a0\u901f<\/h4>\n<p>\u9019\u662f\u6700\u7d93\u5178\u7684\u7528\u6cd5\uff0c\u9069\u5408\u51fa\u6d77\u7368\u7acb\u7ad9\u3001\u884c\u92b7\u843d\u5730\u9801\u3001\u6587\u4ef6\u7db2\u7ad9\uff1a<\/p>\n<p>\u5c07\u524d\u7aef\u975c\u614b\u6a94\u6848\uff08HTML\/CSS\/JS\/\u5716\u7247\uff09\u4e0a\u50b3\u81f3S3 \u5132\u5b58\u6876\uff0c\u900f\u904eCloudFront \u5206\u767c\uff0c\u5be6\u73fe\u5168\u7403\u52a0\u901f\u3002\u7528\u6236\u904d\u4f48\u5317\u7f8e\u3001\u6b50\u6d32\u3001\u6771\u5357\u4e9e\u6642\uff0c\u76f8\u8f03\u65bc\u76f4\u63a5\u5b58\u53d6S3\uff0cCloudFront \u53ef\u5c07\u5ef6\u9072\u964d\u4f4e60%-80%\u3002<\/p>\n<p><strong>\u6210\u672c\u5c0d\u6bd4<\/strong>\uff1aS3 \u76f4\u63a5\u5c0d\u5916\u6d41\u91cf\u8cbb\u7528\u7d04\u00a0<span id=\"MathJax-Element-7-Frame\" class=\"MathJax\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot;&gt;&lt;mn&gt;0.09&lt;\/mn&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;\/&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mi&gt;G&lt;\/mi&gt;&lt;mi&gt;B&lt;\/mi&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#xFF0C;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mi&gt;C&lt;\/mi&gt;&lt;mi&gt;l&lt;\/mi&gt;&lt;mi&gt;o&lt;\/mi&gt;&lt;mi&gt;u&lt;\/mi&gt;&lt;mi&gt;d&lt;\/mi&gt;&lt;mi&gt;F&lt;\/mi&gt;&lt;mi&gt;r&lt;\/mi&gt;&lt;mi&gt;o&lt;\/mi&gt;&lt;mi&gt;n&lt;\/mi&gt;&lt;mi&gt;t&lt;\/mi&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x6D41;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x91CF;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x8D39;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x7528;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x7EA6;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-242\" class=\"math\"><span id=\"MathJax-Span-243\" class=\"mrow\"><span id=\"MathJax-Span-244\" class=\"mn\">0.09<\/span><span id=\"MathJax-Span-245\" class=\"texatom\"><span id=\"MathJax-Span-246\" class=\"mrow\"><span id=\"MathJax-Span-247\" class=\"mo\">\/<\/span><\/span><\/span><span id=\"MathJax-Span-248\" class=\"mi\">\ud835\udc3a<\/span><span id=\"MathJax-Span-249\" class=\"mi\">\ud835\udc35<\/span><span id=\"MathJax-Span-250\" class=\"texatom\"><span id=\"MathJax-Span-251\" class=\"mrow\"><span id=\"MathJax-Span-252\" class=\"mo\">\uff0c<\/span><\/span><\/span><span id=\"MathJax-Span-253\" class=\"mi\">\ud835\udc36<\/span><span id=\"MathJax-Span-254\" class=\"mi\">\ud835\udc59<\/span><span id=\"MathJax-Span-255\" class=\"mi\">\ud835\udc5c<\/span><span id=\"MathJax-Span-256\" class=\"mi\">\ud835\udc62<\/span><span id=\"MathJax-Span-257\" class=\"mi\">\ud835\udc51<\/span><span id=\"MathJax-Span-258\" class=\"mi\">\ud835\udc39<\/span><span id=\"MathJax-Span-259\" class=\"mi\">\ud835\udc5f<\/span><span id=\"MathJax-Span-260\" class=\"mi\">\ud835\udc5c<\/span><span id=\"MathJax-Span-261\" class=\"mi\">\ud835\udc5b<\/span><span id=\"MathJax-Span-262\" class=\"mi\">\ud835\udc61<\/span><span id=\"MathJax-Span-263\" class=\"texatom\"><span id=\"MathJax-Span-264\" class=\"mrow\"><span id=\"MathJax-Span-265\" class=\"mo\">\u6d41<\/span><\/span><\/span><span id=\"MathJax-Span-266\" class=\"texatom\"><span id=\"MathJax-Span-267\" class=\"mrow\"><span id=\"MathJax-Span-268\" class=\"mo\">\u91cf<\/span><\/span><\/span><span id=\"MathJax-Span-269\" class=\"texatom\"><span id=\"MathJax-Span-270\" class=\"mrow\"><span id=\"MathJax-Span-271\" class=\"mo\">\u8cbb<\/span><\/span><\/span><span id=\"MathJax-Span-272\" class=\"texatom\"><span id=\"MathJax-Span-273\" class=\"mrow\"><span id=\"MathJax-Span-274\" class=\"mo\">\u7528<\/span><\/span><\/span><span id=\"MathJax-Span-275\" class=\"texatom\"><span id=\"MathJax-Span-276\" class=\"mrow\"><span id=\"MathJax-Span-277\" class=\"mo\">\u7d04<\/span><\/span><\/span><\/span><\/span><\/span>0.0085-$0.085\/GB\uff08\u4ee5\u5340\u57df\u4e0d\u540c\uff09\uff0c\u4e14S3 \u5230CloudFront \u7684\u8cc7\u6599\u50b3\u8f38\u514d\u8cbb\uff0c\u7d9c\u5408\u6210\u672c\u66f4\u4f4e\u3002<\/p>\n<h4 id=\"\u573a\u666f\u4e8c\uff1aCloudFront-+-ALB-\u52a8\u6001\u7f51\u7ad9\u52a0\u901f\">\u5834\u666f\u4e8c\uff1aCloudFront + ALB \u52d5\u614b\u7db2\u7ad9\u52a0\u901f<\/h4>\n<p>\u5c0d\u65bc\u6709\u52d5\u614b\u5167\u5bb9\u7684\u7db2\u7ad9\uff08\u5982WordPress\u3001API \u670d\u52d9\uff09\uff0cCloudFront \u53ef\u4ee5\uff1a<\/p>\n<p>\u5c07\u975c\u614b\u8cc7\u6e90\uff08\/wp-content\/* \u7b49\u8def\u5f91\uff09\u7de9\u5b58\u5728\u908a\u7de3\u7bc0\u9ede\uff0c\u5c07\u52d5\u614b\u8acb\u6c42\uff08\/wp-admin\/<em>, \/api\/<\/em>\uff09\u76f4\u63a5\u900f\u50b3\u7d66ALB\uff0c\u540c\u6642\u63d0\u4f9bDDoS \u9632\u8b77\u548cHTTPS \u7d42\u6b62\u3002<\/p>\n<h4 id=\"\u573a\u666f\u4e09\uff1aCloudFront-+-Lambda@Edge-\u52a8\u6001\u5904\u7406\">\u5834\u666f\u4e09\uff1aCloudFront + Lambda@Edge \u52d5\u614b\u8655\u7406<\/h4>\n<p>Lambda@Edge \u5141\u8a31\u5728CloudFront \u908a\u7de3\u7bc0\u9ede\u904b\u884c\u7a0b\u5f0f\u78bc\uff0c\u5be6\u4f5c\uff1a<\/p>\n<p>A\/B \u6e2c\u8a66\uff08\u6839\u64daCookie \u50b3\u56de\u4e0d\u540c\u7248\u672c\uff09\u3001\u4f7f\u7528\u8005\u9a57\u8b49\uff08\u5728\u908a\u7de3\u9a57\u8b49JWT Token\uff09\u3001URL \u91cd\u5beb\u548c\u91cd\u5b9a\u5411\uff0c\u4ee5\u53ca\u6839\u64daUser-Agent \u9032\u884c\u88dd\u7f6e\u9069\u914d\u3002<\/p>\n<h3 id=\"CloudFront-\u8d39\u7528\u8bf4\u660e\">CloudFront \u8cbb\u7528\u8aaa\u660e<\/h3>\n<p>CloudFront \u7684\u8cbb\u7528\u7531\u5169\u500b\u90e8\u5206\u7d44\u6210\uff1a<\/p>\n<p><strong>\u8cc7\u6599\u50b3\u8f38\u8cbb\u7528<\/strong>\uff1a\u6309\u5340\u57df\u4e0d\u540c\uff0c\u7d04\u00a0<span id=\"MathJax-Element-8-Frame\" class=\"MathJax\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot;&gt;&lt;mn&gt;0.0085&lt;\/mn&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#xFF08;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x7F8E;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x56FD;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#xFF09;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;mrow class=&quot;MJX-TeXAtom-ORD&quot;&gt;&lt;mo&gt;&amp;#x5230;&lt;\/mo&gt;&lt;\/mrow&gt;&lt;\/math&gt;\"><span id=\"MathJax-Span-278\" class=\"math\"><span id=\"MathJax-Span-279\" class=\"mrow\"><span id=\"MathJax-Span-280\" class=\"mn\">0.0085<\/span><span id=\"MathJax-Span-281\" class=\"texatom\"><span id=\"MathJax-Span-282\" class=\"mrow\"><span id=\"MathJax-Span-283\" class=\"mo\">\uff08<\/span><\/span><\/span><span id=\"MathJax-Span-284\" class=\"texatom\"><span id=\"MathJax-Span-285\" class=\"mrow\"><span id=\"MathJax-Span-286\" class=\"mo\">\u7f8e<\/span><\/span><\/span><span id=\"MathJax-Span-287\" class=\"texatom\"><span id=\"MathJax-Span-288\" class=\"mrow\"><span id=\"MathJax-Span-289\" class=\"mo\">\u570b<\/span><\/span><\/span><span id=\"MathJax-Span-290\" class=\"texatom\"><span id=\"MathJax-Span-291\" class=\"mrow\"><span id=\"MathJax-Span-292\" class=\"mo\">\uff09<\/span><\/span><\/span><span id=\"MathJax-Span-293\" class=\"texatom\"><span id=\"MathJax-Span-294\" class=\"mrow\"><span id=\"MathJax-Span-295\" class=\"mo\">\u5230<\/span><\/span><\/span><\/span><\/span><\/span>0.17\uff08\u5370\u5ea6\uff09\/GB \u4e0d\u7b49\u3002<\/p>\n<p><strong>HTTP \u8acb\u6c42\u8cbb\u7528<\/strong>\uff1a\u6bcf10,000 \u6b21HTTPS \u8acb\u6c42\u7d04$0.0100\u3002<\/p>\n<p><strong>\u514d\u8cbb\u5957\u9910<\/strong>\uff1a\u6bcf\u6708\u524d1TB \u8cc7\u6599\u50b3\u8f38\u548c10,000,000 \u6b21HTTP \u8acb\u6c42\u514d\u8cbb\uff0812 \u500b\u6708\u6709\u6548\u671f\uff09\u3002<\/p>\n<p><strong>\u6210\u672c\u512a\u5316\u5efa\u8b70<\/strong>\uff1a<\/p>\n<p>\u900f\u904e\u63d0\u5347\u5feb\u53d6\u547d\u4e2d\u7387\u6e1b\u5c11\u8ff4\u6e90\u6d41\u91cf\uff1b\u5408\u7406\u8a2d\u5b9aTTL \u6e1b\u5c11\u4e0d\u5fc5\u8981\u7684\u56de\u6e90\u8acb\u6c42\uff1b\u4f7f\u7528S3 Intelligent-Tiering \u964d\u4f4e\u6e90\u7ad9\u5132\u5b58\u6210\u672c\u3002<\/p>\n<h3 id=\"\u5e38\u89c1\u95ee\u9898\u6392\u67e5\">\u5e38\u898b\u554f\u984c\u6392\u9664<\/h3>\n<p><strong>\u554f\u984c1\uff1aCloudFront \u5167\u5bb9\u672a\u66f4\u65b0\uff0c\u4f7f\u7528\u8005\u4ecd\u770b\u5230\u820a\u7248\u672c<\/strong><\/p>\n<p>\u539f\u56e0\uff1a\u908a\u7de3\u7bc0\u9ede\u5feb\u53d6\u672a\u904e\u671f\u3002\u89e3\u6c7a\u65b9\u6848\uff1a\u5efa\u7acbInvalidation \u6e05\u9664\u5c0d\u61c9\u8def\u5f91\u7de9\u5b58\uff0c\u6216\u66f4\u65b0\u6a94\u6848\u540d\u7a31\u7248\u672c\u865f\u3002<\/p>\n<p><strong>\u554f\u984c2\uff1aHTTPS \u8b49\u66f8\u5831\u932f<\/strong><\/p>\n<p>\u539f\u56e0\uff1aACM \u8b49\u66f8\u672a\u5728us-east-1 \u5340\u57df\u7533\u8acb\u3002\u89e3\u6c7a\u65b9\u6848\uff1a\u524d\u5f80\u7dad\u5409\u5c3c\u4e9e\u5dde\u5317\u90e8\u5340\u57df\u91cd\u65b0\u7533\u8acb\u8b49\u66f8\u3002<\/p>\n<p><strong>\u554f\u984c3\uff1a\u4f86\u6e90\u7ad9S3 \u8fd4\u56de403 \u7981\u6b62\u8a2a\u554f<\/strong><\/p>\n<p>\u539f\u56e0\uff1aS3 \u5132\u5b58\u6876\u653f\u7b56\u672a\u6388\u6b0aCloudFront OAC\u3002\u89e3\u6c7a\u65b9\u6848\uff1a\u5728S3 \u5132\u5b58\u6876\u7b56\u7565\u4e2d\u65b0\u589e\u5c0d\u61c9\u7684CloudFront \u670d\u52d9\u4e3b\u9ad4\u6388\u6b0a\u8a9e\u53e5\u3002<\/p>\n<p><strong>\u554f\u984c4\uff1aAPI \u4ecb\u9762\u7de9\u5b58\u4e86\u4e0d\u8a72\u7de9\u5b58\u7684\u56de\u61c9<\/strong><\/p>\n<p>\u539f\u56e0\uff1aAPI \u8def\u5f91\u7684Behavior \u672a\u6b63\u78ba\u8a2d\u5b9a\u70ba\u7981\u6b62\u5feb\u53d6\u3002\u89e3\u6c7a\u65b9\u6848\uff1a\u70ba\/api\/* \u8def\u5f91\u55ae\u7368\u5efa\u7acbBehavior\uff0cCache Policy \u8a2d\u5b9a\u70baCachingDisabled\u3002<\/p>\n<h3 id=\"\u603b\u7ed3\">\u603b\u7ed3<\/h3>\n<p>AWS CloudFront \u4e0d\u50c5\u662fCDN\uff0c\u66f4\u662f\u51fa\u6d77\u4f01\u696d\u5efa\u69cb\u5168\u7403\u5b58\u53d6\u9ad4\u9a57\u7684\u6838\u5fc3\u57fa\u790e\u67b6\u69cb\u3002\u975c\u614b\u8cc7\u6e90\u52a0\u901f\u3001\u52d5\u614b\u5167\u5bb9\u52a0\u901f\u3001\u5b89\u5168\u9632\u8b77\u3001\u6210\u672c\u512a\u5316\uff0dCloudFront \u5728\u9019\u4e9b\u65b9\u9762\u90fd\u80fd\u8207AWS \u751f\u614b\u7121\u7e2b\u914d\u5408\uff0c\u5f62\u6210\u5b8c\u6574\u7684\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<p>\u5c0d\u65bc\u51fa\u6d77\u4f01\u696d\u800c\u8a00\uff0c\u5f9e\u201d\u80fd\u8a2a\u554f\u201d\u5230\u201d\u5feb\u901f\u8a2a\u554f\u201d\u662f\u7528\u6236\u9ad4\u9a57\u7684\u8cea\u7684\u98db\u8e8d\u3002\u4e00\u500b\u8f09\u5165\u901f\u5ea6\u4f4e\u65bc2 \u79d2\u7684\u6d77\u5916\u7db2\u7ad9\uff0c\u5f80\u5f80\u80fd\u5728\u7af6\u722d\u4e2d\u812b\u7a4e\u800c\u51fa\u3002<\/p>\n<hr \/>\n<p><strong>\u9700\u8981\u5c08\u696d\u5718\u968a\u5e6b\u5fd9\u898f\u5283AWS \u96f2\u7aef\u67b6\u69cb\uff1f<\/strong><\/p>\n<p>aws-oncloudai.com \u5c08\u6ce8\u65bc\u70ba\u4e2d\u570b\u51fa\u6d77\u4f01\u696d\u63d0\u4f9bAWS \u96f2\u7aef\u670d\u52d9\u8aee\u8a62\u8207\u5be6\u65bd\uff0c\u6db5\u84cbCloudFront CDN \u914d\u7f6e\u3001S3 \u975c\u614b\u8a17\u7ba1\u3001\u5f48\u6027\u67b6\u69cb\u8a2d\u8a08\u7b49\u3002\u6b61\u8fce<strong>\u514d\u8cbb\u9810\u7d04\u6280\u8853\u8aee\u8a62<\/strong>\uff0c\u6211\u5011\u5c07\u70ba\u4f60\u7684\u696d\u52d9\u63d0\u4f9b\u5ba2\u88fd\u5316\u7684AWS \u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<blockquote><p><strong>aws-oncloudai.com<\/strong>\u00a0| \u5c08\u696dAWS \u96f2\u7aef\u670d\u52d9\u5408\u4f5c\u5925\u4f34<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u8a73\u89e3AWS CloudFront\u5167\u5bb9\u50b3\u905e\u7db2\u8def\u7684\u6838\u5fc3\u6982\u5ff5\u3001\u8a2d\u5b9a\u6b65\u9a5f\u3001\u5feb\u53d6\u7b56\u7565\u8a2d\u7f6e\uff0c\u4ee5\u53ca\u5982\u4f55\u5229\u7528CloudFront\u70ba\u51fa\u6d77\u7368\u7acb\u7ad9\u548c\u8de8\u5883\u696d\u52d9\u5be6\u73fe\u5168\u7403\u5b58\u53d6\u52a0\u901f\u3002<\/p>","protected":false},"author":1,"featured_media":4412,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-4411","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\/4411","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=4411"}],"version-history":[{"count":1,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/4411\/revisions"}],"predecessor-version":[{"id":4413,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/4411\/revisions\/4413"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media\/4412"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media?parent=4411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/categories?post=4411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/tags?post=4411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}