About 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.

微信头图白底头图.jpg

Author | Han Xie, Jiang Yu

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 are 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.
  • The Serverless Hub Application Center provides the collection, distribution and distribution of applications, as a public service for developers or contributors.

3.pngimage.gif

All-round ability improvement, experience upgrade

1. Improve platform capabilities

1. 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 and adopt the 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.

1631256422509-6d17b533-2a5d-45b1-a576-1c38d7a024e8.png

Serverless Desktop build todolist application

2. A more efficient command line client Serverless CLI

The command line client and core components are compiled into a file using @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.

A new configuration-free execution command cli is added. This command is completely separated from yaml for component execution, and the following scenario capabilities are improved through the cli command:

  • 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.

1631092898670-d0e4bc39-70ba-4916-a21f-4fd24a50c0ca.pngimage.gif

s cli fc-api View all api commands without configuration of Alibaba Cloud Function Computing

3. Brand new configuration specification

The configuration file is the soul part of the ServerlessDevs application, and it is also the most frequent part of the developer's daily work. The design of the configuration specification directly affects the development experience of the Serverless application. The new design of the Serverless Devs 2.0 configuration specification:

  • More scalability: By introducing global configuration, such as name, access, etc., resource management in the 1.0 era can be formally promoted to the application management dimension, and it has certain scalability, including the ability to add stage and other environmental management configuration fields 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.

6.png

1.0 and 2.0 configuration comparison

4. Brand 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.

7.png

registry source selection

2. Application template enhancement

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

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

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

s init docsite-basic

8.gif

2. Serverless SSR implementation

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

9.gif

3. Launch more application templates

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.

10.png

3. A more practical developer kit

Developer SDK is an important part of the serverless application development experience. 2.0 provides a 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

image.gif

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

11.gif

Community URL list

  • Community official website

http://www.serverless-devs.com/

  • Project warehouse

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

  • Serverless Desktop desktop client

https://serverlessdevs.resume.net.cn/zh-cn/desktop/index.html

  • Serverless Application Developer Kit

http://serverless-dk.oss.devsapp.net/docs/tutorial-dk/intro/react

  • Serverless Devs CLI 

https://serverlessdevs.resume.net.cn/zh-cn/cli/index.html

  • Serverless Hub Application Center

https://serverlesshub.resume.net.cn/#/hubs/special-view

Click the link to experience Serverless Devs immediately!

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

Copyright Statement: content of this article is contributed spontaneously by Alibaba Cloud real-name registered users. The copyright belongs to the original author. The Alibaba Cloud Developer Community does not own its copyright and does not assume corresponding legal responsibilities. For specific rules, please refer to the "Alibaba Cloud Developer Community User Service Agreement" and the "Alibaba Cloud Developer Community Intellectual Property Protection Guidelines". If you find suspected plagiarism in this community, fill in the infringement complaint form to report it. Once verified, the community will immediately delete the suspected infringing content.

阿里云开发者
3.2k 声望6.3k 粉丝

阿里巴巴官方技术号,关于阿里巴巴经济体的技术创新、实战经验、技术人的成长心得均呈现于此。


引用和评论

0 条评论