{"id":225138,"date":"2020-11-28T02:51:38","date_gmt":"2020-11-27T18:51:38","guid":{"rendered":"http:\/\/4563.org\/?p=225138"},"modified":"2020-11-28T02:51:38","modified_gmt":"2020-11-27T18:51:38","slug":"aws-lambda-run-container-image-%e5%9c%a8-lambda-%e4%b8%8a%e8%b7%91-container","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=225138","title":{"rendered":"AWS Lambda Run Container Image \u5728 lambda \u4e0a\u8dd1 container"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  AWS Lambda Run Container Image \u5728 lambda \u4e0a\u8dd1 container               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : way2explore2 <\/span>  <span><i><\/i> 6<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5c0f\u4f19\u4f34\u4eec\u6709\u8bd5\u8fc7\u5417\uff1f<\/p>\n<ul>\n<li>\u6709\u4eba\u4e86\u89e3\u6216\u8005\u613f\u610f\u53cd\u63a8 AWS \u5177\u4f53\u5b9e\u73b0\u5417\uff1f \u54c8\u54c8\u3002<\/li>\n<li>\u56e0\u4e3a\u6211\u53d1\u73b0\u51b7\u542f\u52a8\u65f6\u95f4\u5f88\u77ed\uff0c\u548c\u666e\u901a lambda \u51b7\u542f\u52a8\u76f8\u5dee\u4e0d\u591a\u3002<\/li>\n<\/ul><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>17<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4548960\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lihongming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8bf4\u7684\u662f fargate \u5427\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548961\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whileFalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u8981\u770b\u4f60\u955c\u50cf\u6709\u591a\u5927\u3002<br \/>\u4f60\u641e\u4e00\u4e2a 10G \u7684\u955c\u50cf\u8bd5\u8bd5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548962\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : whileFalse <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lihongming Lambda \u7684\u65b0\u529f\u80fd\uff0c\u80fd\u8dd1 Docker \u955c\u50cf\uff0c\u6211\u6ca1\u4ed4\u7ec6\u770b\u4e0d\u8fc7\u5e94\u8be5\u9650\u5236\u5fc5\u987b\u6709\u7279\u5b9a\u7684\u542f\u52a8\u5165\u53e3\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548963\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u786e\u5b9e\u5f88\u725b\uff0c\u6211\u4e91\u7684\u51fd\u6570\u652f\u6301\u5bb9\u5668\u6709\u51e0\u4e2a\u6708\u4e86\uff0c\u76ee\u524d\u8fd8\u5728\u6301\u7eed\u4f18\u5316\u51b7\u542f\u52a8\uff0c\u5f88\u591a\u6280\u672f\u53ef\u4ee5\u6316\u6398\uff0c\u611f\u5174\u8da3\u7684\u53ef\u4ee5\u8bd5\u8bd5\uff0c\u6b22\u8fce\u52a0\u76df\u3002<\/p>\n<p>\u4e00\u4e2a\u793a\u4f8b\u9879\u76ee\uff1a https:\/\/github.com\/awesome-fc\/custom-container-docs                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548964\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : way2explore2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whileFalse \u542f\u52a8\u5165\u53e3 \u4e00\u822c js app.handler \u548c lambda \u4fdd\u6301\u4e00\u81f4                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548965\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : way2explore2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lihongming \u662f\u4e24\u4e2a\u4e1c\u897f\u3002<\/p>\n<p>Fargate \u662f\u5728 ECS \u4e0a\uff0clambda \u662f lambda                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548966\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : way2explore2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hq \u963f\u91cc\u4e91\u7684 serverless \uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548967\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bleepbloop <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u8fd9\u4e2a\u4e1c\u897f\u5f88\u5947\u602a\uff0clambda \u8dd1\u5bb9\u5668\u592a\u8d35\u4e86\u5427\uff0clambda \u8fd8\u662f\u9002\u5408\u90a3\u79cd\u542f\u52a8\u6bd4\u8f83\u8fc5\u901f\u7684\uff0c\u65f6\u95f4\u80fd\u591a\u82b1\u70b9\u5728\u8ba1\u7b97\u4e0a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548968\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : way2explore2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bleepbloop \u6211\u521a\u8bd5\u4e86\uff0c\u7adf\u7136\u4e0d\u6bd4\u666e\u901a lambda \u6162\uff0c\u57fa\u672c\u76f8\u4eff\u3002<\/p>\n<p>\u6211\u89c2\u70b9\u548c\u4f60\u57fa\u672c\u4e00\u6837\uff0c\u5927\u7684 service \u653e lambda \u8fd8\u662f\u5fc3\u91cc\u6ca1\u5e95                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548969\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lihongming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @whileFalse wow\uff0c\u90a3\u6211\u5f97\u597d\u597d\u770b\u770b\u53bb\uff0c\u80fd\u53d6\u4ee3 fargate \u5c31\u592a\u68d2\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548970\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @way2explore2 \u662f\u7684\uff0c\u963f\u91cc\u4e91\u51fd\u6570\u8ba1\u7b97\uff0c\u8fd9\u4e2a\u65b9\u5411\u6709\u5f88\u591a\u6709\u610f\u601d\u7684\u4f18\u5316\u70b9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548971\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lihongming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bleepbloop \u5176\u5b9e Lambda \u7684\u539f\u7406\u4e5f\u662f\u5bb9\u5668\uff0c\u800c\u4e14\u662f\u5728\u51b7\u542f\u52a8\u65f6\u4e34\u65f6\u4e0b\u8f7d\u4f60\u7684\u6e90\u7801\u518d\u7f16\u8bd1\u3001\u8fd0\u884c\u3002\u6240\u4ee5\u6211\u731c\u76f4\u63a5\u8fd0\u884c\u5bb9\u5668\u5e94\u8be5\u4e0d\u6bd4\u4ee5\u524d\u6162\uff0c\u800c\u4e14\u63d0\u4f9b\u4e86\u66f4\u5927\u7684\u7075\u6d3b\u6027\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548972\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : way2explore2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hq \u5f88\u611f\u5174\u8da3\uff0c\u4f46\u81ea\u5df1\u6ca1\u4ec0\u4e48\u673a\u4f1a\uff0c\u6bd5\u7adf\u4e0d\u5728\u90a3\u4e0a\u73ed\uff0c\u4e0d\u77e5\u9053\u6280\u672f\u7ec6\u8282                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548973\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @way2explore2 \u963f\u91cc\u5173\u4e8e\u955c\u50cf\u52a0\u901f\u65b9\u9762\u79ef\u7d2f\u633a\u591a\uff0c\u81ea\u5df1\u7814\u7a76\u53ef\u4ee5\u770b\u4e0b\u4e0b\u9762\u4e24\u4e2a\u9879\u76ee\uff0c\u5bf9\u8fd9\u65b9\u9762\u7684\u5de5\u4f5c\u611f\u5174\u8da3\u53ef\u4ee5\u8054\u7cfb\u6211\uff0c\u90ae\u7bb1\u5728\u4e2a\u4eba\u4ecb\u7ecd\u91cc\u3002<br \/>https:\/\/d7y.io\/zh-cn\/<br \/>https:\/\/developer.aliyun.com\/article\/771742                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548974\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bleepbloop <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @lihongming lambda \u548c fargate \u662f MicroVM &#8212; Firecracker\uff0c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548975\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bleepbloop <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @way2explore2 \u5176\u5b9e\u6211\u7684\u610f\u601d\u662f\uff0c\u5982\u679c\u7a0b\u5e8f\u5f88\u5c0f\uff0c\u7a0b\u5e8f\u672c\u8eab\u542f\u52a8\u4f1a\u5f88\u5feb\uff0c\u7528\u666e\u901a lambda \u8db3\u77e3\uff0c\u4f46\u5982\u679c\u7a0b\u5e8f\u4f9d\u8d56\u9879\u592a\u591a\uff0c\u666e\u901a lambda \u4e0d\u591f\u7528\uff0c\u9700\u8981\u7528\u5bb9\u5668\u7684\u8bdd\uff0c\u90a3\u4e48\u7a0b\u5e8f\u542f\u52a8\u53ef\u80fd\u4f1a\u6162\uff0c\u7528 lambda \u7684\u8bdd\u592a\u8d35\u4e86\u3002<\/p>\n<p>lambda \u662f\u6309\u7a0b\u5e8f\u603b\u6267\u884c\u65f6\u95f4\u6536\u8d39\u7684\uff0c\u800c\u4e0d\u4f1a\u8003\u8651\u5b9e\u9645\u4f7f\u7528\u7684 cpu \u65f6\u95f4\uff08\u5bf9 IO bound \u7684\u7a0b\u5e8f\u6765\u8bf4\u592a\u6d6a\u8d39\u4e86\uff09\uff0c\u653e\u5728 ec2 \u4e0a\uff0c\u591a\u4e2a\u7a0b\u5e8f\u5171\u4eab cpu \u53cd\u800c\u4fbf\u5b9c\u3002<\/p>\n<p>\u6b64\u5916 lambda \u7684\u5355\u4ef7\u4e5f\u9ad8                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4548976\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : DopaminePlz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ea\u5173\u5fc3\u722c\u5899\u548c\u7b80\u5355\u7684\u9759\u6001\u7f51\u9875\u670d\u52a1\u3002\u8bf7\u95ee\u8fd9\u4e2a\u53ef\u4ee5\u7528\u6765\u51fa\u56fd\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>AWS Lambda Run Co&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225138"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225138"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225138\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225138"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}