How to provide a service, the method.

- Devops
- MSA (Micro Service Architecture)

Container Orchestration

1. Google - Kubernetes (a.k.a K8S)
> Confirmed by Google and it's Data Center

2. Docker - Swarm

3. Apache - mesos

4. VMware - Pivotal


5. Redhat - Openshift == Docker + Kubernetes + Redhat


Evolution

PM > VM > (Cloud) IaaS > LXC > Docker

In Business

Data Center is invested resources. So that is business does not want cost increasing.
Primary object of cost down is the 'Electricity'. Then the PM becomes that it is not very efficiency. And now VM is on.

Enterprise wants business, but many of SMB(Small Medium Business) does not.


데이터센터는 초기 구축 비용을 제외 하고는 시간이 지남에 따라 유지 보수를 해야하는 자원이다.

데이터센터 인프라 자체에서 비즈니스적인 수익이 창출되지 않는다. 따라서 유지되는 비용을 줄이는 것이 최선이고, 그 우선순위가 가장 높은것이 전기 소모다.  비용적인 측면에서 PM은 그다지 효율적이지 않다는 결론이 나왔고, VM이 도입 된 것이다.


대기업은 비즈니스를 원하지만, 대부분의 중소기업은 그들이 만드는 흐름에 맞출 뿐 이다.


Microsoft supports Docker native now.


Maintenance

>HW: Parallel process, duplex

>SW: TCP/IP to Restful to NW distribution. Application distribution(MSA)


- Server virtualization

- Container: Application platform virtualization. Orchestration, automation, easy to manage (compare with VM).


IaaS and PaaS must have SDN


PM vs Container


-Interact VM kernel and Host Kernel brings resource issue that indicates performance.

-Distributed deployment issue brings network problem

-Host kernel updated or application code edit could be a problem

-VM OS resource also needed

>> Monolithic Architecture

>> Need to scale-up not a scale-out.


+Native structure brings performance enhancement

+App isolation via namespace(linux kernel function)

+Without guest OS > OS system configuration without kernel

+Host subordinate kernel

-If kernel is down, affect on all of applications

=Uusing cgroups(control groups) to limit the host's resources


Docker container: LXC + Distributed Deployment and Management Concepts

LXC is OS container as a light weight VM. One application in one container.


리눅스 컨테이너는 경량화된 VM이라고 보면 된다. 도커 컨테이너에서 1개의 어플리케이션은 1개의 컨테이너에서 사용한다.



Orchestration

IaaS based + SDDC(Software Defined Data Center which means programming engaged)


'Cloud > Docker - PaaS' 카테고리의 다른 글

Docker 개념  (0) 2018.05.24

Docker

https://subicura.com/2017/01/19/docker-guide-for-beginners-1.html


-컨테이너 기반 오픈소스 가상화 플랫폼(LXC 기반)

-기존 OS 가상화 방식의 전가상화에서 CPU 가상화 기술(HVM)을 이용한 KVM과 반가상화 방식의 Xen 등장. 성능 문제 개선을 위해 프로세스 격리 방식 등장

-도커의 기본 네트워크모드는 Bridge 모드로 약간의 성능 손실이 존재

-libcontainer 자체 기술 사용

-이미지: 컨테이너 실행에 필요한 파일과 설정값등을 포함하고 있는 것

-레이어 저장방식으로 파일이 추가/수정 되면 새 레이어 생성하며 전체를 다시 다운받지 않고 새 레이어만 다운.

-layer는 Read only 방식이며 하나의 파일 시스템으로 사용

-이미지는 url 방식으로 관리



Concepts

Platform for developers and sysadmins to develop, deploy, and run applications with containers.

Containerization: The use of Linux containers to deploy applications.

Containers

 -Flexible: Even the most complex application

 -Lightweight: Leverage and share the host kernel

 -Interchageable: Deploy updates and upgrades

 -Portable: Build locally, deploy to the cloud, and run anywhere.

 -Scalable: Increase and automatically distribute container replicas.

 -Stackable: Stack services vertically.

'Cloud > Docker - PaaS' 카테고리의 다른 글

PaaS: Container  (0) 2018.06.18

+ Recent posts