{"id":9654,"date":"2023-03-01T11:16:03","date_gmt":"2023-03-01T03:16:03","guid":{"rendered":"http:\/\/123.57.164.21\/?p=9654"},"modified":"2023-03-01T11:16:03","modified_gmt":"2023-03-01T03:16:03","slug":"aws%e6%94%bb%e7%95%a5-%e4%bd%bf%e7%94%a8codebuild%e8%bf%9b%e8%a1%8c%e8%87%aa%e5%8a%a8%e5%8c%96%e6%9e%84%e5%bb%ba%e5%92%8c%e9%83%a8%e7%bd%b2lambda%ef%bc%88python%ef%bc%89","status":"publish","type":"post","link":"https:\/\/92it.top\/?p=9654","title":{"rendered":"AWS\u653b\u7565\u2014\u4f7f\u7528CodeBuild\u8fdb\u884c\u81ea\u52a8\u5316\u6784\u5efa\u548c\u90e8\u7f72Lambda\uff08Python\uff09"},"content":{"rendered":"\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/so.csdn.net\/so\/search?q=Aws&amp;spm=1001.2101.3001.7020\" target=\"_blank\">Aws<\/a> Lambda\u662fAmazon\u63a8\u51fa\u7684\u201c\u65e0\u670d\u52a1\u67b6\u6784\u201d\u670d\u52a1\u3002\u6211\u4eec\u53ea\u9700\u8981\u7b80\u5355\u7684\u4e0a\u4f20\u4ee3\u7801\uff0c\u505a\u4e9b\u7b80\u5355\u7684\u914d\u7f6e\uff0c\u4fbf\u53ef\u4ee5\u4f7f\u7528\u3002\u800c\u4e14\u5b83\u662f\u6309\u8fd0\u884c\u65f6\u95f4\u6536\u8d39\uff0c\u8fd9\u5bf9\u4e8e\u4f4e\u9891\u8bbf\u95ee\u7684\u670d\u52a1\u6765\u8bf4\u5f88\u5212\u7b97\u3002\u5177\u4f53\u7684\u4ecb\u7ecd\u53ef\u4ee5\u5e38\u89c1<a href=\"https:\/\/aws.amazon.com\/cn\/lambda\/\">aws lambda<\/a>\u7684\u5b98\u7f51\u3002<\/p>\n\n\n\n<p>\u6bd4\u8f83\u6b63\u7edf\u7684\u65b9\u6cd5\u662f\u4f7f\u7528Aws CloudFormation\u65b9\u6848\uff0c\u4f46\u662f\u9274\u4e8e\u8fd9\u4e2a\u65b9\u6848\u8fc7\u4e8e\u590d\u6742\uff0c\u6240\u4ee5\u6211\u4eec\u8fd8\u662f\u501f\u52a9CloudBuild\u7684\u81ea\u5b9a\u4e49\u547d\u4ee4\u6765\u89e3\u51b3\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u9002\u7528\u4e8e\u719f\u6089\u5728Aws Lambda\u4eba\u5de5\u90e8\u7f72python\u4ee3\u7801\uff0c\u800c\u4e0d\u719f\u6089\u81ea\u52a8\u5316\u90e8\u7f72\u7684\u540c\u5b66\u3002<\/p>\n\n\n\n<p><strong>\u521b\u5efa<a rel=\"noreferrer noopener\" href=\"https:\/\/so.csdn.net\/so\/search?q=Lambda%E5%87%BD%E6%95%B0&amp;spm=1001.2101.3001.7020\" target=\"_blank\">Lambda\u51fd\u6570<\/a><\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u56e0\u4e3a\u6211\u4eec\u53ea\u662f\u6d89\u53ca\u201c\u90e8\u7f72\u201d\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5148\u624b\u5de5\u5728us-east-1\uff08\u6211\u4eec\u7684\u751f\u4ea7\u73af\u5883\uff09\u4e0a\u521b\u5efa\u4e00\u4e2aLambda\u51fd\u6570\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u9009\u7528python3.7,\u51fd\u6570\u540d\u4e3ajobs_manager<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-31-1024x523.png\" alt=\"\" class=\"wp-image-9655\" width=\"592\" height=\"302\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-1024x523.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-300x153.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-768x392.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-830x424.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-230x118.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-350x179.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31-480x245.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-31.png 1178w\" sizes=\"(max-width: 592px) 100vw, 592px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-32-1024x641.png\" alt=\"\" class=\"wp-image-9656\" width=\"578\" height=\"361\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-1024x641.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-300x188.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-768x481.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-830x520.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-230x144.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-350x219.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32-480x301.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-32.png 1258w\" sizes=\"(max-width: 578px) 100vw, 578px\" \/><\/figure><\/div>\n\n\n\n<p>\u6700\u540e\u8bb0\u5f97\u5c06\u5165\u53e3\u51fd\u6570\u7684\u8def\u5f84\u548c\u51fd\u6570\u540d\u7ed9\u6307\u5b9a\u6b63\u786e\u3002<\/p>\n\n\n\n<p><strong>\u521b\u5efaS3\u5b58\u50a8\u6876<\/strong><\/p>\n\n\n\n<p>\u6211\u4eec\u505apython\u5f00\u53d1\u65f6\uff0c\u5f80\u5f80\u9700\u8981\u5f15\u5165\u5176\u4ed6\u7b2c\u4e09\u65b9\u5e93\u3002Aws Lambda\u8ba9\u6211\u4eec\u901a\u8fc7\u914d\u7f6e\u51fd\u6570\u7684\u201c\u5c42\u201d\uff08layer\uff09\u6765\u914d\u7f6e\u8fd9\u4e9b\u5f15\u5165\u3002\u5982\u679c\u662f\u624b\u5de5\u90e8\u7f72\uff0c\u6211\u4eec\u9700\u8981\u628a\u8fd9\u4e9b\u5e93\u538b\u7f29\u5230python.zip\u7684\u6587\u4ef6\u4e2d\uff0c\u7136\u540e\u5728Lambda\u5c42\u4e2d\u521b\u5efa\u4e00\u4e2a\u5c42\u5e76\u4e0a\u4f20\uff0c\u6700\u540e\u5728\u51fd\u6570\u8bbe\u7f6e\u4e2d\u5f15\u5165\u3002<\/p>\n\n\n\n<p>\u5f53\u6211\u4eec\u4f7f\u7528\u81ea\u52a8\u5316\u90e8\u7f72\u65b9\u6848\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u538b\u7f29\u7684\u5c42\u6587\u4ef6\u4fdd\u5b58\u5230S3\u4e2d\uff0c\u7136\u540e\u914d\u7f6e\u7ed9\u5bf9\u5e94\u51fd\u6570\u3002\u8fd9\u6837\u6211\u4eec\u5c31\u9700\u8981\u65b0\u5efa\u4e00\u4e2a\u5b58\u50a8\u6876\u3002<\/p>\n\n\n\n<p>\u7ed9\u6876\u7684\u540d\u5b57\u53d6\u540d\u89c4\u5219\u662f\uff1a\u201c\u533a\u57df\u201d-layers-of-lambda\u3002\u56e0\u4e3a\u6211\u4eec\u5c06\u201c\u751f\u4ea7\u201d\u548c\u201c\u6d4b\u8bd5\u201d\u73af\u5883\u90e8\u7f72\u5728\u4e0d\u540c\u7684\u533a\u57df\u4e2d\uff0c\u6240\u4ee5\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u4e0d\u540c\u7684\u533a\u57df\u6765\u5bf9\u540c\u4e00\u5957\u4ee3\u7801\u8fdb\u884c\u5206\u533a\u90e8\u7f72\u3002\uff08\u5177\u4f53\u770b\u4e4b\u540e\u4ecb\u7ecd\u7684buildspec.yml\u548cCodeBuild\u8bbe\u7f6e\uff09<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-33-1024x750.png\" alt=\"\" class=\"wp-image-9657\" width=\"607\" height=\"444\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-1024x750.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-300x220.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-768x562.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-1536x1125.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-830x608.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-230x168.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-350x256.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33-480x351.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-33.png 1956w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-34-1024x741.png\" alt=\"\" class=\"wp-image-9658\" width=\"607\" height=\"438\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-1024x741.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-300x217.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-768x556.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-1536x1112.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-230x166.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-350x253.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34-480x347.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-34.png 1962w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/figure><\/div>\n\n\n\n<p><strong>\u521b\u5efaCodeBuild\u5de5\u7a0b<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u521b\u5efa\u8fc7\u7a0b\u548c<a href=\"https:\/\/blog.csdn.net\/breaksoftware\/article\/details\/106723795\">\u300aAWS\u653b\u7565\u2014\u2014\u4f7f\u7528CodeBuild\u8fdb\u884c\u81ea\u52a8\u5316\u6784\u5efa\u548c\u90e8\u7f72\u9759\u6001\u7f51\u9875\u300b<\/a>\u7c7b\u4f3c\uff0c\u540c\u6837\u9700\u8981\u8bbe\u7f6e\u4e0b\u73af\u5883\u53d8\u91cfREGION\u7684\u503c\u4e3aus-east-1\uff0c\u8fd9\u6837\u4e4b\u540e\u7684buildspec.yml\u5c06\u53ef\u4ee5\u4f7f\u7528\u5230\u8be5\u503c\u505a\u201c\u751f\u4ea7\u201d\u548c\u201c\u6d4b\u8bd5\u201d\u73af\u5883\u533a\u5206\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-35-1024x226.png\" alt=\"\" class=\"wp-image-9659\" width=\"616\" height=\"136\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-1024x226.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-300x66.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-768x169.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-830x183.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-230x51.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-350x77.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35-480x106.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-35.png 1378w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/figure><\/div>\n\n\n\n<p>\u540c\u65f6\u8bb0\u4e0b\u89d2\u8272\u540d<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-36-1024x166.png\" alt=\"\" class=\"wp-image-9660\" width=\"614\" height=\"99\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-1024x166.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-300x49.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-768x124.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-830x134.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-230x37.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-350x57.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36-480x78.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-36.png 1174w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/figure><\/div>\n\n\n\n<p><strong>\u4fee\u6539<a rel=\"noreferrer noopener\" href=\"https:\/\/so.csdn.net\/so\/search?q=IAM&amp;spm=1001.2101.3001.7020\" target=\"_blank\">IAM<\/a><\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u5728IAM\u4e2d\u627e\u5230\u4e0a\u6b65\u7684\u89d2\u8272\u540d\u79f0\uff0c\u4fee\u6539\u5176\u7b56\u7565\u3002<\/p>\n\n\n\n<p>\u4e3a\u7b80\u5355\u8d77\u89c1\uff0c\u6211\u4eec\u7ed9\u4e0eS3\u6240\u6709\u8d44\u6e90\u7684\u6240\u6709\u6743\u9650\u3002\uff08\u4e0d\u4e25\u8c28\uff09<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-37-1024x311.png\" alt=\"\" class=\"wp-image-9661\" width=\"605\" height=\"184\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-1024x311.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-300x91.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-768x233.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-1536x466.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-830x252.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-230x70.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-350x106.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37-480x146.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-37.png 1956w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/figure><\/div>\n\n\n\n<p>\u8fd8\u8981\u65b0\u589elambda\u6743\u9650\uff0c\u4e5f\u662f\u6240\u6709\u8d44\u6e90\u6240\u6709\u6743\u9650\u3002\uff08\u4e0d\u4e25\u8c28\uff09<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-38-1024x324.png\" alt=\"\" class=\"wp-image-9662\" width=\"621\" height=\"196\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-1024x324.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-300x95.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-768x243.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-1536x486.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-830x263.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-230x73.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-350x111.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38-480x152.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-38.png 1972w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure><\/div>\n\n\n\n<p><strong>\u521b\u5efaBuildspec.yml\u6587\u4ef6<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u8be5\u6587\u4ef6\u653e\u7f6e\u5728\u9879\u76ee\uff08\u6211\u4eec\u7684\u9879\u76ee\u540d\u53ebapollo\uff09\u7684\u6839\u76ee\u5f55\u4e0b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">version: 0.2\n \nphases:\n  install:\n    runtime-versions:\n      python: 3.7\n    commands:\n      - pip install --upgrade pip\n      - pip install --upgrade awscli\n \n  pre_build:\n    commands:\n  \n  build:\n    commands:\n      - pip install -r requirements.txt -t .\/python\n      - zip layer_apollo.zip -r python\/\n      - aws s3 cp layer_apollo.zip --region $REGION s3:\/\/$REGION-layers-of-lambda\/layer_apollo.zip\n      - layer_version=$(aws lambda publish-layer-version --region $REGION --layer-name apollo --description \"apollo layer\" --license-info \"MIT\" --content S3Bucket=$REGION-layers-of-lambda,S3Key=layer_apollo.zip --compatible-runtimes python3.7 | jq '.LayerVersionArn' | sed 's\/\\\"\/\/g')\n      - echo $layer_version\n \n      - update_jobs_manager_layer_cmd='aws lambda update-function-configuration --region '$REGION' --function-name jobs_manager --layers '$layer_version\n      - echo $update_jobs_manager_layer_cmd\n      - $update_jobs_manager_layer_cmd\n \n      - zip apollo.zip -r aws\/ conf\/ jobs_manager\/ kvdb\/ modules\/ rollback_sqs\/ proto\/ services\/ sqs\/ utils\/ \n      - aws lambda --region $REGION update-function-code --function-name jobs_manager --zip-file fileb:\/\/apollo.zip<\/pre>\n\n\n\n<ul><li>\u7b2c6\u884c\u6307\u660e\u6211\u4eec\u9700\u8981\u4f7f\u7528python3.7\u7684\u73af\u5883\u3002<\/li><li>\u7b2c8,9\u884c\uff0c\u8ba9\u6784\u5efa\u73af\u5883\u5148\u66f4\u65b0pip\u548caws\u7684\u5de5\u5177awscli\u3002<\/li><li>\u7b2c16\u884c\uff0c\u6211\u4eec\u5c06\u9879\u76ee\u4f9d\u8d56\u90fd\u88c5\u5230\u6784\u5efa\u73af\u5883\u7684python\u76ee\u5f55\u4e0b\u3002requestments.txt\u662f\u901a\u8fc7\u4e0b\u9762\u6307\u4ee4\u751f\u6210\u7684\uff0c\u4f46\u662f\u9700\u8981\u624b\u5de5\u5254\u9664\u5305\u542b\u7248\u672c\u662f0.0.0\u7684\u5e93\uff0c\u5426\u5219\u4e4b\u540e\u90e8\u7f72\u4f1a\u62a5\u9519\u3002<\/li><li>\u7b2c17,18\u884c\u5c06\u4f9d\u8d56\u6253\u5305\u5e76\u4e0a\u4f20\u5230\u4e4b\u524d\u6b65\u9aa4\u521b\u5efa\u7684S3\u4e0a\u3002<\/li><li>\u7b2c19\u884c\u5c06S3\u4e0a\u7684\u4f9d\u8d56\u5305\u53d1\u5e03\u5230lambda\u7684\u5c42\u4e0a\uff0c\u5e76\u83b7\u53d6\u671f\u7248\u672c\u53f7\u3002<\/li><li>\u7b2c22~24\u5c06\u66f4\u65b0lambda\u51fd\u6570\u5c42\u7684\u7248\u672c\u53f7\u3002<\/li><li>\u7b2c26\uff0c27\u884c\u5c06\u9879\u76ee\u6253\u5305\u5e76\u66f4\u65b0\u5230lambda\u51fd\u6570\u4e2d\u3002<\/li><\/ul>\n\n\n\n<p><strong>\u6784\u5efa<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u8fdb\u5165\u4e4b\u524d\u521b\u5efa\u7684apollo_online\u7684\u6784\u5efa\u9879\u76ee\u4e2d\uff0c\u7136\u540e\u70b9\u51fb\u201c\u6784\u5efa\u201d<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/123.57.164.21\/wp-content\/uploads\/2023\/03\/image-39-1024x338.png\" alt=\"\" class=\"wp-image-9663\" width=\"572\" height=\"189\" srcset=\"https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-1024x338.png 1024w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-300x99.png 300w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-768x253.png 768w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-1536x507.png 1536w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-830x274.png 830w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-230x76.png 230w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-350x115.png 350w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39-480x158.png 480w, https:\/\/92it.top\/wp-content\/uploads\/2023\/03\/image-39.png 1952w\" sizes=\"(max-width: 572px) 100vw, 572px\" \/><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Aws Lambda\u662fAmazon\u63a8\u51fa\u7684\u201c\u65e0\u670d\u52a1\u67b6\u6784\u201d\u670d\u52a1\u3002\u6211\u4eec\u53ea\u9700\u8981\u7b80\u5355\u7684\u4e0a\u4f20\u4ee3\u7801\uff0c\u505a\u4e9b\u7b80\u5355\u7684\u914d\u7f6e\uff0c\u4fbf\u53ef\u4ee5\u4f7f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,9],"tags":[],"_links":{"self":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/9654"}],"collection":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9654"}],"version-history":[{"count":1,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/9654\/revisions"}],"predecessor-version":[{"id":9664,"href":"https:\/\/92it.top\/index.php?rest_route=\/wp\/v2\/posts\/9654\/revisions\/9664"}],"wp:attachment":[{"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/92it.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}