当前位置:网站首页>Introduction to cloud native + container concept
Introduction to cloud native + container concept
2022-06-30 03:54:00 【Shiyu Shiba ya】
“ This article introduces the basic concept of cloud primitiveness and the container , Suitable for beginners who first contact the cloud field .”
Basic concepts
- Cloud native (Cloud+Native) It is a distributed cloud based on distributed deployment and unified transportation management , In containers 、 Microservices 、DevOps And other technologies .—— On the cloud , Use the ECS instead of the local server .
- Program in cloud , Not traditional data centers .
Writing locally deployed applications that run on corporate servers is often written in traditional languages , Such as C/C ++,C# Or others Visual Studio Language ( If deployed in Windows Server On the platform ) And enterprise class Java. If it's on a mainframe , May use Cobol.
Cloud native applications are more likely to be written in Web centric languages , That means using HTML,CSS,Java,JavaScript,.Net,Go,Node.js,PHP,Python and Ruby.
Cloud native applications are always up to date , Cloud native applications are always available . Locally deployed applications need to be updated , And it is usually provided by the supplier on a subscription basis , And you need to shut down when installing updates .
Cloud native applications take advantage of cloud resiliency by adding resources during peak periods . If your cloud based e-commerce application is used frequently , You can set it up to use additional computing resources , Until the peak subsides, then turn off these resources . Cloud native applications can be adjusted to increase resources and scale as needed .
Cloud native applications work in virtualized environments , There is no problem sharing resources with other applications . Many locally deployed applications either do not work properly in a virtual environment , Or it doesn't work at all , Must be non virtualized .
Locally deployed applications tend to be single in design . They will certainly unload some work into the library , But in the end it's a big application with lots of subroutines . Cloud native applications are more modular , Many functions are decomposed into microservices . This allows them to be turned off when they are not needed , And extend the update to that module , Not the entire application .
Microservices
- Microservice is an architecture scheme for building applications , Different from the traditional single application, the microservice architecture divides the application into multiple core functions , Each function is called a separate service , Can be built and deployed separately , The failure of one service will not affect other functional modules , This sentence reflects its release for a specific service , Little impact , Low risk and other characteristics .
Service Grid (Service Mesh)
- Service grid refers to the configurable infrastructure layer for microservice applications . When using the service grid, you usually provide a sidecar Proxy instance , Main treatment service Communication between 、 monitor 、 And some safety related considerations , Every serivce There will be one inside sidecar, It also provides service discovery 、 Load balancing 、 Authorization and other functions .
Containers
Containers
- It can be understood simply as a subsystem independent of the host under the host system .
Container concept
- A container is a series of processes separated from the rest of the system , All the files needed to run these processes are provided by a single image .
Container meaning
- Containers are used to store applications and application related dependencies “ Independent containers ”, According to the different characteristics of the goods transported, a variety of container types can be formulated ( I.e. container image ).
- The container image encapsulates the environment on which the container runs , To avoid relying on the operating system of the server running the container .
- Containers are portable and consistent .
- Containerization provides implementation guarantee for microservices , Play the role of application isolation .
Docker Containers
- Docker Items are mirrored through containers , The complete environment needed to run an application directly —— Package the file system of the entire operating system .
- Docker advantage : The project greatly reduces the use threshold of container technology . Lightweight , portable , virtualization , Write a program and throw it into an image, which can be deployed and run anywhere , Development 、 Testing and production environments are completely unified , It can also control and virtualize resources .
- Docker As an open source application container engine , It is designed for developers and system administrators to build 、 A platform for publishing and running distributed applications , Typical Docker platform Kubernetes、Openshift V3、Flynn、Deis etc.
- Docker Allows developers to package various applications and dependency packages into a portable package Docker In the container , With Docker Container is the basic unit of resource partition and scheduling , Encapsulating the environment of the entire software runtime , And then publish it to Linux On the machine .
Reference material
https://www.cnblogs.com/DTinsight/p/14522296.html
https://zhuanlan.zhihu.com/p/150190166
https://cloud.tencent.com/developer/article/1598764
https://baijiahao.baidu.com/s?id=1606406149473084309
https://zhuanlan.zhihu.com/p/441747471
“ What is wrong is the time , Still a teenager , The clouds are still gone .”
——Created By It's feather 18 ya
边栏推荐
- [punch in - Blue Bridge Cup] day 3 --- slice in reverse order list[: -1]
- The school training needs to make a registration page. It needs to open the database and save the contents entered on the registration page into the database
- [summary of skimming questions] database questions are summarized by knowledge points (continuous update / simple and medium questions have been completed)
- How do college students make money by programming| My way to make money in College
- Laravel9 installation locale
- Buffer pool of MySQL notes
- 【作业】2022.5.24 MySQL 查操作
- Integrating viewbinding and viewholder with reflection
- 【笔记】2022.5.23 MySQL
- GIS related data
猜你喜欢

Redis is used in Windows system

Green new power and "zero" burden of computing power -- JASMINER X4 series is popular

Number of students from junior college to Senior College (III)

(04).NET MAUI实战 MVVM

laravel9本地安装

Solve the problem of Navicat connecting to the database
![[punch in - Blue Bridge Cup] day 5 --- lower() small](/img/b5/21f51a7416c72c299cc59192a33b3a.jpg)
[punch in - Blue Bridge Cup] day 5 --- lower() small

Smart use of bitmap to achieve 100 million level massive data statistics

第十天 数据的保存与加载

第九天 脚本与资源管理
随机推荐
Interface test tool postman
关于智能视觉组上的机械臂
C#【高级篇】 C# 匿名方法【待补充Lambda表达式。。。】
【作业】2022.5.24 MySQL 查操作
云原生入门+容器概念介绍
Analysis of similarities and differences of various merged features (Union, merge, append, resolve) in ArcGIS
解决navicat连接数据库遇到的问题
The jupyter notebook kernel hangs up frequently and needs to be restarted
Day 9 script and resource management
C [advanced] C interface
利用反射整合ViewBinding和ViewHolder
Hebb and delta learning rules
【云原生】AI云开发平台——AI Model Foundry介绍(开发者可免费体验AI训练模型)
[operation] getting started with MySQL on May 23, 2022
How to view Tencent's 2022 school recruitment salary, the total contract of cabbage is 40W?
How to use Jersey to get the complete rest request body- How to get full REST request body using Jersey?
UML diagrams and list collections
Postman learning sharing
C#【高级篇】 C# 接口(Interface)
(04).NET MAUI实战 MVVM