Docs Menu
Docs Home
/
MongoDB Atlas
/ / /

์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค ๋ฐฐํฌ

์ด ํŽ˜์ด์ง€์˜ ๋‚ด์šฉ

  • ์ „์ œ ์กฐ๊ฑด
  • ์ ˆ์ฐจ

์ด ํŽ˜์ด์ง€์—์„œ๋Š” Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ์˜ ๋ฐ์ดํ„ฐ์— ์•ก์„ธ์Šคํ•˜๊ธฐ ์œ„ํ•ด ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค๋ฅผ ๋ฐฐํฌํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.

์‹œ์ž‘ํ•˜๊ธฐ ์ „์— ๋‹ค์Œ ์‚ฌ์ „ ์š”๊ตฌ ์‚ฌํ•ญ์„ ์™„๋ฃŒํ•˜์„ธ์š”.

  • ์•„์ง ๊ณ„์ •์ด ์—†๋Š” ๊ฒฝ์šฐ MongoDB Atlas ๊ณ„์ •์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค.

  • Azure PowerShell ์„ค์น˜ ๋˜๋Š” Azure CLI . ์ด๋Ÿฌํ•œ ๋„๊ตฌ์— ํ•™์Šต ๋ณด๋ ค๋ฉด ์˜ฌ๋ฐ”๋ฅธ Azure ๋ช…๋ น์ค„ ๋„๊ตฌ ์„ ํƒ์„ ์ฐธ์กฐํ•˜์„ธ์š”.

  • Azure PowerShell ๊ตฌ์„ฑ๋˜๋Š” Azure CLI.

  • ์„ ํƒ ์‚ฌํ•ญ. Azure ์„œ๋น„์Šค ์ฃผ์ฒด ์•ก์„ธ์Šค๋ฅผ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.

Atlas CLI๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์ƒˆ Data Federation ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ์ƒ์„ฑํ•˜๋ ค๋ฉด ๋‹ค์Œ ๋ช…๋ น์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

atlas dataFederation create <name> [options]

๋ช…๋ น ๊ตฌ๋ฌธ ๋ฐ ๋งค๊ฐœ๋ณ€์ˆ˜์— Atlas CLI ํ•™์Šต ๋ณด๋ ค๋ฉด dataFederation create Atlas ์— ๋Œ€ํ•œ ์„ค๋ช…์„œ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

ํŒ

์ฐธ์กฐ: ๊ด€๋ จ ๋งํฌ

1
2
3
  1. Create New Federated Database ๋“œ๋กญ๋‹ค์šด์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. Manual Setup0}์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

4

Amazon Web Services , Azure ๋˜๋Š” Google Cloud Platform ์„ ์„ ํƒํ•  ์ˆ˜ Amazon Web Services Azure์žˆ์Šต๋‹ˆ๋‹ค.Google Cloud Platform ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค ๊ฐ€ ์ƒ์„ฑ๋˜๋ฉด Atlas Data Federation ์ด ์ฟผ๋ฆฌ๋ฅผ ์ฒ˜๋ฆฌํ•˜๋Š” cloud ์ œ๊ณต์ž ๋ฅผ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

Azure Blob Storage container์˜ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•ด ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค๋ฅผ ๊ตฌ์„ฑํ•˜๋Š” ๊ฒฝ์šฐ ๋ฐ์ดํ„ฐ๋ฅผ ํ˜ธ์ŠคํŒ…ํ•˜๋Š” cloud ๊ณต๊ธ‰์ž์™€ ๋‹ค๋ฅธ cloud ๊ณต๊ธ‰์ž๋ฅผ ์„ ํƒํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ์ฆ‰, Azure ๋ฅผ ์„ ํƒํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

5

๊ธฐ๋ณธ๊ฐ’์€ FederatedDatabaseInstance[n] ์ž…๋‹ˆ๋‹ค. ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค๊ฐ€ ์ƒ์„ฑ๋˜๋ฉด ์ด๋ฆ„์„ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

6
  • ์•ˆ๋‚ด๋ฅผ ๋”ฐ๋ผ ์ง„ํ–‰ํ•˜๊ณ ์ž ํ•  ๋•Œ๋Š” Visual Editor๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  • ์›์‹œ JSON ์„ ํŽธ์ง‘ํ•˜๋ ค๋ฉด JSON Editor ๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

