{"id":1773,"date":"2024-12-18T14:35:14","date_gmt":"2024-12-18T06:35:14","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=1773"},"modified":"2024-12-20T09:22:04","modified_gmt":"2024-12-20T01:22:04","slug":"for-serverless-architectures-aws-elastic-load-balancer","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/zh_hk\/for-serverless-architectures-aws-elastic-load-balancer\/","title":{"rendered":"\u9069\u7528\u65bc\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u7684AWS Elastic Load Balancer"},"content":{"rendered":"<p>\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u7684\u5ee3\u6cdb\u61c9\u7528\u63a8\u52d5\u4e86\u96f2\u7aef\u904b\u7b97\u7684\u767c\u5c55\uff0c\u800c\u5728\u5be6\u73fe\u9ad8\u53ef\u7528\u6027\u3001\u81ea\u52d5\u64f4\u5c55\u548c\u9748\u6d3b\u5206\u767c\u7684\u904e\u7a0b\u4e2d\uff0c\u8ca0\u8f09\u5e73\u8861\u5668\u6210\u70ba\u95dc\u9375\u5143\u4ef6\u3002 AWS Elastic Load Balancer\uff08ELB\uff09\u70ba\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u63d0\u4f9b\u4e86\u4e00\u7a2e\u53ef\u9760\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u5b83\u80fd\u5920\u5728\u5206\u6563\u5f0f\u74b0\u5883\u4e2d\u667a\u6167\u5730\u7ba1\u7406\u6d41\u91cf\u5206\u767c\uff0c\u5f9e\u800c\u78ba\u4fdd\u61c9\u7528\u7a0b\u5f0f\u7684\u6548\u80fd\u548c\u7a69\u5b9a\u6027\u3002\u900f\u904e\u8207AWS Lambda\u3001API Gateway \u7b49\u7121\u4f3a\u670d\u5668\u670d\u52d9\u7121\u7e2b\u96c6\u6210\uff0cELB \u70ba\u958b\u767c\u8005\u63d0\u4f9b\u4e86\u9ad8\u6548\u4e14\u53ef\u64f4\u5c55\u7684\u8ca0\u8f09\u7ba1\u7406\u65b9\u5f0f\u3002<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-1786 size-large\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8cbb-cat6-\u96fb\u7e9c-it\u57fa\u790e\u8a2d\u65bd-it\u652f\u63f4-\u7684-\u514d\u8cbb\u7d20\u6750\u5716\u7247-\u7d20\u6750\u5716\u7247-1024x681.jpg\" alt=\"\" width=\"1024\" height=\"681\" srcset=\"\" sizes=\"(max-width: 1024px) 100vw, 1024px\" data-srcset=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#what-is-elastic-load-balancer-elb\" name=\"what-is-elastic-load-balancer-elb\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u4ec0\u9ebc\u662f\u5f48\u6027\u8ca0\u8f09\u5e73\u8861\u5668(ELB)\uff1f<\/h3>\n<p>ELB \u662fAWS \u63d0\u4f9b\u7684\u4e00\u7d44\u8ca0\u8f09\u5e73\u8861\uff08LB\uff09\u670d\u52d9\u3002\u5b83\u5011\u5305\u62ec<strong>Classic Load Balancer<\/strong>\u3001<strong>Gateway Load Balancer<\/strong>\u3001<strong>Network Load Balancer<\/strong>\u548c<strong>Application Load Balancer<\/strong>\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#each-of-these-lbs-covers-different-usecases\" name=\"each-of-these-lbs-covers-different-usecases\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u6bcf\u500bLB \u90fd\u6db5\u84cb\u4e0d\u540c\u7684\u7528\u4f8b<\/h3>\n<ul>\n<li>Classic\u00a0<strong>Load Balancer<\/strong>\u662f\u57fa\u65bcEC2 \u7684\u67b6\u69cb\u7684\u4e0d\u932f\u9078\u64c7<\/li>\n<li><strong>\u7db2\u95dc\u8ca0\u8f09\u5e73\u8861\u5668<\/strong>\u53ef\u5354\u52a9VPC \u4e2d\u7684\u7b2c\u4e09\u65b9\u865b\u64ec\u6a5f<\/li>\n<li><strong>\u7db2\u8def\u8ca0\u8f09\u5e73\u8861\u5668<\/strong>\u5c08\u6ce8\u65bc\u9ad8\u6548\u80fd\u4f4e\u968e\u7db2\u7d61\uff0c\u4f8b\u5982\u57fa\u65bcUPD \u7684\u904a\u6232\u6216\u7269\u806f\u7db2\u9023\u63a5<\/li>\n<li><strong>\u61c9\u7528\u7a0b\u5f0f\u8ca0\u8f09\u5e73\u8861\u5668<\/strong>\u662f\u4f7f\u7528HTTP \u5354\u5b9a\u7684\u8edf\u9ad4\u7684\u9ad8\u968e\u89e3\u6c7a\u65b9\u6848<\/li>\n<\/ul>\n<p>\u5728\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u7684\u60c5\u6cc1\u4e0b\uff0c\u6240\u6709\u670d\u52d9\u90fd\u4f7f\u7528HTTP API\uff0c\u9019\u8868\u793aALB\u662f\u6700\u4f73\u9078\u64c7\u3002\u56e0\u6b64\uff0c\u672c\u6587\u5c07\u91cd\u9ede\u653e\u5728ALB\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#what-is-application-load-balancer-alb\" name=\"what-is-application-load-balancer-alb\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u4ec0\u9ebc\u662f\u61c9\u7528\u7a0b\u5f0f\u8ca0\u8f09\u5e73\u8861\u5668(ALB)\uff1f<\/h3>\n<p>ALB \u5c08\u6ce8\u65bcHTTP\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u4f7f\u7528\u5354\u5b9a\u7684\u67d0\u4e9b\u90e8\u5206\u4f86\u505a\u51fa\u6709\u95dc\u5feb\u53d6\u7684\u6c7a\u7b56\uff0c\u5f9e\u800c\u70ba\u60a8\u7bc0\u7701\u4e00\u4e9bLambda \u57f7\u884c\u6642\u9593\u3002\u9019\u610f\u5473\u8457\u60a8\u7684Lambda \u51fd\u6578\u5fc5\u9808\u6b63\u78ba\u8a2d\u5b9a\u5176\u5feb\u53d6\u6a19\u982d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#pricing\" name=\"pricing\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u50f9\u683c<\/h3>\n<p>\u96d6\u7136ALB \u53ef\u4ee5\u8207Lambda \u96c6\u6210\uff0c\u4f46ALB \u4e0d\u662f\u7121\u4f3a\u670d\u5668\u670d\u52d9\uff1b\u5b83\u6c92\u6709\u5373\u7528\u5373\u4ed8\u6a21\u5f0f\uff0c\u9019\u610f\u5473\u8457\u60a8\u9700\u8981\u70ba\u672a\u4f7f\u7528\u7684\u6642\u9593\u4ed8\u8cbb\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u7684\u670d\u52d9\u5177\u6709\u6301\u7e8c\u7a69\u5b9a\u7684\u6d41\u91cf\u9700\u6c42\uff0c\u90a3\u9ebc\u5f9e\u9577\u9060\u4f86\u770b\uff0c\u5b83\u53ef\u80fd\u6bd4API Gateway \u66f4\u4fbf\u5b9c\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#limits\" name=\"limits\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u9650\u5236<\/h3>\n<p>\u6b64\u5916\uff0cAPI Gateway \u9650\u5236\u9023\u7dda\u6578\u70ba10k\uff0c\u800cALB \u6c92\u6709\u9650\u5236\u3002\u5b83\u662f\u4e00\u500bAPI Gateway\uff0c\u5177\u6709\u66f4\u591a\u6b21\u8981\u529f\u80fd\uff1b\u529f\u80fd\u7c21\u55ae\uff0c\u4f46\u6027\u80fd\u5353\u8d8a\u3002\u5982\u679c\u60a8\u8981\u505a\u5927\uff0cALB \u53ef\u80fd\u662f\u60a8\u7684\u552f\u4e00\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#permissions\" name=\"permissions\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u6b0a\u9650<\/h3>\n<p>ALB \u66f4\u50cf\u662f\u50b3\u7d71\u7684\u300c\u7d81\u5728\u516c\u5171HTTP \u7aef\u9ede\u524d\u9762\u300d\u7684\u6771\u897f\u3002\u56e0\u6b64\uff0c\u96d6\u7136\u5b83\u8207Lambda \u96c6\u6210\uff0c\u4f46\u5b83\u4e0d\u63d0\u4f9b\u57fa\u65bcIAM \u7684\u6b0a\u9650\u3002\u60a8\u5fc5\u9808\u5728\u7121\u4f3a\u670d\u5668\u51fd\u6578\u4e2d\u8655\u7406\u9019\u500b\u554f\u984c\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#transformations\" name=\"transformations\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u8b8a\u63db<\/h3>\n<p>\u9019\u7a2e\u50b3\u7d71\u7684\u8ca0\u8f09\u5e73\u8861\u65b9\u6cd5\u4e5f\u610f\u5473\u8457ALB \u7121\u6cd5\u9032\u884c\u8acb\u6c42\u548c\u56de\u61c9\u8f49\u63db\uff1b\u5b83\u53ea\u662f\u5c07\u60a8\u7684\u8cc7\u6599\u50b3\u8f38\u5230\u7ba1\u9053\u3002\u540c\u6a23\uff0c\u9019\u4f7f\u5f97ALB \u7684\u9748\u6d3b\u6027\u4e0d\u5982API \u7db2\u95dc\uff0c\u4e26\u5c07\u66f4\u591a\u5de5\u4f5c\u8f49\u79fb\u5230Lambda\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#multiregion\" name=\"multiregion\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u591a\u5340\u57df<\/h3>\n<p>\u60a8\u4e00\u6b21\u5c07ALB \u90e8\u7f72\u5230\u4e00\u500b\u5340\u57df\u3002\u540c\u6a23\uff0c\u9019\u4e0d\u662f\u7121\u4f3a\u670d\u5668\u670d\u52d9\uff0c\u56e0\u6b64\u60a8\u9700\u8981\u505a\u66f4\u591a\u5de5\u4f5c\u3002\u8981\u4f7f\u6d41\u91cf\u5728\u591a\u500b\u5340\u57df\u4e4b\u9593\u4fdd\u6301\u5e73\u8861\uff0c\u60a8\u9700\u8981Route53 \u7684\u57fa\u65bcDNS \u7684\u5e73\u8861\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#configurations-for-reliability-or-costs\" name=\"configurations-for-reliability-or-costs\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u53ef\u9760\u6027\u6216\u6210\u672c\u914d\u7f6e<\/h3>\n<p>\u4f7f\u7528\u5177\u6709Lambda \u76ee\u6a19\u7684ALB \u901a\u5e38\u53ef\u4ee5\u63d0\u4f9b\u826f\u597d\u7684\u53ef\u9760\u6027\uff0c\u56e0\u70baLambda \u6703\u81ea\u52d5\u64f4\u5c55\u3002\u5982\u679c\u60a8\u9700\u8981\u7684\u4e0d\u50c5\u50c5\u662f\u958b\u7bb1\u5373\u7528\u7684\u53ef\u9760\u6027\uff0c\u5247\u5fc5\u9808\u5c07ALB \u90e8\u7f72\u5230\u591a\u500b\u5340\u57df\u4e26\u5c07\u5176\u7f6e\u65bcRoute53 \u4e4b\u5f8c\u3002<\/p>\n<p>\u5728\u6210\u672c\u65b9\u9762\uff0cLambda \u53ef\u80fd\u6703\u6210\u70ba\u60a8\u7684\u4e3b\u8981\u7f6a\u9b41\u798d\u9996\u3002\u5982\u679c\u60a8\u5c07\u6bcf\u500b\u8acb\u6c42\u8def\u7531\u5230\u5177\u6709\u5927\u8a18\u61b6\u9ad4\u914d\u7f6e\u7684Lambda \u51fd\u6578\uff0c\u90a3\u9ebc\u6210\u672c\u5f88\u5feb\u5c31\u6703\u8b8a\u5f97\u6602\u8cb4\u3002\u56e0\u6b64\uff0c\u8acb\u9075\u5faa\u7121\u4f3a\u670d\u5668\u6700\u4f73\u5be6\u8e10\uff0c\u4f7fLambda \u51fd\u6578\u4fdd\u6301\u5c0f\u5de7\u548c\u76ee\u7684\u9a45\u52d5\u3002\u70ba\u60a8\u7684ALB \u5075\u807d\u5668\u8a2d\u5b9a\u689d\u4ef6\uff0c\u4ee5\u4fbf\u76e1\u53ef\u80fd\u4f7f\u7528\u8a18\u61b6\u9ad4\u4f54\u7528\u8f03\u5c0f\u7684\u51fd\u6578\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#health-check-best-practices\" name=\"health-check-best-practices\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>\u5065\u5eb7\u6aa2\u67e5\u6700\u4f73\u5be6\u8e10<\/h3>\n<p>\u5118\u7ba1EC2 \u76ee\u6a19\u5f88\u5bb9\u6613\u4e0d\u582a\u91cd\u8ca0\uff0c\u4f46Lambda \u76ee\u6a19\u7531\u65bc\u5176\u56fa\u6709\u7684\u81ea\u52d5\u64f4\u5c55\u529f\u80fd\u800c\u5177\u6709\u66f4\u591a\u7684\u7de9\u885d\uff1b\u7121\u4f3a\u670d\u5668\u7cfb\u7d71\u4e2d\u4ecd\u7136\u5b58\u5728\u53ef\u80fd\u51fa\u932f\u7684\u60c5\u6cc1\u3002<\/p>\n<p>AWS \u9810\u8a2d\u6703\u505c\u7528Lambda \u76ee\u6a19\u7684ALB \u904b\u4f5c\u72c0\u6cc1\u6aa2\u67e5\uff0c\u56e0\u6b64\u60a8\u5fc5\u9808\u5728\u6b64\u8655\u9078\u64c7\u52a0\u5165\u3002<\/p>\n<p>\u96d6\u7136\u6709\u4e9b\u554f\u984c\u53ef\u80fd\u662f\u7531\u63a8\u9001\u5230Lambda \u7684\u932f\u8aa4\u4ee3\u78bc\u5f15\u8d77\u7684\uff0c\u4f46\u5927\u591a\u6578\u554f\u984c\u90fd\u4f86\u81ea\u51fd\u6578\u4f7f\u7528\u7684\u4e0a\u6e38\u670d\u52d9\u3002\u56e0\u6b64\uff0c\u8acb\u8a2d\u5b9aLambda \u4ee5\u7ba1\u9053\u65b9\u5f0f\u50b3\u8f38\u5065\u5eb7\u6aa2\u67e5\uff0c\u7136\u5f8c\u4f7f\u7528\u4e0a\u6e38\u670d\u52d9\u7684\u7d50\u679c\u9032\u884c\u56de\u61c9\u3002<\/p>\n<p>\u5982\u679c\u51fa\u73fe\u554f\u984c\uff0c\u552f\u4e00\u5feb\u901f\u7684\u89e3\u6c7a\u65b9\u6848\u662f\u544a\u8a34Route53 \u5c07\u4ee5\u4e0b\u8acb\u6c42\u8def\u7531\u5230\u4e0d\u540c\u7684\u90e8\u7f72\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3><a href=\"https:\/\/dev.to\/vinothmohan\/aws-elastic-load-balancer-for-serverless-architecture-ede#log-analysis-in-aws\" name=\"log-analysis-in-aws\" rel=\"nofollow noopener\" target=\"_blank\"><\/a>AWS \u4e2d\u7684\u65e5\u8a8c\u5206\u6790<\/h3>\n<p>AWS \u8b93\u60a8\u53ef\u4ee5\u4f7f\u7528Amazon Athena \u5206\u6790ALB \u65e5\u8a8c\u3002 Athena \u662f\u4e00\u7a2e\u7121\u4f3a\u670d\u5668\u67e5\u8a62\u670d\u52d9\u3002\u60a8\u9700\u8981\u555f\u52d5\u67e5\u8a62\u65e5\u8a8c\u4e26\u5c07\u5176\u5132\u5b58\u5230S3\uff0c\u7136\u5f8c\u4f7f\u7528Athenas SQL \u67e5\u8a62\u9032\u884c\u63a2\u7d22\u3002<\/p>\n<p>AWS Elastic Load Balancer \u5728\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u4e2d\u626e\u6f14\u4e86\u81f3\u95dc\u91cd\u8981\u7684\u89d2\u8272\uff0c\u900f\u904e\u5176\u81ea\u52d5\u5316\u7684\u6d41\u91cf\u7ba1\u7406\u3001\u9748\u6d3b\u7684\u64f4\u5c55\u80fd\u529b\u4ee5\u53ca\u8207\u5176\u4ed6AWS \u670d\u52d9\u7684\u6df1\u5ea6\u96c6\u6210\uff0c\u5e6b\u52a9\u958b\u767c\u8005\u8f15\u9b06\u61c9\u5c0d\u5404\u7a2e\u696d\u52d9\u9700\u6c42\u3002\u7121\u8ad6\u662f\u8655\u7406\u9ad8\u4e26\u767c\u8acb\u6c42\u6216\u512a\u5316\u8cc7\u6e90\u5229\u7528\u7387\uff0cELB \u90fd\u80fd\u70ba\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u63d0\u4f9b\u53ef\u9760\u7684\u652f\u6490\uff0c\u8b93\u958b\u767c\u8005\u5c08\u6ce8\u65bc\u6838\u5fc3\u908f\u8f2f\u7684\u5be6\u4f5c\u8207\u5275\u65b0\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1787 size-large\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-1024x683.jpg\" alt=\"\" width=\"1024\" height=\"683\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-1024x683.jpg 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-300x200.jpg 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-768x512.jpg 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-1536x1024.jpg 1536w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-2048x1365.jpg 2048w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/12\/\u514d\u8d39-cli-CSS-devops-\u7684-\u514d\u8d39\u7d20\u6750\u56fe\u7247-\u7d20\u6750\u56fe\u7247-18x12.jpg 18w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u7684\u5ee3\u6cdb\u61c9\u7528\u63a8\u52d5\u4e86\u96f2\u7aef\u904b\u7b97\u7684\u767c\u5c55\uff0c\u800c\u5728\u5be6\u73fe\u9ad8\u53ef\u7528\u6027\u3001\u81ea\u52d5\u64f4\u5c55\u548c\u9748\u6d3b\u5206\u767c\u7684\u904e\u7a0b\u4e2d\uff0c\u8ca0\u8f09\u5e73\u8861\u5668\u6210\u70ba\u95dc\u9375\u5143\u4ef6\u3002 AWS Elastic Load Balancer\uff08ELB\uff09\u70ba\u7121\u4f3a\u670d\u5668\u67b6\u69cb\u63d0\u4f9b\u4e86\u4e00\u7a2e\u53ef\u9760\u7684\u89e3\u6c7a\u65b9\u6848\uff0c\u5b83\u80fd\u5920\u5728\u5206\u6563\u5f0f\u74b0\u5883\u4e2d\u667a\u6167\u5730\u7ba1\u7406\u6d41\u91cf\u5206\u767c\uff0c\u5f9e\u800c\u78ba\u4fdd\u61c9\u7528\u7a0b\u5f0f\u7684\u6548\u80fd\u548c\u7a69\u5b9a\u6027\u3002\u900f\u904e\u8207AWS Lambda\u3001API Gateway \u7b49\u7121\u4f3a\u670d\u5668\u670d\u52d9\u7121\u7e2b\u96c6\u6210\uff0cELB \u70ba\u958b\u767c\u8005\u63d0\u4f9b\u4e86\u9ad8\u6548\u4e14\u53ef\u64f4\u5c55\u7684\u8ca0\u8f09\u7ba1\u7406\u65b9\u5f0f\u3002<\/p>","protected":false},"author":1,"featured_media":1774,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-1773","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\/1773","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=1773"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/1773\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media\/1774"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media?parent=1773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/categories?post=1773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/tags?post=1773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}