{"componentChunkName":"component---src-templates-blog-detail-tsx","path":"/blog/2020-04-22-serverless-framework","result":{"data":{"currentBlog":{"id":"bdf645bd-3599-55a2-9a1b-bcf94ce9be6b","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020421/1587478396860-bannner.jpg","authors":["腾讯云"],"categories":["news"],"date":"2020-04-22T00:00:00.000Z","title":"腾讯云正式发布 Serverless Framework","description":"该版中发布了全新的组件（Component）机制、云引擎部署支持、实时日志和调试等能力，这些新功能为 Serverless 应用程序开发提供了顶级的顺畅体验！","authorslink":["https://serverlesscloud.cn"],"translators":null,"translatorslink":null,"tags":["Serverless","全栈应用"],"keywords":"Serverless,Serverless Framework,全栈解决方案","outdated":null},"wordCount":{"words":204,"sentences":22,"paragraphs":22},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-04-22-serverless-framework.md","fields":{"slug":"/blog/2020-04-22-serverless-framework/","keywords":["go","serverless","Serverless","serverless","Framework","serverlesscloud","部署","腾讯"]},"html":"<p>4 月 21 日 14:00，腾讯云召开了 Serverless Framework 线上发布会，会议邀请到了 serverless.com CEO Austen Collins 、腾讯云中间件总经理 &#x26; 首席架构师 Yunong Xiao 等重磅嘉宾进行相关分享和探讨，本次发布会在腾讯云大学、哔哩哔哩、知乎平台同步直播，近千人观看了本次发布会。</p>\n<p>产品发布会上，首先，腾讯云中间件总经理&#x26;首席架构师 Yunong Xiao 从宏观的角度阐述了 Serverless Framework 的特性，宣布产品正式发布。他指出 Serverless 的核心价值在于聚焦业务，不需关注底层资源 (Focus on outcomes, not Infrastructure)，此次产品发布，为开发者提供基于 Full Stack 全栈以及 HTTP API 的一站式解决方案。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020421/1587471829252-1587467770716-e7f6949c9d8151ab.png\"></p>\n<p>接着，serverless.com CEO Austen Collins 讲述了新版本 Serverless Framework 的价值和目标，他希望能帮企业在仅有很少的开发和运维人员的情况下管理大型的线上系统，并提到 serverless 将和腾讯云一起为中国开发者提供最佳的 serverless 开发者体验以及基础架构。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020421/1587477253237-aus.jpg\"></p>\n<p>第三位分享嘉宾，来自 serverless.com 中国区研发的负责人 Ke Huang 老师，Ke Huang 老师分享了 Serverless Framework 的演进，从 plugin 到 component 再到 platform，提到未来 serverless 产品路线将提供更完善的 Serverless 组件库生态，提供差量部署，极速部署体验，包含线上运维工具的 Serverless Dashboard，以及上线各种开箱即用的线上运维的工具，让开发者开发完成即部署完成并且已为产线环境准备就绪。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020421/1587472155885-1587467998313-fd543b7dae7c2d21.png\"></p>\n<p>最后一位分享嘉宾是来自腾讯云的高级产品经理方坤丁 (Tina)，Tina 详细介绍了 Serverless Framework 新版本的特性和优化内容，以及在实际业务场景中使用 Serverless Component 的便利。同时，Tina 现场进行了 Serverless Framework 新功能的代码实战，基于 Express.js 框架演示了一键部署、实时日志、远端调试等能力。并通过 Serverless Framework 平台快速部署了一个具备前端、后端和数据库的 Serverless Full Stack 全栈应用。</p>\n<p><img src=\"https://img.serverlesscloud.cn/2020421/1587477685086-%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7%202020-04-21%2022.00.20.png\"></p>\n<p>发布会嘉宾分享结束后，进行 Q&#x26;A 环节，大家就实际业务中遇到的问题在会话区踊跃提问，主持人王俊杰组织嘉宾解答大家的问题，其中有参会者 Jovi 提到「目前 Tencent Serverless 是否支持用户自定义 DB，比如 elasticsearch，couchbase，redis，mongoDB 等其他 NoSQL，未来是否有这方面的支持和拓展计划，以及可能上线的时间点」。可见大家对腾讯云 Serverless Framework 产品以及其未来的发展非常关注。</p>\n<h2 id=\"立即使用-serverless，只需三步\"><a href=\"#%E7%AB%8B%E5%8D%B3%E4%BD%BF%E7%94%A8-serverless%EF%BC%8C%E5%8F%AA%E9%9C%80%E4%B8%89%E6%AD%A5\" aria-label=\"立即使用 serverless，只需三步 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>立即使用 Serverless，只需三步</h2>\n<p>Serverless Framework 是构建和运维 Serverless 应用的框架。简单三步，即可通过 Serverless Framework 快速实现服务部署。</p>\n<p><strong>1. 安装 Serverless</strong></p>\n<p>macOS/Linux 系统：推荐使用二进制安装</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">$ curl -o- -L https://slss.io/install | bash</code></pre></div>\n<p>Windows 系统：可通过 npm 安装</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">$ npm install -g serverless</code></pre></div>\n<p><strong>2. 创建云上应用</strong></p>\n<p>在空文件夹下输入 <code class=\"language-text\">serverless</code> 命令：</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">$ serverless</code></pre></div>\n<p>访问命令行中输出的网页链接，即可访问成功部署后的应用。</p>\n<p><strong>3. 查看部署信息</strong></p>\n<p>进入到部署成功的文件夹，运行如下命令，查看部署状态和资源信息：</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">$ sls info</code></pre></div>\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-22-serverless-framework/#%E7%AB%8B%E5%8D%B3%E4%BD%BF%E7%94%A8-serverless%EF%BC%8C%E5%8F%AA%E9%9C%80%E4%B8%89%E6%AD%A5\">立即使用 Serverless，只需三步</a></li>\n</ul>"},"previousBlog":{"id":"e0959654-d44e-59c0-8201-19822e61b38d","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020523/1590204021386-16200.jpg","authors":["乂乂又又"],"categories":["user-stories"],"date":"2020-04-23T00:00:00.000Z","title":"万物皆可 Serverless 之使用云函数 SCF+COS 免费运营微信公众号","description":"是的，你没听错，这一次我来带大家直接上手运营微信公众号","authorslink":["https://cloud.tencent.com/developer/article/1612816"],"translators":null,"translatorslink":null,"tags":["云函数","对象存储"],"keywords":"Serverless,Serverless微信,Serverless应用","outdated":null},"wordCount":{"words":271,"sentences":67,"paragraphs":67},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-04-23-serverless-wechat-cos.md","fields":{"slug":"/blog/2020-04-23-serverless-wechat-cos/","keywords":["java","python","serverless","腾讯云无服务器云函数","无服务器","无服务器云函数","云函数","reply","requestParameters","微信","timestamp","nonce","signature"]}},"nextBlog":{"id":"a818e529-fae4-5f89-b91f-7b0f69d6d9b9","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020720/1595233719307-1587091850654-launch.jpg","authors":["腾讯云"],"categories":["meetup"],"date":"2020-04-21T00:00:00.000Z","title":"腾讯云 Serverless Framework 正式发布会","description":"4 月 21 日（周二） 14：00，我们诚邀您参加此次发布会，届时您将获得更多的产品信息，欢迎进一步交流","authorslink":["https://serverlesscloud.cn"],"translators":null,"translatorslink":null,"tags":["Serverless","Meetup"],"keywords":"Serverless,腾讯云 serverless,serverless framework","outdated":null},"wordCount":{"words":76,"sentences":11,"paragraphs":11},"fileAbsolutePath":"/opt/build/repo/content/blog/2020-04-21-serverless-framework-launch.md","fields":{"slug":"/blog/2020-04-21-serverless-framework-launch/","keywords":["serverless","Serverless","腾讯","serverless","Framework","serverlesscloud","发布会"]}},"recommendBlogs":{"edges":[{"node":{"id":"73576d26-e0ce-5f26-9330-64b4f3889157","frontmatter":{"thumbnail":"https://main.qcloudimg.com/raw/3cb7b20955d78ced738e0279bb3f6f41.jpg","authors":["AndreaPasswater"],"categories":["news","engineering-culture"],"date":"2018-03-09T00:00:00.000Z","title":"Serverless 数据解读：2018 报告","description":"Serverless Framework 使用统计数据：事件源、服务结构、运行时长等等。","authorslink":["https://serverless.com/author/andreapasswater/"],"translators":["Aceyclee"],"translatorslink":["https://www.zhihu.com/people/Aceyclee"],"tags":["事件源","服务结构"],"keywords":"Serverless 统计数据,Serverless 事件源,Serverless 服务结构","outdated":null},"wordCount":{"words":212,"sentences":45,"paragraphs":45},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-03-09-serverless-by-the-numbers-2018-data-report.md","fields":{"slug":"/blog/2018-03-09-serverless-by-the-numbers-2018-data-report/","keywords":["go","serverless","无服务器","云函数","服务","使用率","Go","部署"]}}},{"node":{"id":"84876745-cbfb-5c1d-9f6c-7c74338d5d28","frontmatter":{"thumbnail":"https://s3-us-west-2.amazonaws.com/assets.site.serverless.com/images/champions/champions_banner.jpg","authors":["RupakGanguly"],"categories":["news","engineering-culture"],"date":"2018-04-10T00:00:00.000Z","title":"2018 年首批无服务器社区冠军介绍","description":"无服务器社区冠军是无服务器社区的领导者。快来认识一下我们 2018 年度的社区英雄吧！","authorslink":null,"translators":null,"translatorslink":null,"tags":null,"keywords":null,"outdated":null},"wordCount":{"words":194,"sentences":32,"paragraphs":32},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-04-10-announcing-new-2018-serverless-champions.md","fields":{"slug":"/blog/2018-04-10-announcing-new-2018-serverless-champions/","keywords":["serverless","webpack","无服务器","无服务器架构","服务器","serverless","champions","架构","blog","github","框架"]}}},{"node":{"id":"1e1a90fc-3b65-540c-b726-755999e7912a","frontmatter":{"thumbnail":"https://main.qcloudimg.com/raw/8a0db1c9fd8b51c15d0b006291d52bf5.jpg","authors":["AndreaPasswater"],"categories":["news","engineering-culture"],"date":"2018-07-19T00:00:00.000Z","title":"2018 年社区调查：Serverless 使用率大幅增长","description":"我们曾在开发社区进行问卷调查，询问 Serverless 的使用情况。它的使用率增长连我们自己都惊讶不已，下面来看看数据。","authorslink":["https://serverless.com/author/andreapasswater/"],"translators":["Aceyclee"],"translatorslink":["https://www.zhihu.com/people/Aceyclee"],"tags":["Component","Serverless"],"keywords":"Serverless 社区调查,Serverless 使用情况,Serverless 数据","outdated":null},"wordCount":{"words":267,"sentences":50,"paragraphs":49},"fileAbsolutePath":"/opt/build/repo/content/blog/2018-07-19-2018-serverless-community-survey-huge-growth-usage.md","fields":{"slug":"/blog/2018-07-19-2018-serverless-community-survey-huge-growth-usage/","keywords":["go","serverless","无服务器","Serverless","serverless"]}}},{"node":{"id":"8311b008-2b15-5225-8adc-9b75e484177b","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586880819419-%E5%B0%81%E9%9D%A2%E5%9B%BE%20%286%29.png","authors":["serverless 社区"],"categories":["news"],"date":"2019-04-08T00:00:00.000Z","title":"邀您参加 | K8S&云原生技术开放日-北京站","description":"K8S&云原生技术开放日，将围绕K8S、Serverless等云原生相关技术，从最佳落地实践、不同场景技术改造、应用优化，到开源领域深度技术研究，和技术爱好者们一起探讨。","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["云原生","Serverless"],"keywords":"serverless 入门,serverless 框架,腾讯云 serverless","outdated":null},"wordCount":{"words":36,"sentences":9,"paragraphs":9},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-04-08-k8s.md","fields":{"slug":"/blog/2019-04-08-k8s/","keywords":["serverless","云原生","serverless","Serverless","技术","原生","serverlesscloud","github"]}}},{"node":{"id":"25f709db-cde0-59d7-81f4-944c46a6dd8a","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586880571672-%E5%B0%81%E9%9D%A2%E5%9B%BE%20%285%29.png","authors":["serverless 社区"],"categories":["news"],"date":"2019-04-04T00:00:00.000Z","title":"Serverless 技术风暴来袭，开发者该如何应对？","description":"Hello Serverless技术沙龙北京站，将围绕Serverless的应用场景，客户案例，FaaS+BaaS架构的实现方案等，针对未来的无服务形态进行交流和讨论，释放技术想象！","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["应用场景","Serverless"],"keywords":"serverless 入门,serverless 框架,腾讯云 serverless","outdated":null},"wordCount":{"words":37,"sentences":8,"paragraphs":8},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-04-04-technology-storm.md","fields":{"slug":"/blog/2019-04-04-technology-storm/","keywords":["serverless","Serverless","serverless","serverlesscloud","github","技术","架构","围绕"]}}},{"node":{"id":"4bc4d946-6187-5c3d-91c6-d98c4c4c1314","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020414/1586880172144-%E5%B0%81%E9%9D%A2%E5%9B%BE%20%284%29.png","authors":["serverless 社区"],"categories":["news"],"date":"2019-06-11T00:00:00.000Z","title":"一图读懂无服务器云函数","description":"本图将重要信息进行梳理和提炼，帮助读者更好的理解无服务器云函数的理念和作用","authorslink":["https://zhuanlan.zhihu.com/ServerlessGo"],"translators":null,"translatorslink":null,"tags":["云函数","Serverless"],"keywords":"serverless 入门,serverless 框架,腾讯云 serverless","outdated":null},"wordCount":{"words":31,"sentences":6,"paragraphs":6},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-06-11-one-picture-serverless-cloud-function.md","fields":{"slug":"/blog/2019-06-11-one-picture-serverless-cloud-function/","keywords":["serverless","无服务器","无服务器云函数","云函数","serverless","serverlesscloud","Serverless","github","开发者","函数"]}}},{"node":{"id":"1cd76f95-14a9-5fd5-926b-456af189b7ed","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/2020326/1585217744291-%E6%91%84%E5%9B%BE%E7%BD%91_400730082_wx.jpg","authors":["朱峰 Ben"],"categories":["news"],"date":"2019-10-14T00:00:00.000Z","title":"由浅入深说 Serverless 之云函数的生命周期","description":"希望通过文章分享帮助大家更深入的了解 Serverless 背后的机制并掌握相关的最佳实践。","authorslink":["https://github.com/jiangliu5267"],"translators":null,"translatorslink":null,"tags":["云函数"],"keywords":"Serverless, Serverless前端开发, Serverless云函数","outdated":null},"wordCount":{"words":74,"sentences":29,"paragraphs":29},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-10-14-serverless-cloud-function.md","fields":{"slug":"/blog/2019-10-14-serverless-cloud-function/","keywords":["faas","java","云函数","函数","触发","实例","事件","数据库","启动","连接","sql","代码"]}}},{"node":{"id":"4f16f8bc-1a35-5394-9029-f7abc2ad6137","frontmatter":{"thumbnail":"https://img.serverlesscloud.cn/qianyi/images/YHl6UWa9s629ucl0iaVcic8rL06uEBM5go4LSXiaHnibDJSBjLGAhGlWz3QZ1RZzd3NeCibjJxOyUApDO7TaPYcwxsw.jpg","authors":["Serverless 中文网"],"categories":["news"],"date":"2019-10-26T00:00:00.000Z","title":"Hello Serverless 实战沙龙回顾","description":"2019 年 10 月 26 日，Hello Serverless 沙龙活动在广州市海珠区腾讯众创空间成功举办，一起看看我们都为大家准备了哪些精彩的演讲吧！","authorslink":["https://github.com/jiangliu5267"],"translators":null,"translatorslink":null,"tags":["Meetup"],"keywords":"Serverless, Serverless技术沙龙,Hello Serverless","outdated":null},"wordCount":{"words":64,"sentences":13,"paragraphs":13},"fileAbsolutePath":"/opt/build/repo/content/blog/2019-10-26-hello-serverless-meetup.md","fields":{"slug":"/blog/2019-10-26-hello-serverless-meetup/","keywords":["go","serverless","云函数","云原生","Serverless","存储","腾讯","serverlesscloud"]}}}],"totalCount":46}},"pageContext":{"isCreatedByStatefulCreatePages":false,"blogId":"bdf645bd-3599-55a2-9a1b-bcf94ce9be6b","previousBlogId":"e0959654-d44e-59c0-8201-19822e61b38d","nextBlogId":"a818e529-fae4-5f89-b91f-7b0f69d6d9b9","categories":["news"]}}}