更简洁、更快速!腾讯云 Serverless 云函数创建流程再次升级!

Serverless 2021-02-23 10:29:04
快速 腾讯 Serverless 更快 简洁


近期,腾讯云 Serverless 发布了云函数控制台创建流程升级版,进一步缩短了快速创建函数的流程。

升级后的云函数控制台支持模版创建函数配置化引导,支持在云函数控制台创建应用。本文主要为您介绍云函数控制台升级版提供的全新能力。

背景介绍

目前云函数 SCF 控制台已提供了上百个函数模版,覆盖 API 网关触发、COS 触发、Ckafka 触发等多种触发场景,涉及日志服务 CLS、云数据库 CDW 等数十种云产品。

随着云函数覆盖场景和对接云产品的增加,如何在创建流程中完成模版函数配置与创建,如何提供创建应用的能力,本次云函数控制台体验升级在这些方面做了优化和提升。

简化函数创建流程,快速完成函数创建

  1. 自动生成并填充函数名称,不论是模版创建还是自定义创建函数,都会自动生成并填充函数名称,在快速创建函数的场景下,真正实现无需额外输入,点击【完成】一步完成函数创建。

  2. 仅展示函数创建的必填项,其他配置项折叠进高级配置中,避免增加不必要的理解成本。

模版创建函数支持配置化

按配置引导完成函数创建即可完成模版正常运行所依赖的全部函数配置。

  1. 通过模版创建函数时,模版运行所依赖的配置项将提升到基础配置中优先展示,并自动填充模版正常运行的推荐值。
  2. 模版运行角色配置引导,选择配置并使用SCF模版运行角色,将会自动创建函数运行角色 SCF_ExecuteRole 并关联模版运行所依赖的策略,或按照文字指引选择关联了对应策略的已有运行角色。
  3. 环境变量配置引导,模版函数代码运行依赖的环境变量 key 已经预填充,按照 value 中的提示完成环境变量配置即可。

函数创建流程支持触发器配置

  1. 支持根据函数模版触发需要,自动创建定时触发器和 API 网关触发器。
  2. 支持根据函数模版触发需要,自动选中所需触发器,并自动填充触发器创建默认值。

和 Serverless Framework 打通,支持在云函数控制台创建应用

模版创建和 Serverless Framework 打通,在云函数控制台选择应用模版,单击【下一步】即可进入应用配置和创建流程。目前已经支持的应用有:ExpressLaravelNextjs SSRNuxtjs SSRSpringBootKoaFlaskEgg,应用创建完成后可在 Serverless Framework 控制台查看和管理。

和 CODING 打通,支持通过 CI 部署函数和应用

模版创建和 CODING 打通,在云函数控制台选择模版后单击【通过 CI 部署】即可在 CODING 侧完成通过 CI 创建一个函数或应用。

当前仅支持通过 CI 部署 Express 应用、Flask 应用和运行环境为 Node.js 12.16 的 Web 静态页面托管函数

One More Thing

立即体验腾讯云 Serverless Demo,领取 Serverless 新用户礼包 serverless/start

欢迎访问:Serverless 中文网

版权声明
本文为[Serverless]所创,转载请带上原文链接,感谢
https://www.cnblogs.com/serverlesscloud/p/14434364.html

  1. How to build a high performance front end intelligent reasoning engine
  2. How to become a professional front end engineer in 2021?
  3. How to transform single / micro service application into serverless application
  4. How to transform single / micro service application into serverless application
  5. How to transform single / micro service application into serverless application
  6. How to connect the ground gas to the micro front end?
  7. How to connect the ground gas to the micro front end?
  8. How to connect the ground gas to the micro front end?
  9. Vue server rendering principle analysis and introduction
  10. Realize the correct loading of text message
  11. Building my own project scaffolding with yeoman
  12. JavaScript advanced prototype and prototype chain
  13. React background management front end system (based on open source framework development) start
  14. JS practical skills breakpoint debugging
  15. I'd like to share with you 20 super easy-to-use Chrome extension plug-ins
  16. Get page element location
  17. Use the powerful API of modern browser to record any interface in the browser and realize export, save and management
  18. Delayed code execution in flutter
  19. Reconfiguration experience of KOA middleware system
  20. Add comments to your blog
  21. Svg editor -- new path
  22. Detailed explanation of debounce and throttle of JavaScript function
  23. Anti shake and throttling and corresponding react hooks package
  24. C2m: the first CSDN article moved to MOOC script 5000 words, detailed painstaking development process, there are renderings and source code at the end of the article
  25. Front end, school recruitment, Taobao, guide
  26. [vue2 & G6] get started quickly
  27. Canvas from the beginning to the pig
  28. Take five minutes to standardize the code comments?
  29. Some thoughts on sass
  30. what?! You haven't filled in the award information yet
  31. How to get the interface + tsdoc needed by TS through swagger
  32. Binary tree
  33. Canvas drawing method in Web screenshot
  34. Front end docker image volume optimization (node + nginx / node + multi-stage construction)
  35. Become a big influence of technology? Coding pages quickly build personal blog
  36. Object and array deconstruction, spread operator, rest operator
  37. Analysis of Axios source code
  38. Two ways to delete useless code in project (Practical)
  39. Edit your picture with canvas
  40. Today's chat: 2-4 years to walk out of the resignation dilemma and comfort zone
  41. JS mechanism 3: stack, heap, garbage collection
  42. [grid compression evaluation] meshquan, meshopt, Draco
  43. Deep understanding of Vue modifier sync [Vue sync modifier example]
  44. WebView for front end engineers
  45. React form source code reading notes
  46. Deep thinking about modern package manager -- why do I recommend pnpm instead of NPM / yarn?
  47. On the sequence of event capture and event bubbling
  48. Help you build a systematic understanding of the front end scaffolding
  49. commander.js Principle analysis
  50. Common usage of nginx
  51. H5 jump to wechat app
  52. Front end algorithm interview must brush questions series [14]
  53. Thinking of cross end practice
  54. Vue server rendering principle analysis and introduction
  55. [KT] vscode plug in development example series (2)
  56. Design ideas of react and Vue framework
  57. JavaScript String.prototype.replaceAll 兼容性导致的问题
  58. JavaScript String.prototype.replaceAll Problems caused by compatibility
  59. 爱奇艺体育:体验Serverless极致扩缩容,资源利用率提升40%
  60. Iqiyi Sports: experience the ultimate expansion and contraction of serverless, and increase the utilization rate of resources by 40%