7
  1. Data Sources ์„น์…˜์—์„œ ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค์˜ ๋ฐ์ดํ„ฐ ์„ธํŠธ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

    Add Data Sources ์„ ํด๋ฆญํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  2. ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

    Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ์˜ ๋ฐ์ดํ„ฐ์— ๋Œ€ํ•œ ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค ๋ฅผ ๊ตฌ์„ฑํ•˜๋ ค๋ฉด Azure ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

    stores.[n].provider JSON ๊ตฌ์„ฑ ์„ค์ •์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.

  3. Atlas ์— ๋Œ€ํ•œ Azure ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

    ์„œ๋น„์Šค ์ฃผ์ฒด ๋“œ๋กญ๋‹ค์šด์—์„œ Atlas ์— ์ธ์ฆ๋œ ๊ธฐ์กด Azure ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์„ ํƒํ•˜๊ฑฐ๋‚˜ Authorize an Azure Service Principal ๋ฅผ ์„ ํƒํ•˜์—ฌ ์ƒˆ ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์ธ์ฆํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

    Atlas ์— ๊ถŒํ•œ์ด ๋ถ€์—ฌ๋œ ๊ธฐ์กด ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์„ ํƒํ•œ ๊ฒฝ์šฐ ๋‹ค์Œ ๋‹จ๊ณ„๋กœ ์ง„ํ–‰ํ•˜์„ธ์š”.

    ๊ธฐ์กด ์„œ๋น„์Šค ์ฃผ์ฒด์— ๋Œ€ํ•ด Atlas ๋ฅผ ์Šน์ธํ•˜๊ฑฐ๋‚˜ ์ƒˆ ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์ƒ์„ฑํ•˜๋Š” ๊ฒฝ์šฐ ๋‹ค์Œ ๋‹จ๊ณ„๋กœ ์ง„ํ–‰ํ•˜๊ธฐ ์ „์— ๋‹ค์Œ ๋‹จ๊ณ„๋ฅผ ์™„๋ฃŒํ•˜์„ธ์š”.

    1. ์ƒˆ ์„œ๋น„์Šค ์ฃผ์ฒด ๋˜๋Š” ๊ธฐ์กด ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์Šน์ธํ•˜๋ ค๋ฉด Authorize an Azure Service Principal ์„ ์„ ํƒํ•˜๊ณ  Continue ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

      Add Atlas to your Azure Service Principal ์„น์…˜์—์„œ Azure ์„œ๋น„์Šค ์ฃผ์ฒด AppId ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๊ธฐ์กด ๋˜๋Š” ์ƒˆ Azure ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ํ†ตํ•ด Atlas ์— ์•ก์„ธ์Šค ์„ ๋ถ€์—ฌํ•ฉ๋‹ˆ๋‹ค.

    2. Atlas UI์˜ PowerShell ๋˜๋Š” AzureCLI ํƒญ์— ์„ค๋ช…๋œ ๋‹จ๊ณ„์— ๋”ฐ๋ผ ์ƒˆ ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ๋งŒ๋“ค๊ฑฐ๋‚˜ ๊ธฐ์กด ์„œ๋น„์Šค ์ฃผ์ฒด๋ฅผ ์ˆ˜์ •ํ•ฉ๋‹ˆ๋‹ค.

    3. Atlas UI์˜ ๋‹จ๊ณ„๋ฅผ ์™„๋ฃŒํ•œ ํ›„ ๊ฐ ํ•„๋“œ์— ํ…Œ๋„ŒํŠธ ID ๋ฐ ์„œ๋น„์Šค ์ฃผ์ฒด ID๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

    4. ๋‹ค์Œ ๋‹จ๊ณ„๋กœ ์ง„ํ–‰ํ•˜๋ ค๋ฉด Validate and Finish ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  4. Azure Blob Storage์— ์•ก์„ธ์Šค ๋ฅผ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค.

    Configure Azure Blob Storage ํŽ˜์ด์ง€์—์„œ Azure Storage ๊ณ„์ • ์ž๊ฒฉ ์ฆ๋ช… ์œ„์ž„ ๋ฐ ์Šคํ† ๋ฆฌ์ง€ ์ปจํ…Œ์ด๋„ˆ ์•ก์„ธ์Šค ๋ฅผ ๊ตฌ์„ฑํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ์ˆ˜ํ–‰ํ•˜๋ ค๋ฉด ๋‹ค์Œ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

    1. Storage Account Credential Delegation ํ•„๋“œ ์— ์Šคํ† ๋ฆฌ์ง€ ๊ณ„์ • ๋ฆฌ์†Œ์Šค ID ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

      ํ•™์Šต ๋‚ด์šฉ ์€ ์ €์žฅ ๊ณ„์ •์˜ ๋ฆฌ์†Œ์Šค ID ๊ฐ€์ ธ์˜ค๊ธฐ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

    2. Azure PowerShell์˜ Storage Account Credential Delegation ๋‹จ๊ณ„์—์„œ ๋ช…๋ น์„ ๋ณต์‚ฌํ•˜๊ณ  ์‹คํ–‰ ํ•˜์—ฌ ์ž๊ฒฉ ์ฆ๋ช… ์œ„์ž„์„ ์„ค์ •ํ•˜๋‹ค ํ•ฉ๋‹ˆ๋‹ค.

    3. ์Šคํ† ๋ฆฌ์ง€ ์ปจํ…Œ์ด๋„ˆ๊ฐ€ Read only ๋˜๋Š” Read and write ์ž‘์—…์„ ํ—ˆ์šฉํ• ์ง€ ์—ฌ๋ถ€๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

      Atlas๋Š” Read-only ์ปจํ…Œ์ด๋„ˆ๋งŒ ์ฟผ๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ฟผ๋ฆฌ ๊ฒฐ๊ณผ๋ฅผ ์ฟผ๋ฆฌํ•˜๊ณ  Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ์— ์ €์žฅํ•˜๋ ค๋ฉด Read and write ์„(๋ฅผ) ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

      Atlas Data Federation ์€ $out์„(๋ฅผ) ์‚ฌ์šฉํ•˜์—ฌ Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ ์— ๋Œ€ํ•œ ์“ฐ๊ธฐ๋ฅผ ์ง€์› ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

    4. ์Šคํ† ๋ฆฌ์ง€ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฆ„์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

    5. Azure PowerShell์˜ Storage Container Access ๋‹จ๊ณ„์— ํ‘œ์‹œ๋œ ๋ช…๋ น์„ ๋ณต์‚ฌํ•˜๊ณ  ์‹คํ–‰ ํ•˜์—ฌ Blob ์ปจํ…Œ์ด๋„ˆ ์•ก์„ธ์Šค ๋ฅผ ์„ค์ •ํ•˜๋‹ค ํ•ฉ๋‹ˆ๋‹ค.

    6. Continue๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  5. Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ ์—์„œ ํŒŒ์ผ์˜ ๊ฒฝ๋กœ ๊ตฌ์กฐ๋ฅผ ์ •์˜ํ•˜๊ณ  Next ์„(๋ฅผ) ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

    1. Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ ์˜ ์ €์žฅ ๊ฒฝ๋กœ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

      ์˜ˆ๋ฅผ ๋“ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

      https://<storage-account>.blob.core.windows.net/<container>/<file-name>

      Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ ์˜ ๋ฐ์ดํ„ฐ์— ๊ฒฝ๋กœ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด Add Data Source ๋ฅผ ํด๋ฆญํ•˜๊ณ  ๊ฒฝ๋กœ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ๊ฒฝ๋กœ์— ํ•™์Šต ๋ณด๋ ค๋ฉด S3 ๋ฐ์ดํ„ฐ์˜ ๊ฒฝ๋กœ ์ •์˜๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

      databases.[n].collections.[n].dataSources.[n].path JSON ๊ตฌ์„ฑ ์„ค์ •์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.

    2. ์„ ํƒ ์‚ฌํ•ญ. Data Federation ์ด Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ ์˜ ํŒŒ์ผ์„ ๊ฒ€์ƒ‰ํ•  ๋•Œ ์‚ฌ์šฉํ•ด์•ผ ํ•˜๋Š” ํŒŒํ‹ฐ์…˜ ํ•„๋“œ์™€ ํ•„๋“œ ๊ฐ’ ์œ ํ˜•์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

      ์ƒ๋žตํ•˜๋ฉด Data Federation ์€ Azure Blob Storage ์ปจํ…Œ์ด๋„ˆ ์˜ ๋ฃจํŠธ์—์„œ ๋ชจ๋“  ํŒŒ์ผ์— ๋Œ€ํ•ด ์žฌ๊ท€ ๊ฒ€์ƒ‰ ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค. ํŠน์ • ํ•„๋“œ ๊ฐ’ ์œ ํ˜•์„ ์„ ํƒํ•˜์ง€ ์•Š์œผ๋ฉด Data Federation ์€ ๋ชจ๋“  ์ฟผ๋ฆฌ์—์„œ ํ•ด๋‹น ๊ฒฝ๋กœ์— ์žˆ๋Š” ๊ฐ’์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

      stores.[n].prefix ๋ฐ databases.[n].collections.[n].dataSources.[n].path JSON ๊ตฌ์„ฑ ์„ค์ •์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.

  6. ๊ฐ€์ƒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ์ปฌ๋ ‰์…˜ ๋ฐ ๋ทฐ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ์ปฌ๋ ‰์…˜ ๋ฐ ๋ทฐ๋ฅผ ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ์— ๋งคํ•‘ํ•ฉ๋‹ˆ๋‹ค.

    1. (์„ ํƒ ์‚ฌํ•ญ) ๋‹ค์Œ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค. ์˜ ๊ฒฝ์šฐ:

      • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ํด๋ฆญํ•˜์—ฌ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ด๋ฆ„์„ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ๊ฐ’์€ VirtualDatabase[n] ์ž…๋‹ˆ๋‹ค.

        databases.[n].name JSON ๊ตฌ์„ฑ ์„ค์ •์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.

      • ์ปฌ๋ ‰์…˜์„ ํด๋ฆญํ•˜์—ฌ ์ปฌ๋ ‰์…˜ ์ด๋ฆ„์„ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค. ๊ธฐ๋ณธ๊ฐ’์€ VirtualCollection[n] ์ž…๋‹ˆ๋‹ค.

        databases.[n].collections.[n].name JSON ๊ตฌ์„ฑ ์„ค์ •์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.

      • ๋ณด๊ธฐ ์ด๋ฆ„์„ ํŽธ์ง‘ํ•˜๋ ค๋ฉด ๋ณด๊ธฐ๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

      ๋‹ค์Œ์„ ํด๋ฆญํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

      • Add Database ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋ฐ ์ปฌ๋ ‰์…˜์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

      • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์ปฌ๋ ‰์…˜์„ ์ถ”๊ฐ€ํ•˜๊ธฐ ์œ„ํ•ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์™€ ์—ฐ๊ฒฐ๋ฉ๋‹ˆ๋‹ค.

      • ์„(๋ฅผ) ํด๋ฆญํ•˜์—ฌ ์ปฌ๋ ‰์…˜ ์— ๋Œ€ํ•œ ๋ทฐ ๋ฅผ ์ถ”๊ฐ€ ์ปฌ๋ ‰์…˜. ๋ทฐ๋ฅผ ๋งŒ๋“ค๋ ค๋ฉด ๋‹ค์Œ์„ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

        • ๋ทฐ์˜ ์ด๋ฆ„์„ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.

        • ๋ทฐ์— ์ ์šฉํ•  ํŒŒ์ดํ”„๋ผ์ธ ์ž…๋‹ˆ๋‹ค.

          ๋ทฐ ์ •์˜ ํŒŒ์ดํ”„๋ผ์ธ์€ $out ๋˜๋Š” $merge ๋‹จ๊ณ„๋ฅผ ํฌํ•จํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. ๋ทฐ ์ •์˜์— $lookup ๋˜๋Š” $facet ์™€ ๊ฐ™์€ ์ค‘์ฒฉ๋œ ํŒŒ์ดํ”„๋ผ์ธ ๋‹จ๊ณ„๊ฐ€ ํฌํ•จ๋œ ๊ฒฝ์šฐ ์ด ์ œํ•œ์€ ํ•ด๋‹น ์ค‘์ฒฉ๋œ ํŒŒ์ดํ”„๋ผ์ธ์—๋„ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.

        ๋ทฐ์— ํ•™์Šต ๋ณด๋ ค๋ฉด ๋‹ค์Œ์„ ์ฐธ์กฐํ•˜์„ธ์š”.

      • ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ์ปฌ๋ ‰์…˜ ๋˜๋Š” ๋ทฐ์™€ ์—ฐ๊ฒฐ๋œ ํ•ญ๋ชฉ์„ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค.

    2. Data Sources ์„น์…˜์˜ ๋“œ๋กญ๋‹ค์šด์—์„œ Azure Blob Storage ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

    3. ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ๋ฅผ ๋“œ๋ž˜๊ทธ ์•ค ๋“œ๋กญํ•˜์—ฌ ์ปฌ๋ ‰์…˜๊ณผ ๋งคํ•‘ํ•ฉ๋‹ˆ๋‹ค.

      databases.[n].collections.[n].dataSources JSON ๊ตฌ์„ฑ ์„ค์ •์— ํ•ด๋‹นํ•ฉ๋‹ˆ๋‹ค.

