1
头图

微信头图白底头图.jpg

On October 23, 2020, Alibaba officially announced the open source of its first Serverless developer platform, Serverless Devs. After nearly a year of careful polishing, today the official version of Serverless Devs 2.0 is newly released. Serverless Devs 2.0 has improved platform capabilities, application templates, and developer kits, and is closer to the actual production requirements of developers, and the user experience is further improved, allowing developers to play with Serverless like using a mobile phone and quickly enjoy the dividends of Serverless technology.

This is Serverless Devs

Serverless Devs is an open source and open serverless developer platform. Serverless Devs is also the industry's first cloud-native full lifecycle management platform that supports mainstream serverless services/frameworks. It is committed to creating a one-stop service for serverless application development for developers to help solve The current difficulty of the tool chain allows developers to experience multi-cloud products with one click and deploy Serverless projects at a rapid pace.

Serverless Devs is composed of "two ends and one center system":​

  • Serverless Devs CLI (command line client), suitable for geek developers, small and light, easy to integrate
  • Serverless Desktop (desktop client), has a wider range of applicability, has a full range of application management capabilities such as development, construction, deployment, debugging, observability, etc.
  • Serverless Hub Application Center , which provides the collection, distribution and distribution of applications, as a public service for developers or contributors.

插图_1-01.png

All-round ability improvement, experience upgrade

1. Platform capacity improvement

New Desktop Client Serverless Desktop

Serverless Devs 2.0 has a fine design of the desktop client. Compared with 1.0, 2.0 has more enterprise-level service capabilities:

  • Redesign the interactive process, using a new visual system b-design . More aesthetic and pragmatic;
  • It has enterprise-level application lifecycle management capabilities, from development, construction, deployment, end-cloud debugging, stress testing to observability.

屏幕快照 2021-09-10 下午2.46.50.png

   Serverless Desktop 构建 todolist 应用

More efficient command line client Serverless CLI

The command line client and core components are @vercel/ncc , and the first use experience of the component is reduced from 5 minutes to less than 30 seconds. In addition, component versions are updated silently, and users will not cache multiple versions locally. Users don't feel the upgrade, the memory of this machine is reduced by more than 2/3 compared with version 1.0.

cli added non-configuration execution instruction 0613b33bb8a264, which is completely separated from yaml for component execution. The cli command is used to improve the following scenario capabilities:

  • It is easier to integrate with automated processes, such as the gitops process;
  • Integrate more resource management related capabilities, such as viewing Alibaba Cloud Function Computing's service list, function list, trigger list, custom domain name list, etc.;
  • It's easier to manage permissions. In the enterprise-level development process, you can use atomic interfaces to manage resource permissions.

  <code class= 0613b33bb8a32a View all API commands without Alibaba Cloud function computing" title=" s cli fc-api View all API commands without Alibaba Cloud function computing">

New configuration specification

The configuration file is the soul part of ServerlessDevs application, and it is also the part that developers deal with most frequently in daily work. The design of configuration specification directly affects the development experience of Serverless application. The new design of Serverless Devs 2.0 configuration specification:

  • More scalability: By introducing global configurations, such as name , access etc., resource management in the 1.0 era can be formally upgraded to the application management dimension, and it has certain scalability, including the ability to add stage for environmental management configuration such as 0613b33bb8a388 globally Wait;
  • Easier to learn: The new Yaml specification of Serverless Devs 2.0 is partially aligned with the existing tool specification standards to a certain extent, which can greatly reduce the learning difficulty of developers and make it easier to apply.

1.0 和 2.0的配置比较

New data source design

The Registry concept proposed by Serverless Devs 2.0 supports GitHub, Gitee and official sources at the same time. Compared with traditional data sources, they are completely under official control. The open source design of Registry allows users to choose suitable data warehousing by themselves, and build their own applications using Serverless Devs specifications. Center, manage your own applications and components.
registry 源选择.png

2. Application template enhancement

If the application template of Serverless Devs 1.0 is based on traditional web frameworks. Serverless Devs2.0 application templates are more focused on modern serverless applications. We provide platform-specific JAMStack application template and Serverless version SSR application template .

Use the Jamstack application template to build a website with one click

Install Serverless Devs command line client , one-line instruction to have a professional technical site:

s init docsite-basic

屏幕快照 2021-09-10 下午2.33.59.png

Serverless SSR implementation

Install Serverless Desktop desktop client , one-click to have SSR technology site:

屏幕快照 2021-09-10 下午2.45.29.png

More application templates online

Serverless Devs 2.0 provides a more complete solution and strategy for traditional framework migration, providing more than 20 web frameworks, allowing developers to complete the one-click migration of traditional frameworks at nearly zero cost.


3. More practical developer kit

Developer SDK is an important part of the application development experience. 2.0 provides 1613b33bb8a5d8 Serverless application developer kit to reduce the cost of developers connecting to BaaS services. At present, it has integrated GitHub service, OSS service, and tablestore database.

Get started quickly with REST API applications:

s init dk-http

屏幕快照 2021-09-10 下午2.41.31.png

Roadmap

  • In September 2021, complete the docking of Baidu cloud function and Huawei cloud function workflow;
  • In October 2021, complete cloud debugging capabilities and test them online; complete partial integration and compatibility with Terraform capabilities;
  • In November 2021, Desktop 2.0 of Serverless Devs will be released, which will further integrate with scientific release, online transaction and other capabilities, and complete the docking with mainstream CI/CD platforms/tools;
  • In February 2022, complete VScode plug-in, cloud IDE and other support;

We will always work hard to build the best serverless developer tools for developers.

Get started with Serverless Devs in one line

Build a personal technical website with one line of code (please prepare the Nodejs environment in advance).

 npm i @serverless-devs/s -g && s init docsite-basic

Community URL list

钉钉识别二维码,进群参与讨论.jpg

Dingding to identify the QR code, join the group to participate in the discussion

Experience Serverless Devs now
https://github.com/Serverless-Devs/Serverless-Devs


Serverless
69 声望265 粉丝