개발/쿠버네티스 심화 구글 스터디잼

Container

Young_Metal 2022. 10. 11. 17:32

GC를 이용해서 solution을 개발하려 한다. container의 native support를 받으며 managed compute platform을 제공할 것은 무엇인가?

Google Kubernates Engine Clusters

 

GC의 application을 개발하려고 한다. IAM hierachy에서 필요한 것은 organization 안에 새로운 폴더를 생성하고 resource를 위해 그 안에 새로운 프로젝트를 생성한다. 

 

GC의 resources를 먹는 것을 컨트롤하는 새로운 프로덕트를 만드려고 한다. 그래서 고객의 계좌에 biling을 주려고 한다. 그러면 가장 먼저 budget을 만들고 project level에서 alert를 만드는 것이 cost를 조절하는 방법이다. 

 

periodic update를 위해서 자동으로 script를 만들어야한다. Cloud SDK를 설치해서 그 script들을 나의 컴퓨터에서 접근할 수 있도록 해야한다. 

 

Measured service를 이용하는 가장 큰 이유중에 하나이자 가장 중요한 고객의 이점은 resource를 large pool에서 공유하고 enabling economies of scale을 할 수 있기 때문이다. 

 

 

Applications need a way to isolate their dependencies from one another.

It's difficult to troubleshoot applications when they work on a developer's laptop but fail in production.

Packaging applications in virtual machines can be wasteful.

 

Containers and Container Images

 왜 Linux container들은 union file system을 사용할까?

application을 효과적으로 encapsulate하고 dependencies를 깨끗하고 작은 수의 레이어 셋으로 encapsulate하도록

 

container의 가장 위의 layer에서 가장 중요한 점은 무엇일까?

 - 가장 위의 layer는 수명이 짧다. container가 지워질 때, contents는 빠르게 지워진다. 

 - Container안에서 실행되는 application은 오로지 가장 위의 layer만 수정 가능하다.

 

deprecate : 곧 사라질 

 

Billing

Billing은 Google Cloud의 Project단에서 관리하게 된다. 

Rate Quotas가 기본적인 regular interval을 가지면서 알려주는 것이다. 

 

GCP에 접근하는 4가지 방법

Google Cloud Console for web user interface

Cloud SDK and Cloud Shell for command-line interface

Cloud Console Mobile App for iOS and Android

Rest-based API for custom applications

 

python 으로 할 수 있는 것들을 하는