Azure Blob Storage ๋ฐ์ดํ„ฐ ์ €์žฅ ์— ๋Œ€ํ•œ ๊ตฌ์„ฑ์€ ๋‹ค์Œ๊ณผ ์œ ์‚ฌํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

{
"stores" : [
{
"name" : "<string>",
"provider": "<string>",
"region" : "<string>",
"serviceURL" : "<string>",
"containerName" : "<string>",
"delimiter" : "<string>",
"prefix": "<string>",
"public": <boolean>
}
],
"databases" : [
{
"name" : "<string>",
"collections" : [
{
"name" : "<string>",
"dataSources" : [
{
"storeName" : "<string>",
"path" : "<string>",
"defaultFormat" : "<string>",
"provenanceFieldName": "<string>",
"omitAttributes": <boolean>
}
]
}
],
"maxWildcardCollections" : <integer>,
"views" : [
{
"name" : "<string>",
"source" : "<string>",
"pipeline" : "<string>"
}
]
}
]
}

๊ตฌ์„ฑ ์„ค์ •์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ ์€ ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ ์ •์˜๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

  1. Azure Blob Storage ๋ฐ์ดํ„ฐ ์ €์žฅ ๋ฅผ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.

    stores ์— ๋Œ€ํ•œ UI ์— ํ‘œ์‹œ๋œ JSON ๊ตฌ์„ฑ ์„ค์ •์„ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค. stores ๊ตฌ์„ฑ ์„ค์ •์€ ๋‹ค์Œ๊ณผ ์œ ์‚ฌํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

    "stores" : [
    {
    "name" : "<string>",
    "provider" : "<string>",
    "region" : "<string>",
    "serviceURL" : "<string>",
    "containerName" : "<string>",
    "delimiter": "<string",
    "prefix" : "<string>",
    "public": <boolean>
    }
    ]

    ์ด๋Ÿฌํ•œ ๊ตฌ์„ฑ ์„ค์ •์— ํ•™์Šต ๋ณด๋ ค๋ฉด stores ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

  2. ์—ฐํ•ฉ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์ธ์Šคํ„ด์Šค ๊ฐ€์ƒ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค, ์ปฌ๋ ‰์…˜ ๋ฐ ๋ทฐ๋ฅผ ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.

    databases ์— ๋Œ€ํ•œ UI ์— ํ‘œ์‹œ๋œ JSON ๊ตฌ์„ฑ ์„ค์ •์„ ํŽธ์ง‘ํ•ฉ๋‹ˆ๋‹ค. databases ๊ตฌ์„ฑ ์„ค์ •์€ ๋‹ค์Œ๊ณผ ์œ ์‚ฌํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

    "databases" : [
    {
    "name" : "<string>",
    "collections" : [
    {
    "name" : "<string>",
    "dataSources" : [
    {
    "storeName" : "<string>",
    "defaultFormat" : "<string>",
    "path" : "<string>",
    "provenanceFieldName": "<string>",
    "omitAttributes": <boolean>
    }
    ]
    }
    ],
    "maxWildcardCollections" : <integer>,
    "views" : [
    {
    "name" : "<string>",
    "source" : "<string>",
    "pipeline" : "<string>"
    }
    ]
    }
    ]

    ์ด๋Ÿฌํ•œ ๊ตฌ์„ฑ ์„ค์ •์— ํ•™์Šต ๋ณด๋ ค๋ฉด databases ๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

8

์—ฐํ•ฉ ์ฟผ๋ฆฌ์— ๋Œ€ํ•œ ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด ๋‹ค์Œ์„ ์ฐธ์กฐํ•˜์„ธ์š”.

์ฐธ๊ณ 

๋‹ค์–‘ํ•œ cloud ๊ณต๊ธ‰์ž ๊ฐ„์— ์—ฐํ•ฉ ์ฟผ๋ฆฌ๋ฅผ ์‹คํ–‰ ํ•˜๊ธฐ ์œ„ํ•œ Amazon Web Services ๋ฐ์ดํ„ฐ ์ €์žฅ์†Œ๋ฅผ ์ƒ์„ฑํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

9

๋Œ์•„๊ฐ€๊ธฐ

Azure Blob ์ €์žฅ

์ด ํŽ˜์ด์ง€์˜ ๋‚ด์šฉ