Author: Lingyun Cloud

Source of this article: Serverless Function Computing Solicitation Order Activity

Serverless Past and Present

Serverless background introduction

With the continuous development of cloud computing, many new technologies have emerged that change the traditional IT architecture and operation and maintenance methods, and technologies represented by virtual machines, containers, and microservices are continuously improving the technical capabilities of cloud services at all levels. And many common capabilities in the environment become a service. But no matter where these technologies are applied, helping enterprises " reduce costs and increase efficiency " is the eternal theme of technological change.

The emergence of the serverless architecture has brought about a leap-forward change. Serverless host management, operating system management, basic software deployment and operation, resource allocation, and capacity expansion and contraction capabilities are all provided by cloud vendors, making computing power a public service like water, electricity, and coal, which means building applications based on serverless services , developers only need to focus on the product code, without the need to manage and operate the cloud service operating environment, and computing resources have shifted from purchasing "servers" to purchasing corresponding "services".

Serverless = Faas (Function as a service) + Baas (Backend as a service)

 title=

Serverless processing model:

 title=

Serverless development model

Serverless truly achieves that deploying applications does not involve infrastructure construction, and automatically builds, deploys, and starts services.

Take big data application development as an example:

 title=

In the traditional development process, we need to first complete the installation and deployment of a series of components of the back-end big data platform from the collection, storage, cleaning, association, analysis and mining of the list of components involved in the whole link according to the actual application of big data, and then wait until After the big data application is completed, application function debugging, application + platform performance tuning, and the final test and launch, the big data platform operation and maintenance engineer is also required to maintain the entire big data platform.

The whole process involves multiple roles, and the operation, maintenance and tuning of the big data platform itself has certain technical thresholds. The tuning effect depends entirely on the ability of its own employees, and a good tuning staff is like a good database. Like DBAs, they need long-term project practice accumulation and are key scarce talents.

Based on Serverless, everything becomes very simple. Cloud vendors provide big data component capabilities in the form of services. The complex platform building process in the past is completely liberated. It only needs to write big data applications and deploy them to Serverless services. In the future, you don't need to care about the operation, maintenance and tuning of any server and big data platform components.

While cloud vendors provide external services, they have a complete team behind them to provide professional support 7*24. Therefore, only big data application development engineers can do all the work. Of course, if you have certain big data platform capabilities, it is also very beneficial to the performance tuning of the big data application side, and you can often get twice the result with half the effort.

Serverless Core Values

  • Reduce operational complexity

Serverless architecture decouples software applications from servers, and servers are no longer the focus of user development and operation of applications. Before the application goes live, users no longer need to plan the number and specifications of servers in advance. During the operation and maintenance process, users no longer need to continuously monitor and maintain the status of specific servers, but only need to care about the overall status of the application. The overall complexity of application operations is reduced, and users can focus more on software application experience, improvements, and other areas that can bring higher business value.

  • Reduce operating costs

Servers are no longer the managed resources that users pay attention to, the complexity of operations is reduced, and the time and manpower required for application operations are greatly reduced. In the best case, a few application administrators can manage an application system that handles a large number of requests.

  • Shorten time to market

Under the serverless architecture, the functions of the application are decomposed into several fine-grained stateless functions, the boundaries between functions become clearer, and the coupling between function modules is greatly reduced. This makes the development of software applications more efficient, and the iteration cycle of application development is shorter.

Serverless practical project experience

Log in to the Alibaba Cloud console

After entering the Alibaba Cloud official website, click the login button in the upper right corner, enter the user name and password, and then log in to enter the Dashboard

 title=

Enter the Function Compute FC service

 title=

Create service

 title=

Enter the service name and click OK

 title=

create function

 title=

Enter the function name, select the runtime, and click Create; here is Node14 as an example:

 title=

 title=

test hello world

 title=

See the return of hello world, click test to see the return result.

Create API Gateway: Find Alibaba Cloud API Gateway Service

 title=

Create group:

 title=

Enter group name:

 title=

Create an API:

 title=

Enter the API name and click Next:

 title=

Select https and enter the route:

 title=

Click Next and select the function calculation you just created:

 title=

Enter a release description and click Release.

 title=

Enter the group and find the temporary address of the API Gateway:

 title=

By calling Postman, you can get the return value of the function calculation:

 title=

Epilogue

Generally speaking, the more developed and mature a society is, the clearer the social division of labor, and the same is true of technology. After so many years of development, cloud computing has gradually evolved to the point where users only need to pay attention to the core business and the resources required for business operation, and the cloud vendors are responsible for the unified care of the infrastructure and platform.

Alibaba Cloud Serverless lets us no longer need to worry about the operation and maintenance of the server, and we don’t need to care about areas we are not familiar with. We only need to focus on business development and product implementation. Fewer things we need to care about means more things we can do.

It can be said that with the rise of serverless architecture, the real cloud computing era has come. I believe that with the rapid development of technology, there are infinite possibilities for Serverless in the future!


Alibaba Cloud Serverless Recent Popular Events

 title=

2022 Alibaba Cloud Serverless Developer Meetup Hangzhou Station is hotly registered!

This salon specially invites serverless front-line technical experts from Alibaba Cloud and AutoNavi to share the latest exploration and research on the current serverless architecture CICD; bring the cost reduction and efficiency increase practice of serverless in AutoNavi business system; analyze the atomization of serverless from a comprehensive perspective Ability is how to improve R&D efficiency and enhance development happiness. There is also a Serverless Workshop waiting for you to play, hand-in-hand to experience the fun of 1-minute rapid deployment, and feel the beauty of Severless computing power. Sign up for free to participate in the event, we have prepared a lot of peripheral gifts, waiting for you to come to Serverless!

  • Time: September 17 (Saturday) 13:00
  • Venue: Visitor Center, Area B, Alibaba Xixi Park

Click here to register now!


阿里云云原生
1k 声望302 粉丝