{"componentChunkName":"component---src-templates-blog-detail-tsx","path":"/blog/2020-04-23-serverless-cloud-cos","result":{"data":{"currentBlog":{"id":"5534f888-0f20-5eed-9d9f-265a12f0958e","frontmatter":{"thumbnail":"https://serverlessimg-1253970226.cos.ap-chengdu.myqcloud.com/qianyi/images/162020.jpg","authors":["乂乂又又"],"categories":["user-stories"],"date":"2020-04-23T00:00:00.000Z","title":"万物皆可 Serverless 之免费搭建不限速 5T 大云盘","description":"不晓得你有没有体验过百度云限速的痛苦，反正我对网盘限速这件事一直深恶痛绝，我行我上，走起！","authorslink":["https://cloud.tencent.com/developer/article/1612098"],"translators":null,"translatorslink":null,"tags":["Serverless","网盘"],"keywords":"Serverless,Serverless实践,Serverless应用","outdated":null},"wordCount":{"words":283,"sentences":83,"paragraphs":83},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-04-23-serverless-cloud-cos.md","fields":{"slug":"/blog/2020-04-23-serverless-cloud-cos/","keywords":["go","php","serverless","云函数","serverlesscloud","OneDrive","函数","网关"]},"html":"<p><img src=\"https://serverlessimg-1253970226.cos.ap-chengdu.myqcloud.com/qianyi/images/162020.jpg\" alt=\"serverless\"></p>\n<p>大家应该都体验过网盘限速的痛苦，当我们在网络上好不容易找到资源准备下载时，却发现下载速度最快不过 200、300KB/S，这不禁让我回想起初中那会儿，家里使用电话线拨号上网时的网速，一个 4GB 的系统镜像要下整整一天。</p>\n<p>有人可能会说，你可以充钱开会员啊。</p>\n<p>呵，你以为我是差开年费会员的钱吗？开玩笑，我可是<del>连月费会员（连续包月最便宜那种）都舍不得开</del>的人。</p>\n<p>没错，穷就一个字，我只说一次，有钱人的快乐咱想象不到。</p>\n<p>那么有什么办法可以曲线救国呢？废话少说，上图片！</p>\n<h2 id=\"效果展示\"><a href=\"#%E6%95%88%E6%9E%9C%E5%B1%95%E7%A4%BA\" aria-label=\"效果展示 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>效果展示</h2>\n<ul>\n<li>搭建好的云盘主页</li>\n</ul>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199188185-2404.jpg\" alt=\"搭建好的云盘主页\"></p>\n<ul>\n<li>测试一下文件上传速度</li>\n</ul>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199187185-2404.jpg\" alt=\"测试一下文件上传速度\"></p>\n<ul>\n<li>测试一下文件下载速度</li>\n</ul>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186433-2404.jpg\" alt=\"测试一下文件下载速度\"></p>\n<p>可以看到，整个网盘的上传和下载速度还是可以接受的（我这里是联通的 100M 宽带），会比一般网盘下载限速快许多。除此之外，基于解析出来的是 onedrive 直链，我们可以很轻松地实现文件在线预览的功能，见下图：</p>\n<ul>\n<li>音频文件可直接在线播放</li>\n</ul>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186631-2404.jpg\" alt=\"音频文件可直接在线播放\"></p>\n<ul>\n<li>甚至可以在线预览 office 三件套</li>\n</ul>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186538-2404.jpg\" alt=\"甚至可以在线预览 office 三件套\"></p>\n<p>可以看到我们使用 Serverless+OneDrive 搭建好的云盘功能还是蛮 👌 的，</p>\n<p>更详细的体验可以访问我已经搭建好的网盘，地址：<a href=\"http://onedrive.idoo.top/my5t1/\">http://onedrive.idoo.top/</a></p>\n<p>你是不是已经跃跃欲试了呢？马上开始教程，Let's go~~~</p>\n<h2 id=\"实战教程\"><a href=\"#%E5%AE%9E%E6%88%98%E6%95%99%E7%A8%8B\" aria-label=\"实战教程 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>实战教程</h2>\n<h3 id=\"1-获取-onedrive\"><a href=\"#1-%E8%8E%B7%E5%8F%96-onedrive\" aria-label=\"1 获取 onedrive permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>1. 获取 OneDrive</h3>\n<p>首先， 注册一个 OneDrive 账号。</p>\n<p>具体可以参考网上的这篇教程《<a href=\"https://lykqq.com/%E6%95%99%E7%A8%8B/10.html\">免费注册微软 Office365 教育版 OneDrive 网盘 5T 空间</a>》</p>\n<h3 id=\"2-下载-onemanager\"><a href=\"#2-%E4%B8%8B%E8%BD%BD-onemanager\" aria-label=\"2 下载 onemanager permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>2. 下载 OneManager</h3>\n<p><a href=\"https://codeload.github.com/qkqpttgf/OneManager-php/zip/master\">OneManager-php</a> 是一个 Onedrive 的列表索引和管理程序，可以部署到 heroku/SCF/normal 空间。</p>\n<p>值得注意的是此程序的文件上传下载是走的 OneDrive 服务器，并不会消耗你的云函数流量。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186283-2404.jpg\" alt=\"OneManager-php\"></p>\n<p>下载完之后解压：</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186959-2404.jpg\"></p>\n<h3 id=\"3-新建云函数\"><a href=\"#3-%E6%96%B0%E5%BB%BA%E4%BA%91%E5%87%BD%E6%95%B0\" aria-label=\"3 新建云函数 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>3. 新建云函数</h3>\n<p>打开<a href=\"https://console.cloud.tencent.com/scf/list?rid=4&#x26;ns=default\">云函数控制台</a></p>\n<ul>\n<li>云函数控制台</li>\n</ul>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199189221-2404.jpg\" alt=\"云函数控制台\"></p>\n<p>这里，我们把函数地区选到中国香港，然后点击新建</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186484-2404.jpg\" alt=\"新建函数\"></p>\n<p>运行环境选择 php7.2，创建方式选择空白函数，依次点击下一步，完成。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186015-2404.jpg\" alt=\"上传函数\"></p>\n<p>函数创建完成后，打开函数代码，选择本地上传文件夹，将我们之前解压好的 OneManager-php 程序上传，选择保存。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186340-2404.jpg\" alt=\"上传完毕后的云函数\"></p>\n<p>OK，这次函数就正常了</p>\n<h3 id=\"4-配置云函数\"><a href=\"#4-%E9%85%8D%E7%BD%AE%E4%BA%91%E5%87%BD%E6%95%B0\" aria-label=\"4 配置云函数 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>4. 配置云函数</h3>\n<p>云函数创建完成之后，我们还需要配置一下云函数的各种参数</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186583-2404.jpg\" alt=\"函数配置\"></p>\n<p>这里我们把内存改到 64MB，超时时间改到 5 秒（随意设置）</p>\n<p>最主要的是添加一个 Region=ap-hongkong 的环境变量，然后点击保存。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186120-2404.jpg\" alt=\"serverless\"></p>\n<p>添加函数 api 网关触发器，一定记得勾选启用集成响应，然后保存。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199185902-2404.jpg\" alt=\"api 网关访问地址\"></p>\n<p>api 网关添加成功后会得到一个访问地址，我们复制一下在浏览器里打开</p>\n<h3 id=\"5-配置-onemanager\"><a href=\"#5-%E9%85%8D%E7%BD%AE-onemanager\" aria-label=\"5 配置 onemanager permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>5. 配置 OneManager</h3>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199187550-2404.jpg\" alt=\"首次访问\"></p>\n<p>首次访问 OneManager 主页需要安装初始化程序，我们按照提示点击开始安装程序。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199187167-2404.jpg\" alt=\"设置腾讯云访问密匙 ID 和 key\"></p>\n<p>SecretId 和 SecretKey 可以在<a href=\"https://console.cloud.tencent.com/cam/capi\">控制台密匙管理页面</a>找到，然后点击确定，设置好管理登录密码就可以正常访问 OneManager 首页了。</p>\n<h3 id=\"6-绑定-onedrive\"><a href=\"#6-%E7%BB%91%E5%AE%9A-onedrive\" aria-label=\"6 绑定 onedrive permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>6. 绑定 OneDrive</h3>\n<p>What？为啥我都初始化了程序为啥还是一片空白？</p>\n<p>不要着急，这是因为我们还没有绑定自己的 OneDrive 网盘。</p>\n<p>首先，点击首页左上角登录，输入自己前面设置的管理员密码后登录，再点击左上角设置选项打开设置页面。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199185898-2404.jpg\" alt=\"选择添加 OneDrive 盘\"></p>\n<p>选择添加 OneDrive 盘，按照网页提示登录自己的 OneDrive 授权即可，这里就不再细说了。</p>\n<h3 id=\"7-绑定已备案域名\"><a href=\"#7-%E7%BB%91%E5%AE%9A%E5%B7%B2%E5%A4%87%E6%A1%88%E5%9F%9F%E5%90%8D\" aria-label=\"7 绑定已备案域名 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>7. 绑定已备案域名</h3>\n<p>当然，我们是可以自定义 api 网关的域名的，不过这里的域名前提是已备案的。</p>\n<p>假设你已经有已备案的域名，并成功配置好了云函数和 api 网关，下面就再来看下给 api 网关自定义域名的步骤</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199187843-2404.jpg\" alt=\"api 网关设置\"></p>\n<p>首先打开腾讯云 api 网关后台页面，选择刚刚云函数已经创建的 api 网关，打开自定义域名选项。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199188463-2404.jpg\" alt=\"新建域名绑定\"></p>\n<p>然后点击新建，把要绑定的备案域名 cnmae 解析到提示的地址，选择默认的路径映射提交即可</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199185882-2404.jpg\" alt=\"发布修改后的 api 网关\"></p>\n<p>最后记得修改完自定义域名之后发布更新 api 网关服务，这样自定义域名才会生效。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199188581-2404.jpg\" alt=\"自定义域名生效\"></p>\n<p>没有什么意外的话，现在你就可以像我一样通过自己绑定的备案域名访问云盘了。</p>\n<h2 id=\"写在最后\"><a href=\"#%E5%86%99%E5%9C%A8%E6%9C%80%E5%90%8E\" aria-label=\"写在最后 permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>写在最后</h2>\n<p>本文标题有说免费搭建大容量云盘，免费是指腾讯云函数每月会有一定的免费使用额度，拿来搭建 OneDrive 云盘自用，免费额度绰绰有余。</p>\n<p>另外，OneManager 是支持绑定多个 OneDrive 盘的，这里说大容量是因为我一共绑定了 4 个 OneDrive 盘，刚好别名风、雨、雷、电，哈哈(<del>是个狠人</del>)</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020523/1590199186631-2404.jpg\" alt=\"绑定四个盘\"></p>\n<p>每个盘都有 5TB 的容量，合起来就是一共有 20TB 的容量，嘿嘿。</p>\n<p>存点啥不行呢，视频音乐文档统统都可以在线预览，简直不要太爽~ 祝各位玩得愉快！</p>\n<hr>\n<div id='scf-deploy-iframe-or-md'></div>\n<hr>\n<blockquote>\n<p><strong>传送门：</strong></p>\n<ul>\n<li>GitHub: <a href=\"https://github.com/serverless/serverless/blob/master/README_CN.md\">github.com/serverless</a></li>\n<li>官网：<a href=\"https://serverless.com/\">serverless.com</a></li>\n</ul>\n</blockquote>\n<p>欢迎访问：<a href=\"https://serverlesscloud.cn/\">Serverless 中文网</a>，您可以在 <a href=\"https://serverlesscloud.cn/best-practice\">最佳实践</a> 里体验更多关于 Serverless 应用的开发！</p>","tableOfContents":"<ul>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#%E6%95%88%E6%9E%9C%E5%B1%95%E7%A4%BA\">效果展示</a></li>\n<li>\n<p><a href=\"/blog/2020-04-23-serverless-cloud-cos/#%E5%AE%9E%E6%88%98%E6%95%99%E7%A8%8B\">实战教程</a></p>\n<ul>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#1-%E8%8E%B7%E5%8F%96-onedrive\">1. 获取 OneDrive</a></li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#2-%E4%B8%8B%E8%BD%BD-onemanager\">2. 下载 OneManager</a></li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#3-%E6%96%B0%E5%BB%BA%E4%BA%91%E5%87%BD%E6%95%B0\">3. 新建云函数</a></li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#4-%E9%85%8D%E7%BD%AE%E4%BA%91%E5%87%BD%E6%95%B0\">4. 配置云函数</a></li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#5-%E9%85%8D%E7%BD%AE-onemanager\">5. 配置 OneManager</a></li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#6-%E7%BB%91%E5%AE%9A-onedrive\">6. 绑定 OneDrive</a></li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#7-%E7%BB%91%E5%AE%9A%E5%B7%B2%E5%A4%87%E6%A1%88%E5%9F%9F%E5%90%8D\">7. 绑定已备案域名</a></li>\n</ul>\n</li>\n<li><a href=\"/blog/2020-04-23-serverless-cloud-cos/#%E5%86%99%E5%9C%A8%E6%9C%80%E5%90%8E\">写在最后</a></li>\n</ul>"},"previousBlog":{"id":"c82fd707-caeb-5cc1-aab2-ebcd60d61f3b","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020424/1587690982414-Product%20Release%20%E4%B8%80%E9%94%AE%E9%83%A8%E7%BD%B2.png","authors":["Serverless"],"categories":["news"],"date":"2020-04-23T00:00:00.000Z","title":"Serverless Framework 一键部署正式发布","description":"新版本的 Serverless Framework，只需一键扫码，便可快速新建和部署项目，还等什么，赶快加入体验吧~","authorslink":["https://www.zhihu.com/people/Aceyclee"],"translators":null,"translatorslink":null,"tags":["Serverless","一键部署"],"keywords":"腾讯云 Serverless,Serverless,Serverless framework","outdated":null},"wordCount":{"words":115,"sentences":25,"paragraphs":25},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-04-23-one-click.md","fields":{"slug":"/blog/2020-04-23-one-click/","keywords":["java","serverless","spa","website","serverless","express","部署","deploy","demo","serverlesscloud","tencent"]}},"nextBlog":{"id":"5c34df1d-ef7f-5467-afe7-d0a28d5e8990","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020523/1590213128368-16200.jpg","authors":["乂乂又又"],"categories":["user-stories"],"date":"2020-04-23T00:00:00.000Z","title":"万物皆可 Serverless 之云函数 SCF+Kaggle 端到端验证码识别从训练到部署","description":"今天本文就尝试带大家借助 Kaggle+SCF，快速训练部署一个端到端的通用验证码识别模型，真正的验证码识别从入门到应用的一条龙服务。","authorslink":["https://cloud.tencent.com/developer/article/1618583"],"translators":null,"translatorslink":null,"tags":["云函数","Kaggle"],"keywords":"Serverless,Serverless AI,Serverless应用","outdated":null},"wordCount":{"words":322,"sentences":52,"paragraphs":49},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-04-23-serverless-kaggle-scf.md","fields":{"slug":"/blog/2020-04-23-serverless-kaggle-scf/","keywords":["go","java","python","serverless","云函数","验证码","kaggle","模型","识别","训练","serverlesscloud"]}},"recommendBlogs":{"edges":[{"node":{"id":"4300b21c-7209-5256-86ff-0d38e3daec9b","frontmatter":{"thumbnail":"https://main.qcloudimg.com/raw/14f1c8eed372e76c1b139703b2f6d0fa.jpg","authors":["KieranMcCarthy"],"categories":["user-stories","engineering-culture"],"date":"2018-01-09T00:00:00.000Z","title":"我是如何在四年时间里，从厨师转行为 Serverless 应用开发者","description":"我是厨师出身，现在成为了一名 Serverless 应用开发者。","authorslink":["https://serverless.com/author/kieranmccarthy/"],"translators":["Aceyclee"],"translatorslink":["https://www.zhihu.com/people/Aceyclee"],"tags":["应用开发","Serverless"],"keywords":"Serverless 应用开发,Serverless 管理,厨师转行为 Serverless 应用开发者","outdated":null},"wordCount":{"words":285,"sentences":38,"paragraphs":36},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-01-09-from-chef-to-serverless-developer-in-4-years.md","fields":{"slug":"/blog/2018-01-09-from-chef-to-serverless-developer-in-4-years/","keywords":["无服务器","无服务器开发","云函数","学习","Serverless","构建","Framework","开发者","服务器","应用","学位","简历"]}}},{"node":{"id":"713a0563-4bf9-5721-bacb-3b4ef609fe4a","frontmatter":{"thumbnail":"https://s3-us-west-2.amazonaws.com/assets.blog.serverless.com/camp-fire/camp-fire-housing-thumb.jpg","authors":["EricWyne"],"categories":["guides-and-tutorials","user-stories"],"date":"2018-12-05T00:00:00.000Z","title":"Serverless Twitter 机器人帮助为坎普山火受灾者安置住房","description":"加利福尼亚州的坎普山火致使数千人流离失所，为此，我构建了一个简单的 Serverless Twitter 机器人来帮助将受灾者安置在临时住房！","authorslink":["https://serverless.com/author/ericwyne/"],"translators":["Aceyclee"],"translatorslink":["zhihu.com/people/Aceyclee"],"tags":null,"keywords":null,"outdated":null},"wordCount":{"words":157,"sentences":26,"paragraphs":26},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-12-05-serverless-twitter-camp-fire.md","fields":{"slug":"/blog/2018-12-05-serverless-twitter-camp-fire/","keywords":["serverless","无服务器","云函数","Serverless","org","住房","Twitter","函数","受灾","机器人","山火"]}}},{"node":{"id":"98602143-b837-5f50-a24f-3b1ec76044d7","frontmatter":{"thumbnail":"https://s3-us-west-2.amazonaws.com/assets.blog.serverless.com/sqquid/sqquid-serverless-thumb.jpg","authors":["RonPeled"],"categories":["user-stories"],"date":"2018-12-17T00:00:00.000Z","title":"SQQUID：100% 无服务器初创公司","description":"SQQUID 将 AWS Lambda 和无服务器框架用于其核心产品和营销网站。我们来看看一个完全无服务器的初创公司是怎样的。","authorslink":null,"translators":null,"translatorslink":null,"tags":null,"keywords":null,"outdated":null},"wordCount":{"words":266,"sentences":42,"paragraphs":42},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-12-17-sqquid-one-hundred-percent-serverless.md","fields":{"slug":"/blog/2018-12-17-sqquid-one-hundred-percent-serverless/","keywords":["go","serverless","无服务器","无服务器架构","服务器","架构","Lambda","集成","FaaS","串行","系统"]}}},{"node":{"id":"29dc2e58-d2ba-56f9-aee1-d21b0bc62e0e","frontmatter":{"thumbnail":"https://s3-us-west-2.amazonaws.com/assets.blog.serverless.com/ao-com-story/ao-serverless-thumbnail.png","authors":["NickGottlieb"],"categories":["user-stories"],"date":"2019-04-24T00:00:00.000Z","title":"AO.com：逐渐转向无服务器优先","description":"AO.com 的 SCV 团队率先尝试无服务器服务。折服于无服务器框架的快速周转时间和低维护成本，整个团队逐渐转向无服务器优先。","authorslink":null,"translators":null,"translatorslink":null,"tags":null,"keywords":null,"outdated":null},"wordCount":{"words":236,"sentences":42,"paragraphs":35},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-04-24-ao-serverless-first.md","fields":{"slug":"/blog/2019-04-24-ao-serverless-first/","keywords":["serverless","无服务器","服务器","团队","Lambda","功能","构建"]}}},{"node":{"id":"752d08d1-387a-5bde-acf3-98141baab294","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586871710979-%E5%85%AC%E5%85%B1%E7%94%A8.png","authors":["Anycodes"],"categories":["user-stories"],"date":"2019-06-20T00:00:00.000Z","title":"如何用 Serverless 为 Python 云函数打包依赖","description":"在使用无服务器云函数SCF时通常会遇到导入第三方库的问题，很多小伙伴比较头疼是：应该如何打包进去？这里，推荐几个不错的方法。","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["云函数","Serverless"],"keywords":"Serverless,Serverless应用,无服务器云函数","outdated":null},"wordCount":{"words":81,"sentences":43,"paragraphs":43},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-06-20-for-python-cloud-functions.md","fields":{"slug":"/blog/2019-06-20-for-python-cloud-functions/","keywords":["java","serverless","无服务器","无服务器云函数","云函数","serverlesscloud","安装","serverless","pillowtest"]}}},{"node":{"id":"2dc78814-9d77-555b-a1bb-ad202c8ec2d1","frontmatter":{"thumbnail":"https://s3-us-west-2.amazonaws.com/assets.blog.serverless.com/cloudforecast/thumbnail.png","authors":["FrancoisLagier"],"categories":["user-stories"],"date":"2019-08-07T00:00:00.000Z","title":"Serverless：初创企业的理想选择？（CloudForecast 案例分析）","description":"CloudForecast 是 2018 年成立的一家独立初创企业，本文将介绍他们决定选择 Serverless 的原因。","authorslink":["https://serverless.com/author/francoislagier/"],"translators":["Aceyclee"],"translatorslink":["zhihu.com/people/Aceyclee"],"tags":null,"keywords":null,"outdated":null},"wordCount":{"words":211,"sentences":29,"paragraphs":29},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-08-07-serverless-for-startups.md","fields":{"slug":"/blog/2019-08-07-serverless-for-startups/","keywords":["serverless","云函数","serverless","函数","Serverless","utm","Framework","blog","CloudForecast","cloudforecast"]}}},{"node":{"id":"97450b07-658b-5207-8216-1c7b9b51b115","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020114/1578988490344-v2-8b2cd2c5275aa2c5a3c5083a148a7a9f_1200x500.jpg","authors":["Anycodes"],"categories":["user-stories"],"date":"2019-09-01T00:00:00.000Z","title":"如何通过 Serverless 与自然语言处理，让搜索引擎「看」到你的博客","description":"Serverless 与自然语言处理结合的一个小应用","authorslink":["https://www.zhihu.com/people/liuyu-43-97"],"translators":null,"translatorslink":null,"tags":["个人博客","serverless"],"keywords":"Serverless 自然语言处理","outdated":null},"wordCount":{"words":106,"sentences":34,"paragraphs":34},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-09-01-search-engine-blog.md","fields":{"slug":"/blog/2019-09-01-search-engine-blog/","keywords":["serverless","云函数","keywords","serverlesscloud","summary"]}}},{"node":{"id":"ae4fd2f8-515c-5aec-b584-38427ef33f7e","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020114/1578989800047-part-00492-780.jpg","authors":["Anycodes"],"categories":["guides-and-tutorials","user-stories"],"date":"2019-09-16T00:00:00.000Z","title":"突破传统 OJ 瓶颈，「判题姬」接入云函数","description":"通过 Serverless 实现在线编程","authorslink":["https://www.zhihu.com/people/liuyu-43-97"],"translators":null,"translatorslink":null,"tags":["在线编程","云函数"],"keywords":"Serverless 在线编程,Serverless OJ","outdated":null},"wordCount":{"words":169,"sentences":30,"paragraphs":30},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-09-16-online-Judge.md","fields":{"slug":"/blog/2019-09-16-online-Judge/","keywords":["python","serverless","云函数","代码","函数","serverless"]}}}],"totalCount":64}},"pageContext":{"isCreatedByStatefulCreatePages":false,"blogId":"5534f888-0f20-5eed-9d9f-265a12f0958e","previousBlogId":"c82fd707-caeb-5cc1-aab2-ebcd60d61f3b","nextBlogId":"5c34df1d-ef7f-5467-afe7-d0a28d5e8990","categories":["user-stories"]}}}