{"id":1171,"date":"2024-11-13T17:39:12","date_gmt":"2024-11-13T09:39:12","guid":{"rendered":"https:\/\/aws-oncloudai.com\/?p=1171"},"modified":"2024-11-20T09:53:56","modified_gmt":"2024-11-20T01:53:56","slug":"learn-about-the-aws-lambda-guide","status":"publish","type":"post","link":"https:\/\/aws-oncloudai.com\/zh_hk\/learn-about-the-aws-lambda-guide\/","title":{"rendered":"\u4e86\u89e3AWS Lambda\u6307\u5357"},"content":{"rendered":"<div class=\"flex-shrink-0 flex flex-col relative items-end\">\n<div class=\"pt-0\">\n<div class=\"gizmo-bot-avatar flex h-8 w-8 items-center justify-center overflow-hidden rounded-full\">\n<div class=\"relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8\">AWS Lambda \u662f\u4e9e\u99ac\u905cWeb \u670d\u52d9\uff08AWS\uff09\u63d0\u4f9b\u7684\u7121\u4f3a\u670d\u5668\u904b\u7b97\u670d\u52d9\uff0c\u65e8\u5728\u7c21\u5316\u61c9\u7528\u7a0b\u5f0f\u7684\u90e8\u7f72\u548c\u7ba1\u7406\u3002\u900f\u904eLambda\uff0c\u958b\u767c\u8005\u53ef\u4ee5\u904b\u884c\u7a0b\u5f0f\u78bc\u800c\u7121\u9700\u64d4\u5fc3\u4f3a\u670d\u5668\u7684\u914d\u7f6e\u3001\u7dad\u8b77\u6216\u64f4\u5c55\u3002 Lambda \u652f\u63f4\u591a\u7a2e\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u4e26\u900f\u904e\u81ea\u52d5\u64f4\u5c55\u548c\u6309\u9700\u8a08\u8cbb\u7684\u65b9\u5f0f\u70ba\u4f7f\u7528\u8005\u63d0\u4f9b\u9748\u6d3b\u3001\u7d93\u6fdf\u9ad8\u6548\u7684\u904b\u7b97\u89e3\u6c7a\u65b9\u6848\u3002\u7121\u8ad6\u662f\u5728\u5efa\u7acb\u5fae\u670d\u52d9\u3001\u8655\u7406\u8cc7\u6599\u6d41\uff0c\u9084\u662f\u56de\u61c9\u5373\u6642\u4e8b\u4ef6\uff0cAWS Lambda \u90fd\u80fd\u63d0\u4f9b\u5f37\u5927\u7684\u652f\u6301\uff0c\u662f\u73fe\u4ee3\u96f2\u7aef\u904b\u7b97\u74b0\u5883\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u4e4b\u4e00\u3002\u6211\u5011<strong>Oncloud AI<\/strong>\u900f\u904e\u672c\u6587\u5e6b\u52a9\u60a8\u8a73\u7d30\u63a2\u8a0eAWS Lambda\u3002<\/div>\n<\/div>\n<\/div>\n<\/div>\n<h3 id=\"heading-introduction\" class=\"permalink-heading\">\u4ecb\u7d39<\/h3>\n<ul>\n<li>AWS Lambda \u8b93\u60a8\u7121\u9700\u9810\u7f6e\u6216\u7ba1\u7406\u4f3a\u670d\u5668\u5373\u53ef\u57f7\u884c\u7a0b\u5f0f\u78bc\u3002\u60a8\u53ea\u9700\u70ba\u60a8\u4f7f\u7528\u7684\u8a08\u7b97\u6642\u9593\u4ed8\u8cbb\u2013 \u7a0b\u5f0f\u78bc\u672a\u904b\u884c\u6642\u7121\u9700\u4ed8\u8cbb\u3002<\/li>\n<li>\u4f7f\u7528Lambda\uff0c\u60a8\u53ef\u4ee5\u70ba\u5e7e\u4e4e\u4efb\u4f55\u985e\u578b\u7684\u61c9\u7528\u7a0b\u5f0f\u6216\u5f8c\u7aef\u670d\u52d9\u904b\u884c\u7a0b\u5f0f\u78bc\u2013 \u7121\u9700\u4efb\u4f55\u7ba1\u7406\u3002\u53ea\u9700\u4e0a\u50b3\u60a8\u7684\u7a0b\u5f0f\u78bc\uff0cLambda \u5c31\u6703\u8655\u7406\u904b\u884c\u548c\u64f4\u5145\u7a0b\u5f0f\u78bc\u6240\u9700\u7684\u4e00\u5207\uff0c\u4e26\u4e14\u5177\u6709\u9ad8\u53ef\u7528\u6027\u3002<\/li>\n<li>\u60a8\u53ef\u4ee5\u8a2d\u5b9a\u7a0b\u5f0f\u78bc\u4ee5\u81ea\u52d5\u5f9e\u5176\u4ed6AWS \u670d\u52d9\u89f8\u767c\uff0c\u6216\u76f4\u63a5\u5f9e\u4efb\u4f55Web \u6216\u884c\u52d5\u61c9\u7528\u7a0b\u5f0f\u547c\u53eb\u5b83\u3002<\/li>\n<\/ul>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-1172 aligncenter\" src=\"http:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/11\/k-g8Aw4xP-300x169.avif\" alt=\"\" width=\"533\" height=\"300\" srcset=\"https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/11\/k-g8Aw4xP-300x169.avif 300w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/11\/k-g8Aw4xP-1024x576.avif 1024w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/11\/k-g8Aw4xP-768x432.avif 768w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/11\/k-g8Aw4xP-1536x864.avif 1536w, https:\/\/aws-oncloudai.com\/wp-content\/uploads\/2024\/11\/k-g8Aw4xP.avif 1920w\" sizes=\"(max-width: 533px) 100vw, 533px\" \/><\/p>\n<p><strong>AWS \u4e0a\u7684\u5927\u6578\u64da\u5206\u6790\u9078\u9805<\/strong>\u662f\u4e00\u500b\u5305\u542b\u4e0d\u540c\u6587\u7ae0\u7684\u7cfb\u5217\uff0c\u9019\u4e9b\u6587\u7ae0\u63d0\u4f9b\u4e86AWS \u4e0a\u4e0d\u540c\u5927\u6578\u64da\u5206\u6790\u9078\u9805\u7684\u57fa\u672c\u4ecb\u7d39\u3002\u6bcf\u7bc7\u6587\u7ae0\u90fd\u6db5\u84cb\u77ad\u5982\u4f55\u4f7f\u7528\u6bcf\u9805\u670d\u52d9\u4f86\u6536\u96c6\u3001\u8655\u7406\u3001\u5132\u5b58\u548c\u5206\u6790\u5927\u6578\u64da\u7684\u8a73\u7d30\u6307\u5357\u3002<\/p>\n<h3 id=\"heading-ideal-usage-patterns\" class=\"permalink-heading\">\u7406\u60f3\u7684\u4f7f\u7528\u6a21\u5f0f<\/h3>\n<ul>\n<li>AWS Lambda \u53ef\u8b93\u60a8\u57f7\u884c\u7a0b\u5f0f\u78bc\u4ee5\u56de\u61c9\u89f8\u767c\u4e8b\u4ef6\uff0c\u4f8b\u5982\u8cc7\u6599\u8b8a\u66f4\u3001\u7cfb\u7d71\u72c0\u614b\u8f49\u63db\u6216\u4f7f\u7528\u8005\u64cd\u4f5c\u3002 Lambda \u53ef\u7531AWS \u670d\u52d9\uff08\u4f8b\u5982Amazon S3\u3001DynamoDB\u3001Amazon Kinesis Data Streams\u3001Amazon Simple Notification Service (Amazon SNS) \u548cAmazon CloudWatch\uff09\u76f4\u63a5\u89f8\u767c\uff0c\u8b93\u60a8\u80fd\u5920\u5efa\u7acb\u5404\u7a2e\u5373\u6642\u8cc7\u6599\u8655\u7406\u7cfb\u7d71\uff1a\n<ul>\n<li><strong>\u5373\u6642\u6587\u4ef6\u8655\u7406<\/strong>\u2013 \u60a8\u53ef\u4ee5\u89f8\u767cLambda \u4f86\u547c\u53eb\u5c07\u6a94\u6848\u4e0a\u50b3\u5230Amazon S3 \u6216\u4fee\u6539\u5f8c\u7684\u904e\u7a0b\u3002\u4f8b\u5982\uff0c\u5c07\u5716\u50cf\u4e0a\u50b3\u5230Amazon S3 \u5f8c\uff0c\u5c07\u5176\u5f9e\u5f69\u8272\u66f4\u6539\u70ba\u7070\u968e\u3002<\/li>\n<li><strong>\u5373\u6642\u4e32\u6d41\u8655\u7406<\/strong>\u2013 \u60a8\u53ef\u4ee5\u4f7f\u7528Kinesis Data Streams \u548cLambda \u8655\u7406\u4e32\u6d41\u8cc7\u6599\u4ee5\u9032\u884c\u9ede\u64ca\u6d41\u5206\u6790\u3001\u65e5\u8a8c\u904e\u6ffe\u548c\u793e\u7fa4\u5a92\u9ad4\u5206\u6790\u3002<\/li>\n<li><strong>\u63d0\u53d6\u3001\u8f49\u63db\u3001\u8f09\u5165(ETL)<\/strong>\u00a0\u2013 \u60a8\u53ef\u4ee5\u4f7f\u7528Lambda \u904b\u884c\u7a0b\u5f0f\u78bc\u4f86\u8f49\u63db\u8cc7\u6599\u4e26\u5c07\u8cc7\u6599\u5f9e\u4e00\u500b\u8cc7\u6599\u5132\u5b58\u5eab\u8f09\u5165\u5230\u53e6\u4e00\u500b\u8cc7\u6599\u5132\u5b58\u5eab\u3002<\/li>\n<li><strong>\u66ff\u4ee3Cron<\/strong>\u00a0\u2013 \u4f7f\u7528\u8a08\u5283\u8868\u9054\u5f0f\u5b9a\u671f\u904b\u884cLambda \u51fd\u6578\uff0c\u9019\u662f\u6bd4\u5728EC2 \u5be6\u4f8b\u4e0a\u57f7\u884ccron \u66f4\u4fbf\u5b9c\u3001\u66f4\u53ef\u7528\u7684\u89e3\u6c7a\u65b9\u6848\u3002<\/li>\n<li><strong>\u8655\u7406AWS \u4e8b\u4ef6<\/strong>\u2013 \u8a31\u591a\u5176\u4ed6\u670d\u52d9\uff08\u4f8b\u5982AWS CloudTrail\uff09\u53ef\u4ee5\u900f\u904e\u767b\u5165Amazon S3 \u4e26\u4f7f\u7528S3 \u5132\u5b58\u6876\u901a\u77e5\u4f86\u89f8\u767cLambda \u51fd\u6578\uff0c\u5f9e\u800c\u5145\u7576\u4e8b\u4ef6\u4f86\u6e90\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3 id=\"heading-cost-model\" class=\"permalink-heading\">\u6210\u672c\u6a21\u578b<\/h3>\n<ul>\n<li>\u4f7f\u7528AWS Lambda\uff0c\u60a8\u53ea\u9700\u6309\u5be6\u969b\u4f7f\u7528\u91cf\u4ed8\u8cbb\u3002\u8cbb\u7528\u53d6\u6c7a\u65bc\u60a8\u51fd\u6578\u7684\u8acb\u6c42\u6578\u91cf\u548c\u7a0b\u5f0f\u78bc\u904b\u884c\u6642\u9593\u3002<\/li>\n<li>Lambda \u514d\u8cbb\u65b9\u6848\u5305\u62ec\u6bcf\u6708100 \u842c\u500b\u514d\u8cbb\u8acb\u6c42\u548c\u6bcf\u6708400,000 GB-\u79d2\u7684\u8a08\u7b97\u6642\u9593\u3002\u6b64\u5f8c\uff0c\u6bcf100 \u842c\u500b\u8acb\u6c42\u5c07\u6536\u53d60.20 \u7f8e\u5143\uff08\u6bcf\u500b\u8acb\u6c420.0000002 \u7f8e\u5143\uff09\u3002\u6b64\u5916\uff0c\u7a0b\u5f0f\u78bc\u904b\u884c\u6642\u9593\u7684\u50f9\u683c\u8207\u5206\u914d\u7684\u8a18\u61b6\u9ad4\u6709\u95dc\u3002\u6bcfGB-\u79d2\u7684\u4f7f\u7528\u5c07\u6536\u53d60.00001667 \u7f8e\u5143\u3002<\/li>\n<\/ul>\n<p><em>\u6709\u95dc\u66f4\u591a\u8a73\u7d30\u4fe1\u606f\uff0c\u8acb\u53c3\u95b1AWS Lambda \u5b9a\u50f9\u3002<\/em><\/p>\n<h3 id=\"heading-performance\" class=\"permalink-heading\">\u8868\u73fe<\/h3>\n<ul>\n<li>\u9996\u6b21\u5c07\u7a0b\u5f0f\u78bc\u90e8\u7f72\u5230Lambda \u5f8c\uff0c\u60a8\u7684\u51fd\u6578\u901a\u5e38\u5728\u4e0a\u50b3\u5f8c\u5e7e\u79d2\u9418\u5167\u5373\u53ef\u547c\u53eb\u3002 Lambda \u65e8\u5728\u5e7e\u6beb\u79d2\u5167\u8655\u7406\u4e8b\u4ef6\u3002<\/li>\n<li>\u5728\u5efa\u7acb\u3001\u66f4\u65b0Lambda \u51fd\u6578\u5f8c\u6216\u6700\u8fd1\u672a\u4f7f\u7528\u6642\uff0c\u5ef6\u9072\u6703\u7acb\u5373\u589e\u52a0\u3002\u70ba\u4e86\u63d0\u9ad8\u6548\u80fd\uff0cLambda \u53ef\u80fd\u6703\u9078\u64c7\u4fdd\u7559\u51fd\u6578\u7684\u4e00\u500b\u5be6\u4f8b\u4e26\u91cd\u65b0\u4f7f\u7528\u5b83\u4f86\u8655\u7406\u5f8c\u7e8c\u8acb\u6c42\uff0c\u800c\u4e0d\u662f\u5efa\u7acb\u65b0\u7684\u526f\u672c\u3002<\/li>\n<li>Lambda \u9810\u5148\u914d\u7f6e\u4e26\u767c\u529f\u80fd\u8b93\u5ba2\u6236\u80fd\u5920\u66f4\u597d\u5730\u63a7\u5236\u4efb\u4f55\u898f\u6a21\u7684\u7121\u4f3a\u670d\u5668\u61c9\u7528\u7a0b\u5f0f\u7684\u6548\u80fd\u3002<\/li>\n<li>\u4f7f\u7528\u9810\u5148\u914d\u7f6e\u4e26\u767c\u7684\u51fd\u6578\u4ee5\u4e00\u81f4\u7684\u555f\u52d5\u5ef6\u9072\u904b\u884c\uff0c\u4f7f\u5176\u6210\u70ba\u5efa\u7acb\u4e92\u52d5\u5f0f\u79fb\u52d5\u6216Web \u5f8c\u7aef\u3001\u5ef6\u9072\u654f\u611f\u7684\u5fae\u670d\u52d9\u548c\u540c\u6b65\u8abf\u7528\u7684API \u7684\u7406\u60f3\u9078\u64c7\u3002<\/li>\n<li>\u900f\u904e\u9810\u5148\u914d\u7f6e\u7684\u4e26\u767c\u6027\uff0c\u51fd\u6578\u53ef\u4ee5\u7acb\u5373\u8655\u7406\u7a81\u767c\u6d41\u91cf\uff0c\u4e26\u4e14\u6bcf\u6b21\u547c\u53eb\u5728\u6307\u5b9a\u7684\u898f\u6a21\u5167\u90fd\u5177\u6709\u4e00\u81f4\u7684\u555f\u52d5\u5ef6\u9072\u3002<\/li>\n<li>\u8981\u4e86\u89e3\u6709\u95dcLambda \u5982\u4f55\u91cd\u7528\u51fd\u6578\u5be6\u4f8b\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8acb\u53c3\u95b1Lambda \u5165\u9580\u3002\u60a8\u7684\u7a0b\u5f0f\u78bc\u4e0d\u61c9\u5047\u8a2d\u9019\u7a2e\u91cd\u8907\u4f7f\u7528\u5c07\u59cb\u7d42\u767c\u751f\u3002<\/li>\n<\/ul>\n<h3 id=\"heading-durability-and-availability\" class=\"permalink-heading\">\u8010\u7528\u6027\u548c\u53ef\u7528\u6027<\/h3>\n<ul>\n<li>AWS Lambda \u65e8\u5728\u4f7f\u7528\u8907\u88fd\u548c\u5197\u9918\u4f86\u70ba\u670d\u52d9\u672c\u8eab\u53ca\u5176\u904b\u884c\u7684Lambda \u51fd\u6578\u63d0\u4f9b\u9ad8\u53ef\u7528\u6027\u3002<\/li>\n<li>\u5169\u8005\u90fd\u6c92\u6709\u7dad\u8b77\u6642\u6bb5\u6216\u8a08\u5283\u505c\u6a5f\u6642\u9593\u3002\u767c\u751f\u6545\u969c\u6642\uff0c\u540c\u6b65\u547c\u53eb\u7684Lambda \u51fd\u6578\u6703\u4ee5\u7570\u5e38\u97ff\u61c9\u3002<\/li>\n<li>\u975e\u540c\u6b65\u547c\u53eb\u7684Lambda \u51fd\u6578\u81f3\u5c11\u6703\u91cd\u8a66\u4e09\u6b21\uff0c\u4e4b\u5f8c\u4e8b\u4ef6\u53ef\u80fd\u6703\u88ab\u62d2\u7d55\u3002<\/li>\n<\/ul>\n<h3 id=\"heading-scalability-and-elasticity\" class=\"permalink-heading\">\u53ef\u64f4\u5c55\u6027\u548c\u5f48\u6027<\/h3>\n<ul>\n<li>\u60a8\u53ef\u4ee5\u904b\u884c\u7684Lambda \u51fd\u6578\u6578\u91cf\u6c92\u6709\u9650\u5236\u3002\u4f46\u662f\uff0cLambda \u7684\u9810\u8a2d\u5b89\u5168\u9650\u5236\u662f\u6bcf\u500b\u5340\u57df\u6bcf\u500b\u5e33\u62361,000 \u6b21\u4e26\u767c\u904b\u884c\u3002<\/li>\n<li>AWS \u652f\u63f4\u5718\u968a\u7684\u6210\u54e1\u53ef\u4ee5\u589e\u52a0\u6b64\u9650\u5236\u3002 Lambda \u65e8\u5728\u4ee3\u8868\u60a8\u81ea\u52d5\u64f4\u5c55\u3002\u64f4\u5c55\u51fd\u6578\u6c92\u6709\u57fa\u672c\u9650\u5236\u3002 Lambda \u52d5\u614b\u5206\u914d\u5bb9\u91cf\u4ee5\u7b26\u5408\u50b3\u5165\u4e8b\u4ef6\u7684\u901f\u7387\u3002<\/li>\n<\/ul>\n<h3 id=\"heading-interfaces\" class=\"permalink-heading\">\u4ecb\u9762<\/h3>\n<ul>\n<li>Lambda \u51fd\u6578\u53ef\u4ee5\u900f\u904e\u591a\u7a2e\u65b9\u5f0f\u9032\u884c\u7ba1\u7406\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528Lambda \u63a7\u5236\u53f0\u4e2d\u7684\u5100\u8868\u677f\u8f15\u9b06\u5217\u51fa\u3001\u522a\u9664\u3001\u66f4\u65b0\u548c\u76e3\u63a7\u60a8\u7684Lambda \u51fd\u6578\u3002\u60a8\u4e5f\u53ef\u4ee5\u4f7f\u7528AWS CLI \u548cAWS SDK \u4f86\u7ba1\u7406\u60a8\u7684Lambda \u51fd\u6578\u3002<\/li>\n<li>\u60a8\u53ef\u4ee5\u5f9eAWS \u4e8b\u4ef6\u89f8\u767cLambda \u51fd\u6578\uff0c\u4f8b\u5982Amazon S3 \u5132\u5b58\u6876\u901a\u77e5\u3001Amazon DynamoDB Streams\u3001Amazon CloudWatch logs\u3001Amazon Simple Email Service (Amazon SES)\u3001Amazon Kinesis Data Streams\u3001Amazon SNS\u3001Amazon Cognito \u7b49\u3002<\/li>\n<li>\u4efb\u4f55\u652f\u63f4AWS CloudTrail \u7684\u670d\u52d9\u4e2d\u7684\u4efb\u4f55API \u547c\u53eb\u90fd\u53ef\u4ee5\u900f\u904e\u56de\u61c9CloudTrail \u7a3d\u6838\u65e5\u8a8c\u5728Lambda \u4e2d\u4f5c\u70ba\u4e8b\u4ef6\u9032\u884c\u8655\u7406\u3002\u6709\u95dc\u4e8b\u4ef6\u4f86\u6e90\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u8acb\u53c3\u95b1Lambda \u4e8b\u4ef6\u4f86\u6e90\u3002<\/li>\n<li>AWS Lambda \u652f\u63f4\u4ee5Node.js (JavaScript)\u3001Python\u3001Java\uff08\u76f8\u5bb9Java 8\uff09\u3001C# (.NET Core)\u3001Go\u3001PowerShell \u548cRuby \u7de8\u5beb\u7684\u7a0b\u5f0f\u78bc\u3002\u60a8\u7684\u7a0b\u5f0f\u78bc\u53ef\u4ee5\u5305\u542b\u73fe\u6709\u5eab\uff0c\u751a\u81f3\u662f\u672c\u6a5f\u5eab\u3002\u8acb\u53c3\u95b1\u6709\u95dc\u4f7f\u7528Node.js\u3001Python\u3001Java\u3001C#\u3001Go\u3001PowerShell \u548cRuby \u7684AWS \u6587\u4ef6\u3002<\/li>\n<li>\u60a8\u53ef\u4ee5\u4f7f\u7528Docker CLI \u7b49\u5de5\u5177\u5c07Lambda \u51fd\u6578\u7a0b\u5f0f\u78bc\u548c\u76f8\u4f9d\u6027\u6253\u5305\u70ba\u5bb9\u5668\u6620\u50cf\u3002\u7136\u5f8c\uff0c\u60a8\u53ef\u4ee5\u5c07\u6620\u50cf\u4e0a\u50b3\u5230\u8a17\u7ba1\u5728Amazon ECR \u4e0a\u7684\u5bb9\u5668\u8a3b\u518a\u8868\u3002\u8acb\u6ce8\u610f\uff0c\u60a8\u5fc5\u9808\u5f9e\u8207Amazon ECR \u4e2d\u7684\u5bb9\u5668\u8a3b\u518a\u8868\u76f8\u540c\u7684\u5e33\u6236\u5efa\u7acbLambda \u51fd\u6578\u3002<\/li>\n<\/ul>\n<h3 id=\"heading-anti-patterns\" class=\"permalink-heading\">\u53cd\u6a21\u5f0f<\/h3>\n<ul>\n<li>AWS Lambda \u5177\u6709\u4ee5\u4e0b\u53cd\u6a21\u5f0f\uff1a\n<ul>\n<li><strong>\u9577\u6642\u9593\u904b\u884c\u7684\u61c9\u7528\u7a0b\u5f0f<\/strong>\u2014 \u6bcf\u500bLambda \u51fd\u6578\u5fc5\u9808\u5728900 \u79d2\u5167\u5b8c\u6210\u3002\u5c0d\u65bc\u53ef\u80fd\u9700\u8981\u4f5c\u696d\u904b\u884c\u6642\u9593\u8d85\u904e15 \u5206\u9418\u7684\u9577\u6642\u9593\u904b\u884c\u7684\u61c9\u7528\u7a0b\u5e8f\uff0c\u5efa\u8b70\u4f7f\u7528Amazon EC2\u3001Amazon EKS \u6216Amazon ECS\u3002\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Step Functions\u3002<\/li>\n<li><strong>\u52d5\u614b\u7db2\u7ad9<\/strong>\u2014 \u96d6\u7136\u53ef\u4ee5\u4f7f\u7528AWS Lambda \u4f86\u904b\u4f5c\u975c\u614b\u7db2\u7ad9\uff0c\u4f46\u7d93\u71df\u9ad8\u5ea6\u52d5\u614b\u4e14\u5bb9\u91cf\u5927\u7684\u7db2\u7ad9\u53ef\u80fd\u6703\u5f71\u97ff\u6548\u80fd\u3002\u5efa\u8b70\u4f7f\u7528Amazon EC2\u3001Amazon EKS \u6216Amazon ECS \u548cAWS CloudFormation\u3002<\/li>\n<li><strong>\u6709\u72c0\u614b\u61c9\u7528\u7a0b\u5f0f<\/strong>\u2014 Lambda \u7a0b\u5f0f\u78bc\u5fc5\u9808\u4ee5\u300c\u7121\u72c0\u614b\u300d\u98a8\u683c\u7de8\u5beb\uff0c\u9019\u610f\u5473\u8457\u5b83\u61c9\u8a72\u5047\u8a2d\u8207\u5e95\u5c64\u904b\u7b97\u57fa\u790e\u8a2d\u65bd\u6c92\u6709\u4efb\u4f55\u95dc\u806f\u3002\u672c\u6a5f\u6a94\u6848\u7cfb\u7d71\u5b58\u53d6\u3001\u5b50\u7a0b\u5e8f\u548c\u985e\u4f3c\u5de5\u4ef6\u4e0d\u5f97\u8d85\u51fa\u8acb\u6c42\u7684\u751f\u547d\u9031\u671f\uff0c\u4efb\u4f55\u6301\u4e45\u72c0\u614b\u90fd\u61c9\u5132\u5b58\u5728Amazon S3\u3001DynamoDB \u6216\u5176\u4ed6\u53ef\u900f\u904e\u7db2\u969b\u7db2\u8def\u4f7f\u7528\u7684\u5132\u5b58\u670d\u52d9\u4e2d\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><b>Oncloud AI<\/b>\u8eab\u70baAWS\u4ee3\u7406\u5546\uff0c\u63d0\u4f9b\u4e9e\u99ac\u905c\u96f2\u7aef\u670d\u52d9\uff0c\u652f\u63f4\u4e9e\u99ac\u905c\u96f2\u7aef\u4f3a\u670d\u5668AWS\u4ee3\u4ed8\u3001AWS\u9077\u79fb\u3001AWS\u7dad\u904b\u8a17\u7ba1\u7b49\u670d\u52d9\uff0c\u5982\u6709\u76f8\u95dc\u9700\u6c42\u53ef\u806f\u7e6b<strong>Oncloud AI<\/strong>\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>AWS Lambda \u662f\u4e9e\u99ac\u905cWeb \u670d\u52d9\uff08AWS\uff09\u63d0\u4f9b\u7684\u7121\u4f3a\u670d\u5668\u904b\u7b97\u670d\u52d9\uff0c\u65e8\u5728\u7c21\u5316\u61c9\u7528\u7a0b\u5f0f\u7684\u90e8\u7f72\u548c\u7ba1\u7406\u3002\u900f\u904eLambda\uff0c\u958b\u767c\u8005\u53ef\u4ee5\u904b\u884c\u7a0b\u5f0f\u78bc\u800c\u7121\u9700\u64d4\u5fc3\u4f3a\u670d\u5668\u7684\u914d\u7f6e\u3001\u7dad\u8b77\u6216\u64f4\u5c55\u3002 Lambda \u652f\u63f4\u591a\u7a2e\u7a0b\u5f0f\u8a9e\u8a00\uff0c\u4e26\u900f\u904e\u81ea\u52d5\u64f4\u5c55\u548c\u6309\u9700\u8a08\u8cbb\u7684\u65b9\u5f0f\u70ba\u4f7f\u7528\u8005\u63d0\u4f9b\u9748\u6d3b\u3001\u7d93\u6fdf\u9ad8\u6548\u7684\u904b\u7b97\u89e3\u6c7a\u65b9\u6848\u3002\u7121\u8ad6\u662f\u5728\u5efa\u7acb\u5fae\u670d\u52d9\u3001\u8655\u7406\u8cc7\u6599\u6d41\uff0c\u9084\u662f\u56de\u61c9\u5373\u6642\u4e8b\u4ef6\uff0cAWS Lambda \u90fd\u80fd\u63d0\u4f9b\u5f37\u5927\u7684\u652f\u6301\uff0c\u662f\u73fe\u4ee3\u96f2\u7aef\u904b\u7b97\u74b0\u5883\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u5de5\u5177\u4e4b\u4e00\u3002<\/p>","protected":false},"author":1,"featured_media":1173,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[65],"tags":[],"class_list":["post-1171","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\/1171","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=1171"}],"version-history":[{"count":0,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/posts\/1171\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media\/1173"}],"wp:attachment":[{"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/media?parent=1171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/categories?post=1171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aws-oncloudai.com\/zh_hk\/wp-json\/wp\/v2\/tags?post=1171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}