{"id":49649,"date":"2022-11-23T12:28:40","date_gmt":"2023-07-23T21:18:29","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/"},"modified":"2024-04-29T02:08:15","modified_gmt":"2024-04-28T18:08:15","slug":"aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/","title":{"rendered":"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011"},"content":{"rendered":"<p>\u4e3a\u4e86\u5b66\u4e60\u963f\u91cc\u4e91\uff0c\u901a\u5e38\u4e3b\u8981\u4f7f\u7528AWS\u7684\u5de5\u7a0b\u5e08\u63d0\u4f9b\u4e86\u76f8\u5173\u4fe1\u606f\u548c\u6b65\u9aa4\u3002<\/p>\n<p>\u8fd9\u6b21\u7684\u5185\u5bb9\u662f\u4ec0\u4e48<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">start-web-framework\u306e\u7d39\u4ecb(\u518d\u63b2)<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Function Compute\u3092\u5229\u7528\u3057\u305fWeb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af(Django)\u3092Serverless Devs\u3067\u5b9f\u88c5<\/ul>\n<p>\u8fd9\u5c06\u662f\u5982\u4e0b\u6240\u8ff0\u3002<\/p>\n<h2>\u514d\u8d23\u58f0\u660e<\/h2>\n<p>\u6b64\u6587\u662f\u6839\u636e\u53d1\u5e03\u65f6\u7684\u4fe1\u606f\u7f16\u5199\u7684\uff0c\u53ef\u80fd\u4e0e\u6700\u65b0\u4fe1\u606f\u4e0d\u540c\u3002<br \/>\n\u6b64\u6587\u4e0d\u80fd\u4fdd\u8bc1\u5b8c\u6574\u6027\u3001\u51c6\u786e\u6027\u3001\u5b9e\u7528\u6027\u3001\u5b89\u5168\u6027\u7b49\u3002<br \/>\n\u5982\u679c\u60a8\u4f7f\u7528\u6b64\u6587\uff0c\u8bf7\u81ea\u884c\u8d1f\u8d23\u3002<\/p>\n<h2>\u25a0 \u5148\u51b3\u6761\u4ef6<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Alibaba Cloud\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u307e\u3059\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>Alibaba Cloud \u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210<\/p>\n<p>AWS\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u5b66\u7fd2\u3059\u308bAlibaba Cloud\u3010Function Compute\u7de8 (2)\u3011\u307e\u3067\u3092\u5b9f\u65bd\u6e08\u307f\u306e\u74b0\u5883\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u307e\u3059\u3002<\/p>\n<h2>\u6982\u8ff0<\/h2>\n<h3>\u5f00\u59cbweb\u6846\u67b6<\/h3>\n<p>\u5728\u4e0a\u4e00\u6b21\u7684Laravel\u7248\u4e2d\u4e5f\u8fdb\u884c\u4e86\u7c7b\u4f3c\u7684\u89e3\u91ca\uff0cstart-web-framework\u662f\u4e00\u4e2a\u5229\u7528\u963f\u91cc\u5df4\u5df4\u4e91\u7684Web\u6846\u67b6\u5e94\u7528\u6848\u4f8b\u3002<br \/>\n\u5df2\u7ecf\u516c\u5f00\u4e86\u5c06Web\u6846\u67b6\u90e8\u7f72\u5230\u963f\u91cc\u4e91\u7684\u51fd\u6570\u8ba1\u7b97\u7684\u65b9\u6cd5\u3002<br \/>\n\u540c\u65f6\uff0c\u8fd9\u4e5f\u6210\u4e3a\u4e86Serverless Devs\u9879\u76ee\u7684\u9ed8\u8ba4\u4ed3\u5e93\u4e4b\u4e00\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">start-web-framework<\/ul>\n<\/li>\n<\/ul>\n<p>https:\/\/github.com\/devsapp\/start-web-framework\/blob\/master\/readme_en.md<\/p>\n<p>\u73b0\u5728\uff0cWeb\u6846\u67b6\u7684\u90e8\u7f72\u65b9\u6cd5\u5982\u4e0b\uff0c\u5728start-web-framework\u5df2\u7ecf\u516c\u5f00\uff1a<\/p>\n<div>\n<div class=\"post-table\">Node.jsPythonPHPGoJavaOthersExpress [custom]Flask [python3]Think PHP [custom]BeeGoTomcat\/JettyGatsbyEgg [custom]Tornado [custom]Laravel [custom]Gin [custom]SpringBoot [custom]Hugo [custom]Nextjs [custom]Bottle [python3]Discuz [custom]-Quarkus-Nuxtjs [custom]Web.py [python3]WordPress [custom]&#8212;Hapi [custom]Django [python3]Zblog [custom]&#8212;Koa [custom]FastAPI [custom]Ecshop [custom]&#8212;Nest [custom]Web2pyMetinfo [custom]&#8212;Midway-koa [custom]Pyramid [python3]Whatsns [custom]&#8212;Vue.js [custom]-Typecho [custom]&#8212;<\/div>\n<\/div>\n<p>\u8fd9\u6b21\u6211\u51c6\u5907\u53c2\u8003Serverless Devs\u4f7f\u7528Python\u5f00\u53d1\u4e2d\u6700\u53d7\u6b22\u8fce\u7684WEB\u6846\u67b6Django\u7684start-web-framework\u6765\u8fdb\u884c\u5b9e\u73b0\u3002<\/p>\n<h2>\u25a0 \u8ba9\u6211\u4eec\u5f00\u59cb\u5427 ba)<\/h2>\n<h3>1. \u4f7f\u7528\u51fd\u6570\u8ba1\u7b97\u8fdb\u884c\u6267\u884c\uff08Serverless Devs\uff09<\/h3>\n<p>\u8fd9\u6b21\u6211\u4eec\u8fd8\u662f\u4f7f\u7528Serverless Devs\u6765\u90e8\u7f72Django\uff0c\u5e76\u5c55\u793a\u201cHello World\u201d\u7684\u5185\u5bb9\u3002\u8fd9\u4e2a\u6b65\u9aa4\u4e5f\u662f\u4e0a\u4e00\u6b21\uff08\u51fd\u6570\u8ba1\u7b97\u7bc7(2)\uff09\u7684\u5ef6\u7eed\u3002<\/p>\n<p>&#8211; \u521b\u5efa\u300cAliyunFcDefaultRole\u300d\u89d2\u8272<br \/>\n&#8211; \u521b\u5efa\u300cRAM\u7528\u6237(serverlessdevstest)\u300d\u5e76\u751f\u6210AccessKey\/AccessKey Secret<br \/>\n&#8211; \u4e3a\u300cRAM\u7528\u6237(serverlessdevstest)\u300d\u6dfb\u52a0AdministratorAccess\u6743\u9650<\/p>\n<p>\u5df2\u7ecf\u6267\u884c\u4e86\u3002<\/p>\n<h4>1.1. \u767b\u5f55\u963f\u91cc\u5df4\u5df4\u4e91<\/h4>\n<p>\u8bf7\u8f93\u5165\u60a8\u7684\u8d26\u53f7\uff08\u7535\u5b50\u90ae\u4ef6\uff09\u548c\u5bc6\u7801\uff0c\u7136\u540e\u70b9\u51fb\u3010\u767b\u5f55\u3011\u6309\u94ae\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/22-0.png\" alt=\"FunctionCompute_10001.PNG\" \/><\/div>\n<h4>1.2. \u542f\u52a8CloudShell<\/h4>\n<p>\u4e3a\u4e86\u8fdb\u884c\u9a8c\u8bc1\uff0c\u672c\u6b21\u4e5f\u5c06\u5728CloudShell\u4e2d\u6267\u884cServerlessDevs\u3002<br \/>\n\u8bf7\u70b9\u51fb\u5c4f\u5e55\u4e0a\u7684\u83dc\u5355\uff0c\u9009\u62e9\u3010CloudShell\u3011\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/25-0.png\" alt=\"FunctionCompute_10008.PNG\" \/><\/div>\n<p>\u786e\u8ba4CloudShell\u7684\u7ec8\u7aef\u663e\u793a\u5728\u753b\u9762\u5e95\u90e8\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/27-0.png\" alt=\"FunctionCompute_10009.PNG\" \/><\/div>\n<h4>1.3. \u5f15\u5165 Serverless Devs \u5f00\u53d1\u8005\u5de5\u5177<\/h4>\n<p>\u5728CloudShell\u7684\u7ec8\u7aef\u4e2d\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u5b89\u88c5Serverless Devs\u5f00\u53d1\u8005\u5de5\u5177\u3002<br \/>\n\u5982\u679c\u5728CloudShell\u4e4b\u5916\u5b89\u88c5\uff0c\u8bf7\u5148\u5b89\u88c5Node.js12\u6216\u66f4\u65b0\u7248\u672c\uff0c\u7136\u540e\u518d\u6267\u884c\u8be5\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>npm install @serverless-devs\/s -g\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/31-0.png\" alt=\"FunctionCompute_10009_1.PNG\" \/><\/div>\n<h4>1.4. \u521d\u59cb\u5316\u5e76\u90e8\u7f72 Serverless Devs \u9879\u76ee<\/h4>\n<p>\u5b89\u88c5\u5b8cServerless Devs\u5f00\u53d1\u8005\u5de5\u5177\u540e\uff0c\u901a\u8fc7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u521d\u59cb\u5316\u9879\u76ee\u3002\u6b64\u6b21\u6211\u4eec\u5728init\u547d\u4ee4\u540e\u6dfb\u52a0start-django\uff0c\u4ee5\u4ece\u9ed8\u8ba4\u4ed3\u5e93\u83b7\u53d6Django\u9879\u76ee\u6a21\u677f\u3002\u6709\u5173init\u547d\u4ee4\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u8bf7\u53c2\u9605Doc\u4e2d\u7684init command\u3002<\/p>\n<pre class=\"post-pre\"><code>s init start-django -d start-django\r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/35-0.png\" alt=\"FunctionCompute_40001.PNG\" \/><\/div>\n<p>\u5728\u9879\u76ee\u521d\u59cb\u5316\u754c\u9762\u4e0a\uff0c\u60a8\u9700\u8981\u8f93\u5165\u6216\u9009\u62e9\u4ee5\u4e0b\u9879\u76ee\u3002\u672c\u6b21\u9009\u62e9\u754c\u9762\u7684\u4e00\u90e8\u5206\u663e\u793a\u4e3a\u4e2d\u6587\u3002<br \/>\n\u8fd9\u4e2a\u663e\u793a\u4f3c\u4e4e\u53ea\u662f\u6682\u65f6\u7684\uff0c\u5c06\u6765\u4f1a\u88ab\u4fee\u6b63\uff0c\u4f46\u5728\u672c\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u6309\u7167\u5c4f\u5e55\u4e0a\u7684\u9009\u62e9\u9879\u8fdb\u884c\u8bb0\u5f55\uff0c\u4f5c\u4e3a\u4e00\u79cd\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u521b\u5efa\u5e94\u7528\u6240\u5728\u7684\u5730\u533a<br \/>\n(\u8a33\uff1a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u914d\u7f6e\u3059\u308b\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b)<\/p>\n<p>\u8acb\u8f38\u5165\u6771\u4eac\u5340\u57df(ap-northeast-1)\u3002<\/p>\n<p>\u670d\u52a1\u540d\u79f0\uff0c\u53ea\u80fd\u5305\u542b\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u4e0b\u5212\u7ebf\u548c\u4e2d\u5212\u7ebf\u3002\u4e0d\u80fd\u4ee5\u6570\u5b57\u3001\u4e2d\u5212\u7ebf\u5f00\u5934\u3002\u957f\u5ea6\u5728 1-128 \u4e4b\u95f4<br \/>\n(\u8a33\uff1a\u30b5\u30fc\u30d3\u30b9\u540d\u3002\u82f1\u5b57\u3001\u6570\u5b57\u3001\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u3001\u4e0b\u7dda\u306e\u307f\u53ef\u3002 \u6570\u5b57\u3084\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u304b\u3089\u306e\u958b\u59cb\u306f\u4e0d\u53ef\u3002 \u6587\u5b57\u6570\u306f1\u304b\u3089128 \u307e\u3067)<\/p>\n<p>\u8bf7\u5728\u8f93\u5165\u4e2d\u5199\u5165Function Compute\u7684\u670d\u52a1\u540d\u79f0\uff08\u6b64\u6b21\u8f93\u5165\u4e3a&#8221;FirstWebFlameworkServerlessDevsDjango&#8221;\uff09\u3002<\/p>\n<p>\u51fd\u6570\u540d\u79f0\uff0c\u53ea\u80fd\u5305\u542b\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u4e0b\u5212\u7ebf\u548c\u4e2d\u5212\u7ebf\u3002\u4e0d\u80fd\u4ee5\u6570\u5b57\u3001\u4e2d\u5212\u7ebf\u5f00\u5934\u3002\u957f\u5ea6\u5728 1-64 \u4e4b\u95f4<br \/>\n(\u8a33\uff1a\u95a2\u6570\u540d\u3002\u82f1\u5b57\u3001\u6570\u5b57\u3001\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u3001\u4e0b\u7dda\u306e\u307f\u53ef\u3002 \u6570\u5b57\u3084\u30a2\u30f3\u30c0\u30fc\u30b9\u30b3\u30a2\u304b\u3089\u306e\u958b\u59cb\u306f\u4e0d\u53ef\u3002 \u6587\u5b57\u6570\u306f1\u304b\u308964 \u307e\u3067)<\/p>\n<p>\u8bf7\u8f93\u5165Function Compute\u7684\u51fd\u6570\u540d\uff08\u672c\u6b21\u8f93\u5165\u4e3a&#8221;FirstWebFlameworkServerlessDevsDjango&#8221;\uff09\u3002<\/p>\n<ul class=\"post-ul\">please select credential alias (Use arrow keys)<\/ul>\n<p>\u9009\u62e9\u9ed8\u8ba4\u7684 Serverless Devs \u8bbf\u95ee\u9009\u9879<\/p>\n<p>\u7531\u4e8e\u8fd9\u6b21\u8fd8\u6d89\u53ca\u5230\u662f\u5426\u8fdb\u884c\u90e8\u7f72\u7684\u9009\u62e9\uff0c\u6240\u4ee5\u8bf7\u60a8\u8f93\u5165\u3010Y\u3011\u8fdb\u884c\u90e8\u7f72\u3002<\/p>\n<ul class=\"post-ul\">Do you want to deploy the project immediately? (Y\/n)<\/ul>\n<p>\u9009\u62e9Y<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/48-0.png\" alt=\"FunctionCompute_40002.PNG\" \/><\/div>\n<p>\u90e8\u7f72\u5b8c\u6210\u540e\uff0c\u5c06\u663e\u793a\u90e8\u7f72\u7ed3\u679c\uff0c\u8bf7\u786e\u8ba4\u3002<br \/>\n\u4e3a\u4e86\u8fdb\u884c\u64cd\u4f5c\u786e\u8ba4\uff0c\u5c06\u4fdd\u7559\u90e8\u7f72\u7ed3\u679c\uff08\u5728\u672c\u6b21\u60c5\u51b5\u4e0b\u662f\u201cframework\u201d\u4ee5\u4e0b\uff09\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/50-0.png\" alt=\"FunctionCompute_40003.PNG\" \/><\/div>\n<p>\u5982\u679c\u60a8\u6ca1\u6709\u8bb0\u5f55\u90e8\u7f72\u7ed3\u679c\uff0c\u7a0d\u540e\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u786e\u8ba4\u3002<\/p>\n<pre class=\"post-pre\"><code>cd [\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d]\r\ns info\r\n<\/code><\/pre>\n<h4>1.5. \u5728\u521b\u5efaServerless Devs\u9879\u76ee\u540e\u8fdb\u884c\u64cd\u4f5c\u9a8c\u8bc1\uff08\u521d\u59cb\u754c\u9762\uff09\u3002<\/h4>\n<p>\u4f7f\u7528\u6d4f\u89c8\u5668\uff08\u5982Chrome\uff09\u6216\u547d\u4ee4\u884c\u5de5\u5177\uff08\u5982curl\uff09\u5bf9\u90e8\u7f72\u7ed3\u679c\u4e2d\u663e\u793a\u7684URL\u8fdb\u884c\u64cd\u4f5c\u786e\u8ba4\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">system_url : https:\/\/firstwevsdjango-firstwevsdjango-************.ap-northeast-1.fcapp.run<\/ul>\n<\/li>\n<\/ul>\n<p>\u300cDjango\u300d\u306e\u521d\u671f\u753b\u9762\u304c\u51fa\u529b\u3055\u308c\u305fHTML\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97<\/p>\n<p>custom_domain : http:\/\/firstwebflameworkserverlessdevsdjango.firstwebflameworkserverlessdevsdjango.*****************.ap-northeast-1.fc.devsapp.net<\/p>\n<p>\u300cDjango\u300d\u306e\u521d\u671f\u753b\u9762\u304c\u8868\u793a<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/56-0.png\" alt=\"FunctionCompute_40004.PNG\" \/><\/div>\n<h4>1.6. \u68c0\u67e5Serverless Devs\u9879\u76ee\u521b\u5efa\u540e\u7684\u7248\u672c\u4fe1\u606f<\/h4>\n<p>\u60a8\u53ef\u4ee5\u901a\u8fc7__init__.py\u6587\u4ef6\u6765\u67e5\u770bDjango\u7684\u7248\u672c\u3002<br \/>\n\u5728\u672c\u9879\u76ee\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u7684\u662fDjango 3.1.7\u3002<\/p>\n<pre class=\"post-pre\"><code>cat ~\/start-django\/code\/django\/__init__.py  \r\n<\/code><\/pre>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/60-0.png\" alt=\"FunctionCompute_40005.PNG\" \/><\/div>\n<h4>1.7. \u6dfb\u52a0\u5b9e\u73b0\u300cHello World\u300d<\/h4>\n<p>\u7531\u4e8e\u672c\u6b65\u9aa4\u6d89\u53caDjango\u7684\u5185\u5bb9\uff0c\u6240\u4ee5\u7701\u7565\u4e86\u914d\u7f6e\u7684\u8be6\u7ec6\u4fe1\u606f\u3002\u5982\u679c\u60a8\u60f3\u8981\u4e86\u89e3\u8be6\u7ec6\u5185\u5bb9\uff0c\u8bf7\u53c2\u9605Django\u6587\u6863\u7b49\u76f8\u5173\u8d44\u6599\u3002<\/p>\n<p>\u8fd9\u6b21\u4e5f<\/p>\n<p>http:\/\/[\u5728\u90e8\u7f72\u7ed3\u679c\u8f93\u51fa\u7684URL(custom_domain)]\/hello<\/p>\n<p>\u6211\u5011\u5c07\u5728\u51fd\u6578\u5f0f\u8996\u5716\u4e2d\u65b0\u589e\u4e00\u500b\u8a2d\u5b9a\uff0c\u7576\u8a2a\u554f\u8a72\u7db2\u5740\u6642\u986f\u793a\u300cHello World\u300d\u3002\u7531\u65bc\u5728\u90e8\u7f72\u6642\u5df2\u7d93\u5b58\u5728\u540d\u70ba\u300cHello World\u300d\u7684\u61c9\u7528\u7a0b\u5f0f\u76ee\u9304\uff0c\u6211\u5011\u5c07\u4f7f\u7528\u8a72\u76ee\u9304\u9032\u884c\u5be6\u4f5c\u3002<\/p>\n<h5>\u521b\u5efaHTML\u6a21\u677f<\/h5>\n<p>\u9996\u5148\uff0c\u8fdb\u5165start-django\u76ee\u5f55\u4e0b\u7684code\u76ee\u5f55\u3002<br \/>\n\u7136\u540e\uff0c\u5728App\u76ee\u5f55\uff08HelloWorld\u76ee\u5f55\uff09\u4e0b\uff0c\u521b\u5efa\u4e00\u4e2a\u663e\u793a\u201cHello World\u201d\u7684HTML\u6a21\u677f\uff08\u4f4d\u4e8etemplates\u76ee\u5f55\u4e0b\u7684index.html\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>$ cd start-django\/code\/\r\n$ mkdir HelloWorld\/templates\r\n$ vi HelloWorld\/templates\/index.html\r\n<\/code><\/pre>\n<p>\u8bf7\u5728index.html\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u884c\uff0c\u5e76\u4fdd\u5b58\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"ja\"&gt;\r\n    &lt;head&gt;\r\n        &lt;meta charset=\"utf-8\"&gt;\r\n        &lt;title&gt;Hello World&lt;\/title&gt;\r\n    &lt;\/head&gt;\r\n    &lt;body&gt;\r\n         Hello World\r\n    &lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<h5>\u521b\u5efa Views<\/h5>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u4f7f\u7528 vi \u547d\u4ee4\u5728 Views \u6587\u4ef6 (views.py) \u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 HTML \u6a21\u677f (templates \u76ee\u5f55\u4e0b\u7684 index.html)\u3002<\/p>\n<pre class=\"post-pre\"><code>$ vi HelloWorld\/views.py\r\n<\/code><\/pre>\n<p>\u8bf7\u5728Views\u6587\u4ef6(views.py)\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u884c\u4ee3\u7801\u6765\u8c03\u7528HTML\u6a21\u677f(\u4f4d\u4e8etemplates\u76ee\u5f55\u4e0b\u7684index.html)\uff0c\u7136\u540e\u4fdd\u5b58\u3002<\/p>\n<pre class=\"post-pre\"><code>from django.shortcuts import render\r\n\r\ndef hello(request):\r\n    return render(request, 'index.html')                                 \r\n<\/code><\/pre>\n<h5>\u521b\u5efa\u8def\u7531<\/h5>\n<p>\u521b\u5efaViews\u6587\u4ef6(views.py)\u540e\uff0c\u901a\u8fc7vi\u547d\u4ee4\u6253\u5f00Route\u6587\u4ef6(urls.py)\u3002<\/p>\n<pre class=\"post-pre\"><code>$ vi HelloWorld\/urls.py \r\n<\/code><\/pre>\n<p>\u8bf7\u5728Route\u6587\u4ef6(urls.py)\u4e2d\u6dfb\u52a0&#8221;\u6587\u4ef6\u5bfc\u5165&#8221;\u548c&#8221;\u5f53\u8bbf\u95ee\u7279\u5b9aURL\u65f6\u8981\u6267\u884c\u7684\u64cd\u4f5c&#8221;\uff08&lt;= \u6dfb\u52a0\u7684\u90e8\u5206\uff09\uff0c\u7136\u540e\u4fdd\u5b58\u3002<\/p>\n<pre class=\"post-pre\"><code># from django.contrib import admin\r\nfrom django.urls import path\r\nimport index.views\r\nfrom .views import hello &lt;= \u8ffd\u52a0\r\n\r\nurlpatterns = [\r\n    path('', index.views.index),\r\n    #    path('admin\/', admin.site.urls),\r\n    path('hello\/', hello,name='hello'), &lt;= \u8ffd\u52a0\r\n]\r\n<\/code><\/pre>\n<h5>\u5c06\u5e94\u7528\u7a0b\u5e8f\u6ce8\u518c\u5230INSTALLED_APPS<\/h5>\n<p>\u6700\u540e\uff0c\u4e3a\u4e86\u5c06\u201cHelloWorld\u201d\u5e94\u7528\u7a0b\u5e8f\u6dfb\u52a0\u5230INSTALLED_APPS\u7684\u8bbe\u7f6e\u4e2d\uff0c\u6253\u5f00\u914d\u7f6e\u6587\u4ef6\uff08settings.py\uff09\u4f7f\u7528vi\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>$ vi HelloWorld\/settings.py\r\n<\/code><\/pre>\n<p>\u5728\u300cINSTALLED_APPS\u300d\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u540d\u4e3a&#8221;HelloWorld&#8221;\u7684\u5e94\u7528\u7a0b\u5e8f\uff08&lt;= \u8ffd\u52a0\u7684\u4f4d\u7f6e\uff09\uff0c\u7136\u540e\u4fdd\u5b58\u3002<\/p>\n<pre class=\"post-pre\"><code># Application definition\r\n\r\nINSTALLED_APPS = [\r\n    'django.contrib.auth',\r\n    'django.contrib.contenttypes',\r\n    'django.contrib.sessions',\r\n    'django.contrib.messages',\r\n    'django.contrib.staticfiles',\r\n    'index.apps.IndexConfig',\r\n    'HelloWorld', &lt;= \u8ffd\u52a0\r\n]\r\n<\/code><\/pre>\n<h4>1.8. \u786e\u8ba4Serverless Devs\u9879\u76ee\u521b\u5efa\u540e\u7684\u8fd0\u884c\u60c5\u51b5\uff08Hello World\uff09<\/h4>\n<p>\u5c06\u518d\u6b21\u6267\u884c\u9879\u76ee\u90e8\u7f72\u3002<\/p>\n<pre class=\"post-pre\"><code>cd ~\/start-django &amp;&amp; s deploy -y\r\n<\/code><\/pre>\n<p>\u5728\u90e8\u7f72\u5b8c\u6210\u540e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u6d4f\u89c8\u5668\uff08\u5982Chrome\uff09\u6216\u547d\u4ee4\u884c\u5de5\u5177\uff08\u5982curl\uff09\u6765\u786e\u8ba4\u8be5URL\uff08\u5728\u4e0b\u9762\uff09\u662f\u5426\u6dfb\u52a0\u4e86\/hello\u3002<\/p>\n<ul class=\"post-ul\">custom_domain : http:\/\/firstwebflameworkserverlessdevsdjango.firstwebflameworkserverlessdevsdjango.*****************.ap-northeast-1.fc.devsapp.net\/hello<\/ul>\n<p>\u5982\u679c\u6b63\u5e38\u8fd0\u884c\uff0c\u5c06\u663e\u793a\u4ee5\u4e0b\u753b\u9762\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/92-0.png\" alt=\"FunctionCompute_40006.PNG\" \/><\/div>\n<h2>\u25a0 \u4e0b\u6b21<\/h2>\n<p>\u6211\u4e0b\u56de\u60f3\u5c1d\u8bd5\u8fdb\u884c\u6709\u5173Java\u7684\u5b9e\u73b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4e86\u5b66\u4e60\u963f\u91cc\u4e91\uff0c\u901a\u5e38\u4e3b\u8981\u4f7f\u7528AWS\u7684\u5de5\u7a0b\u5e08\u63d0\u4f9b\u4e86\u76f8\u5173\u4fe1\u606f\u548c\u6b65\u9aa4\u3002 \u8fd9\u6b21\u7684\u5185\u5bb9\u662f\u4ec0\u4e48 start-web-fra [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-49649","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/aws\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011\" \/>\n<meta property=\"og:description\" content=\"\u4e3a\u4e86\u5b66\u4e60\u963f\u91cc\u4e91\uff0c\u901a\u5e38\u4e3b\u8981\u4f7f\u7528AWS\u7684\u5de5\u7a0b\u5e08\u63d0\u4f9b\u4e86\u76f8\u5173\u4fe1\u606f\u548c\u6b65\u9aa4\u3002 \u8fd9\u6b21\u7684\u5185\u5bb9\u662f\u4ec0\u4e48 start-web-fra [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/aws\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-23T21:18:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-28T18:08:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/22-0.png\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/\",\"name\":\"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-07-23T21:18:29+00:00\",\"dateModified\":\"2024-04-28T18:08:15+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/aws\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011","og_description":"\u4e3a\u4e86\u5b66\u4e60\u963f\u91cc\u4e91\uff0c\u901a\u5e38\u4e3b\u8981\u4f7f\u7528AWS\u7684\u5de5\u7a0b\u5e08\u63d0\u4f9b\u4e86\u76f8\u5173\u4fe1\u606f\u548c\u6b65\u9aa4\u3002 \u8fd9\u6b21\u7684\u5185\u5bb9\u662f\u4ec0\u4e48 start-web-fra [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/aws\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-07-23T21:18:29+00:00","article_modified_time":"2024-04-28T18:08:15+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c52913a08637a6d04e3\/22-0.png"}],"author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/","name":"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-07-23T21:18:29+00:00","dateModified":"2024-04-28T18:08:15+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"AWS\u5de5\u7a0b\u5e08\u5b66\u4e60\u963f\u91cc\u4e91\u3010\u51fd\u6570\u8ba1\u7b97\u7bc7\uff084\uff09\u3011"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/aws%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%ad%a6%e4%b9%a0%e9%98%bf%e9%87%8c%e4%ba%91%e3%80%90%e5%87%bd%e6%95%b0%e8%ae%a1%e7%ae%97%e7%af%87%ef%bc%884%ef%bc%89%e3%80%91%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=49649"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49649\/revisions"}],"predecessor-version":[{"id":73916,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49649\/revisions\/73916"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=49649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=49649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=49649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}