1.png

Author | Wang Duo (Tudor)
Source | Serverless Public

Humans’ pursuit of freedom has never stopped. We use battle to gain national freedom, and we use code to gain freedom of hands. At the same time, code, as a slave to the server, has begun to move around. The revolution has begun. How to adapt to the advent of the new era?

1. The Revolution of Everything As Code (Everything As Code)

Code has always been a prisoner in the server, but the revolution has come. Look at the code and how to control the environment step by step and move towards the service.

2.png

1. Revolution: Use code to control compilation and packaging

Pipeline as code: representative technology Jenkins Pipeline

3.png

2. Revolution: Control the server with code

Machine as code: representative technology Docker

4.png

3. Revolution: Use code to control server clusters

Server cluster as code: representative technology K8S

5.png

4. Revolution: Use code to control basic resources

Infrastructure as code: Represents the technology Terraform

6.png

When everything is code, A=B can get B=A, and the era of code as a service is here.

Second, the arrival of the code-as-a-service era

1. Code warehouse in the traditional era

In the traditional code warehouse instructions, the "Running Environment Installation Wizard" document is necessary. Take the SpringBoot code as an example, with the installation wizard document.

7.png

2. Code Repository in the New Era

Reference code repository aws-lamda-spring-boot2 , including all the codes needed by springboot to run to aws lamda.

8.png

9.png

3. Mainstream technology embraces the new era

Take Spring as an example. Starting from SpringBoot, the environment control is continuously integrated until SpringNative, which can already directly build mirroring.

10.png

3. Cloud native architecture under code as a service

1. container service : control everything with code

11.png

2. engine : Trust the standard platform and transfer part of the control to the platform

12.png

3. function calculation : Trust the standard platform, and transfer most of the control to the platform

13.png

Fourth, the R&D platform war under code as a service

In the era of code-as-a-service, major manufacturers are building their own closed-loop research and development on the cloud. Whoever does a good job on the development platform on the cloud will be able to grasp the hearts of the next cloud-native developers.

14.png

1. Code hosting battle: the world of code winners

2. Online development battle

3. Build a DevOps battle online

4. Development of R&D System

  • In the code-as-a-service era, Git as a code version management software, coupled with WebHook, can easily manage the entire code running life cycle, GitOps came into being. GitHub absorbed GitOps ideas and launched GitHub Actions .

15.png

  • AWS launched the product Proton, providing services and environment templates with fully configured code, opening platform construction capabilities and reuse capabilities to platform developers, allowing ordinary developers to focus more on business realization.

16.png

Five, Cloud Development Platform

1. Cloud development platform, through the integration of cloud native products and cloud effects, completed the closed loop of cloud native development

17.png

2. Cloud development platform, build application-level cloud native applications, preset standard cloud architecture

18.png

3. Cloud development platform, application sharing

19.png

  • The cloud development platform cooperates with the Tmall Elf and DingTalk team to integrate the front and back ends of the applet to develop and deploy together, solve the problem that the applet cloud and the user cloud cannot be connected, and add user cloud capabilities to the applet.
  • Cloud development platform applications can be shared within the team, and technical communication within the team is no longer just about clone code.
  • The cloud development platform market is shared, and the technical solutions of the partners can be directly built on the market in the future, so that cloud service providers no longer have to help users build and maintain cloud environments on site.

Six, conclusion

I sincerely invite everyone to join the cloud development platform and jointly build a cloud research and development platform that serves millions of Alibaba Cloud developers.

Quote:

  1. Performance of running Spring Boot as AWS Lambda functions

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