ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

CLOUD/GCP

[GCP] 1. GCP ์†Œ๊ฐœ

NakyungIm 2020. 4. 13. 19:37

์ด ๊ธ€์€ Cloud OnBoard Seoul Online [https://cloudonair.withgoogle.com/events/korea-cloud-onboard-online-2020?utm_source=google&utm_medium=email&utm_campaign=FY20-Q1-apac-onboard-operational-er-KROnBoardSeoulOnline_EM_FUP&utm_content=missedyou&mkt_tok=eyJpIjoiWTJZM056ZzFOMk0xWmpneSIsInQiOiJldVFjVElPWUZVTzRDMWdQZ29rRG1SNENCZzAyQXhsS2lCYjFKeTNPTTljOTBydmNXUldibVhMSmZVaUNaQ3NWQXc2Q2krTHQ4U2o3QnNjY0xIaXFWWUo3Nm4wa0habTFaTlFaZlNNWmNRTUF5cGYzdHVIQ1hPNFhqVkJ2cWxMUiJ9]์„ ์ฐธ๊ณ ํ•˜์—ฌ ์ž‘์„ฑํ•˜์˜€์Šต๋‹ˆ๋‹ค.

 

 

 

 

๊ณผ๊ฑฐ~ํ˜„์žฌ

  • ๋ฌผ๋ฆฌ์ /์ฝ”๋กœ์ผ€์ด์…˜ : ์‚ฌ์šฉ์ž๊ฐ€ ์„œ๋ฒ„, ์šด์˜์ฒด์ œ ๋“ฑ์„ ๊ตฌ์„ฑ, ๊ด€๋ฆฌ, ์œ ์ง€๋ณด์ˆ˜

  • ๊ฐ€์ƒํ™” : ์‚ฌ์šฉ์ž ๊ตฌ์„ฑ ์ œ๊ณต์—…์ฒด์—์„œ ๊ด€๋ฆฌ ๋ฐ ์œ ์ง€๋ณด์ˆ˜

  • ์„œ๋ฒ„๋ฆฌ์Šค(Severless) : ์™„์ „ ์ž๋™ํ™” (์‚ฌ์šฉ์ž ์ž…์žฅ์—์„œ ์„œ๋ฒ„๋ฅผ ๊ด€๋ฆฌํ•  ํ•„์š”๊ฐ€ ์—†์Œ!)

    • ๋น ๋ฅธ ์ˆ˜ํ–‰์†๋„

    • ์„œ๋ฒ„, CPU, ๋ฉ”๋ชจ๋ฆฌ ๊ณ ๋ คํ•˜์ง€ ์•Š๊ณ  ์ฝ”๋“œ๋งŒ ์ž‘์„ฑํ•˜๋ฉด ๋จ

    • ํ•˜๋“œ์›จ์–ด ๋ถ€๋ถ„์€ ํšŒ์‚ฌ(๊ตฌ๊ธ€)์—์„œ ๊ด€๋ฆฌ

 

 

 

๋ฆฌ์ „(Region) ๋ฐ ์˜์—ญ(Zone)

  • ๋ฆฌ์ „ 1๊ฐœ - Zone 3๊ฐœ๋กœ ์ด๋ฃจ์–ด์ง
  • ์ „ ์„ธ๊ณ„ 22๊ฐœ์˜ ๋ฆฌ์ „ ์กด์žฌ
  • ๋ฆฌ์ „ ๊ทผ์ฒ˜์— ๋ฆฌ์ „๋ผ๋ฆฌ ์ด์–ด์ฃผ๋Š” ์ „ ์„ธ๊ณ„ 134๊ฐœ์˜ PoP(Point of Presence) ์กด์žฌ

 

 

 

GCP ์„œ๋น„์Šค

 

 

 

 

๊ณ„์ธต ๊ตฌ์กฐ

  • ๋ฆฌ์†Œ์Šค ๊ณ„์ธต๊ตฌ์กฐ ์ˆ˜์ค€์— ๋”ฐ๋ผ ๊ถŒํ•œ ๊ฒฝ๊ณ„ ๋ฐ ๋ฆฌ์†Œ์Šค๊ฐ€ ๋…๋ฆฝ์ ์œผ๋กœ ์„ค์ •๋จ
  • Organization Node (ex : Google)
  • Folder (project๋ฅผ ํšจ์œจ์ ์œผ๋กœ ๊ด€๋ฆฌํ•˜๊ธฐ ์œ„ํ•œ ํด๋”) 
  • Project (๋ถ€์„œ๋งˆ๋‹ค ์„ค์ •) - Resource์˜ ์ƒ์œ„
  • Resource (project๋ฅผ ๋งŒ๋“ค๊ธฐ ์œ„ํ•œ ๋ฆฌ์†Œ์Šค๋“ค, ex : VM, BigQuery) - Project์˜ ํ•˜์œ„

 

 

 

GCP ์‚ฌ์šฉ ๋ฐฉ๋ฒ•

  1. Cloud Platform Console (์›น ์‚ฌ์šฉ์ž ์ธํ„ฐํŽ˜์ด์Šค)  ex : Chrome
  2. Cloud Shell ๋ฐ Cloud SDK (๋ช…๋ น์ค„ ์ธํ„ฐํŽ˜์ด์Šค)(CLI(Command Line Interface))
  3. Cloud Console Mobile App (iOS ๋ฐ Android) - ์ž˜ ์‚ฌ์šฉํ•˜์ง€ X
  4. REST ๊ธฐ๋ฐ˜ API (์ปค์Šคํ…€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜)

 

 

 

Google Cloud SDK

  • SDK์— Cloud Platform ์ œํ’ˆ ๋ฐ ์„œ๋น„์Šค๋ฅผ ์œ„ํ•œ CLI ๋„๊ตฌ ํฌํ•จ
    • gcloud, gsutil(Cloud Storage), bq(BigQuery), kubernetes(kubectl)
  • Docker ์ด๋ฏธ์ง€๋กœ ์ œ๊ณต
  • Cloud Shell์„ ํ†ตํ•ด ์ œ๊ณต

 

 

 

ํด๋ผ์ด์–ธํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ

  • ์ฝ”๋“œ๋กœ GCP ๋ฆฌ์†Œ์Šค๋ฅผ ๊ด€๋ฆฌ
  • Google API ํด๋ผ์ด์–ธํŠธ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ
    • ์˜คํ”ˆ์†Œ์Šค, ์ž๋™์ƒ์„ฑ
    • ๋‹ค์–‘ํ•œ ์–ธ์–ด ์ง€์›
      • Java, Python, JavaScript, PHP, .NET, Go, Node.js, Ruby, Objective-C, Dart

 

 

 

๊ธฐํƒ€ ์šฉ์–ด ์ •๋ฆฌ

  • IaaS (Infrastructure as a Service)
    • ์„œ๋ฒ„, ์Šคํ† ๋ฆฌ์ง€, ๋„คํŠธ์›Œํฌ๋ฅผ ํ•„์š”์— ๋”ฐ๋ผ ์ธํ”„๋ผ ์ž์›์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๊ฒŒ ํด๋ผ์šฐ๋“œ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•˜๋Š” ํ˜•ํƒœ
    • Compute Engine
  • PaaS (Platform as a Service) 
    • ์•ฑ ๊ฐœ๋ฐœ ๋˜๋Š” ๊ตฌํ˜„ํ•  ๋•Œ, ๊ด€๋ จ ์ธํ”„๋ผ๋ฅผ ๋งŒ๋“ค๊ณ  ์œ ์ง€๋ณด์ˆ˜ํ•˜๋Š” ๋ณต์žกํ•จ ์—†์ด, ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœ, ์‹คํ–‰, ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•˜๋Š” ํ”Œ๋žซํผ์„ ์ œ๊ณตํ•˜๋Š” ํ˜•ํƒœ
    • App Engine
  • SaaS (Software as a Service)
    • ์†Œํ”„ํŠธ์›จ์–ด ๋ฐ ๊ด€๋ จ ๋ฐ์ดํ„ฐ๋Š” ์ค‘์•™์— ํ˜ธ์ŠคํŒ… ๋˜๊ณ , ์‚ฌ์šฉ์ž๋Š” ํด๋ผ์ด์–ธํŠธ(์›น ๋ธŒ๋ผ์šฐ์ € ๋“ฑ)๋ฅผ ํ†ตํ•ด ์ ‘์†ํ•˜๋Š” ํ˜•ํƒœ์˜ ์†Œํ”„ํŠธ์›จ์–ด ์ „๋‹ฌ ๋ชจ๋ธ

 

 

 

 

์‹ค์Šต

 

 

 

 

๋Œ“๊ธ€