Docs Menu
Docs Home
/
MongoDB Ops Manager
/ / /

MongoDB ์‚ฌ์šฉ์ž managed

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

  • ๊ณ ๋ ค ์‚ฌํ•ญ
  • 1๋ช…์˜ MongoDB ์‚ฌ์šฉ์ž ์ถ”๊ฐ€
  • 1๋ช…์˜ MongoDB ์‚ฌ์šฉ์ž ์„ธ๋ถ€ ์ •๋ณด ํŽธ์ง‘
  • MongoDB ์‚ฌ์šฉ์ž managed ๋˜๋Š” ๊ด€๋ฆฌ ํ•ด์ œ
  • MongoDB ์‚ฌ์šฉ์ž ์ œ๊ฑฐ

๋‹น์‹ ์ด Ops Manager ํ”„๋กœ์ ํŠธ์— ๋Œ€ํ•œ ์ธ์ฆ ๋ฉ”์ปค๋‹ˆ์ฆ˜์„ ์„ ํƒํ•˜๋ฉด, ์ด๊ฒƒ์€ Ops Manager ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  managed ๋ฐฐํฌ์— ๋Œ€ํ•œ ์•ก์„ธ์Šค ์ œ์–ด๋ฅผ ๊ฐ€๋Šฅํ•˜๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค.

์•ก์„ธ์Šค ์ œ์–ด๊ฐ€ ํ™œ์„ฑํ™”๋˜๋ฉด ํด๋ผ์ด์–ธํŠธ๋Š” MongoDB ํ”„๋กœ์„ธ์Šค ์— MongoDB ์‚ฌ์šฉ์ž๋กœ ์ธ์ฆํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์ผ๋‹จ ์ธ์ฆ๋˜๋ฉด ์ด๋Ÿฌํ•œ ์‚ฌ์šฉ์ž์—๊ฒŒ๋Š” ํ• ๋‹น๋œ ์—ญํ• ์— ์˜ํ•ด์„œ๋งŒ ๋ถ€์—ฌ๋˜๋Š” ๊ถŒํ•œ๋งŒ ๋ถ€์—ฌ๋ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž์—๊ฒŒ MongoDB์˜ ๋‚ด์žฅ ์—ญํ•  ๊ณผ ์‚ฌ์šฉ์ž ์ง€์ • ์—ญํ• ์„ ํ• ๋‹นํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์•ก์„ธ์Šค ์ œ์–ด๋ฅผ ํ™œ์„ฑํ™”ํ•˜๊ธฐ ์ „์ด๋‚˜ ํ›„์— MongoDB ์‚ฌ์šฉ์ž๋ฅผ ๋งŒ๋“ค ์ˆ˜ ์žˆ์ง€๋งŒ ์•ก์„ธ์Šค ์ œ์–ด๋ฅผ ํ™œ์„ฑํ™”ํ•˜์ง€ ์•Š์€ ๊ฒฝ์šฐ MongoDB ์ธ์Šคํ„ด์Šค์—๋Š” ์‚ฌ์šฉ์ž ์ž๊ฒฉ ์ฆ๋ช…์ด ํ•„์š”ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์ค‘์š”

MongoDB ์‚ฌ์šฉ์ž๋Š” Ops Manager ์‚ฌ์šฉ์ž ์™€๋Š” ๋ณ„๊ฐœ์ž…๋‹ˆ๋‹ค. MongoDB ์‚ฌ์šฉ์ž๋Š” MongoDB ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐ˜๋ฉด, Ops Manager ์‚ฌ์šฉ์ž๋Š” Ops Manager ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ž์ฒด์— ์•ก์„ธ์Šคํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Ops Manager ํ”„๋กœ์ ํŠธ์—์„œ managed ๋ชจ๋“  ์‚ฌ์šฉ์ž ๋˜๋Š” ์—ญํ• ์˜ Synced ๊ฐ’์€ Yes ๋กœ ์„ค์ •๋˜๋ฉฐ ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ๋ฐฐํฌ์— ๋™๊ธฐํ™”๋ฉ๋‹ˆ๋‹ค.

Ops Manager ํ”„๋กœ์ ํŠธ์—์„œ managed ์„ ํƒํ•˜์ง€ ์•Š์€ ๋ชจ๋“  ์‚ฌ์šฉ์ž ๋˜๋Š” ์—ญํ• ์€ Synced ๊ฐ’์ด No ๋กœ ์„ค์ •๋˜๋ฉฐ ํ•ด๋‹น MongoDB deployment์—๋งŒ ์กด์žฌํ•ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ 

๊ฐ€์ ธ์˜ค๊ธฐ ํ›„ Synced ์—์„œ OFF ๋กœ ์ „ํ™˜ํ•˜๋ฉด ์ƒ์„ฑํ•œ ๋ชจ๋“  ์‚ฌ์šฉ์ž ๋˜๋Š” ์—ญํ• ์ด ์‚ญ์ œ๋ฉ๋‹ˆ๋‹ค.

ํ”„๋กœ์ ํŠธ์—์„œ ์ผ๊ด€๋œ ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ•  ์ง‘ํ•ฉ์„ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ Ops Manager๋Š” ํ•ด๋‹น ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ๋ฐฐํฌ์„œ๋ฒ„์—์„œ ์ด๋Ÿฌํ•œ ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์„ ๋™๊ธฐํ™”ํ•ฉ๋‹ˆ๋‹ค. Enforce Consistent Set ๋ฅผ ํ† ๊ธ€ํ•˜์—ฌ ํ•œ ์„ธํŠธ์˜ ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์„ managed ์—ฌ๋ถ€๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

๊ด€๋ฆฌํ˜• ํ”„๋กœ์ ํŠธ์—์„œ Ops Manager๋Š” ๋ชจ๋“  ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์— ๋ชจ๋“  ๋ฐฐํฌ์— ๋Œ€ํ•œ ์•ก์„ธ์Šค ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•ฉ๋‹ˆ๋‹ค. Ops Manager ํ”„๋กœ์ ํŠธ๊ฐ€ managedํ•˜๋Š” ๋ชจ๋“  ๋ฐฐํฌ์—๋Š” ๋™์ผํ•œ MongoDB ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ•  ์ง‘ํ•ฉ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

Ops Manager๋Š” Synced ์„(๋ฅผ) Yes ์œผ)๋กœ ์„ค์ •ํ•œ ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์— ๋Œ€ํ•œ ์•ก์„ธ์Šค๋ฅผ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค. Ops Manager๋Š” Ops Manager ํ”„๋กœ์ ํŠธ๊ฐ€ managedํ•˜์ง€ ์•Š๋Š” ๋ชจ๋“  ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์„ ํ”„๋กœ์ ํŠธ์˜ ๋ฐฐํฌ์—์„œ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค.

managed ํ”„๋กœ์ ํŠธ์—์„œ Ops Manager๋ฅผ ์‚ฌ์šฉํ•˜๋ฉด ๊ฐ ๋ฐฐํฌ๊ฐ€ ์ž์ฒด MongoDB ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ•  ์ง‘ํ•ฉ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. Ops Manager๋Š” ์ด๋Ÿฌํ•œ MongoDB ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์„ managed ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค. ์ด๋Ÿฌํ•œ ์‚ฌ์šฉ์ž์™€ ์—ญํ• ์„ managedํ•˜๋ ค๋ฉด MongoDB deployment์— ์ง์ ‘ ์—ฐ๊ฒฐํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Ops Manager๋Š” Synced ์—์„œ Yes ๋กœ ์„ค์ •ํ•œ ๊ด€๋ฆฌํ˜• MongoDB ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์— ๋ชจ๋“  ๊ด€๋ฆฌํ˜• ๋ฐฐํฌ์— ๋Œ€ํ•œ ์•ก์„ธ์Šค ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•ฉ๋‹ˆ๋‹ค.

Ops Manager๋Š” Synced ๋ฅผ No ๋กœ ์„ค์ •ํ•œ ๊ด€๋ฆฌ๋˜์ง€ ์•Š๋Š” MongoDB ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์˜ ์•ก์„ธ์Šค๋ฅผ ํ•ด๋‹น ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ• ์˜ ํŠน์ • ๋ฐฐํฌ๋กœ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.

์ฐธ๊ณ 

Enforce Consistent Set ๊ธฐ๋ณธ๊ฐ’์€ NO์ž…๋‹ˆ๋‹ค.

MongoDB deployment ๊ฐ€์ ธ์˜ค๊ธฐ๊ฐ€ ์‚ฌ์šฉ์ž ๋ฐ ์—ญํ•  ๊ด€๋ฆฌ์— ๋ฏธ์น˜๋Š” ์˜ํ–ฅ์„ ์•Œ์•„๋ณด๋ ค๋ฉด ์ž๋™ํ™” ๋ฐ ๊ฐ€์ ธ์˜ค๊ธฐ ์‹œ ์—…๋ฐ์ดํŠธ๋œ ๋ณด์•ˆ ์„ค์ •์„ ์ฐธ์กฐํ•˜์„ธ์š”.

์ฐธ๊ณ 

์‚ฌ์šฉ์ž ์ž๊ฒฉ ์ฆ๋ช…์— ๊ธฐ๋ณธ ํ•ด์‹ฑ ๋ฐ˜๋ณต์„ ์‚ฌ์šฉํ•˜๋Š” Ops Manager

MongoDB Ops Manager๋ฅผ ํ†ตํ•ด MongoDB ์‚ฌ์šฉ์ž๋ฅผ ์ƒ์„ฑํ•˜๋ฉด SCRAM-SHA-1 (10,000) ๋ฐ SCRAM-SHA-256 (15,000)์— ๋Œ€ํ•œ ๊ธฐ๋ณธ ๋ฐ˜๋ณต ํšŸ์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž ์ž๊ฒฉ ์ฆ๋ช…์„ ํ•ด์‹œํ•ฉ๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ๊ฐ’์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด MongoDB์—์„œ ์ง์ ‘ ์‚ฌ์šฉ์ž๋ฅผ ์ƒ์„ฑํ•˜์„ธ์š”.

1
  1. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ ํƒ์ƒ‰ ๋ชจ์Œ์˜ Organizations ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๊ฐ€ ํฌํ•จ๋œ ์กฐ์ง์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  2. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ Projects ํƒ์ƒ‰ ๋ชจ์Œ์˜ ํ”„๋กœ์ ํŠธ ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  3. ์•„์ง ํ‘œ์‹œ๋˜์ง€ ์•Š์€ ๊ฒฝ์šฐ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ Deployment ํด๋ฆญํ•˜์„ธ์š”.

  1. Security ํƒญ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. MongoDB Users๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

2
3
ํ•„๋“œ
์„ค๋ช…

Identifier

  • ์ฒซ ๋ฒˆ์งธ ํ•„๋“œ์— ์‚ฌ์šฉ์ž๊ฐ€ ์ธ์ฆํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

  • ๋‘ ๋ฒˆ์งธ ํ•„๋“œ์—๋Š” ํ•ด๋‹น ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์˜ ์‚ฌ์šฉ์ž ์ด๋ฆ„์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์™€ ์‚ฌ์šฉ์ž ์ด๋ฆ„์€ ํ•จ๊ป˜ ์‚ฌ์šฉ์ž๋ฅผ ๊ณ ์œ ํ•˜๊ฒŒ ์‹๋ณ„ํ•ฉ๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž๋Š” ํ•˜๋‚˜์˜ ์ธ์ฆ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋งŒ ๊ฐ€์ง€๊ณ  ์žˆ์ง€๋งŒ ๋‹ค๋ฅธ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ๋Œ€ํ•œ ๊ถŒํ•œ์„ ๊ฐ€์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž ์—ญํ• ์„ ํ• ๋‹นํ•  ๋•Œ ์ด๋Ÿฌํ•œ ๊ถŒํ•œ์„ ๋ถ€์—ฌํ•ฉ๋‹ˆ๋‹ค.

Kerberos ๋˜๋Š” LDAP ์„œ๋ฒ„์™€ ๊ฐ™์€ ์™ธ๋ถ€ ์‹œ์Šคํ…œ์œผ๋กœ ์ธ์ฆํ•˜๋Š” ๊ฒฝ์šฐ $external ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์— ์‚ฌ์šฉ์ž๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.

Roles

์ด ์ƒ์ž์— ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์‚ฌ์šฉ์ž ์ •์˜ ์—ญํ• ๊ณผ ๊ธฐ๋ณธ ์ œ๊ณต ์—ญํ• ์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ฝค๋ณด ์ƒ์ž๋ฅผ ํด๋ฆญํ•˜๋ฉด ๊ธฐ์กด ์—ญํ•  ๋ชฉ๋ก์ด ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.

Password

์‚ฌ์šฉ์ž์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

์ค‘์š”: Identifier ์—์„œ ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋กœ $external ์„ ์ง€์ •ํ•œ ๊ฒฝ์šฐ ์ƒˆ ์‚ฌ์šฉ์ž์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ง€์ •ํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

Authentication Restrictions

  1. Add Entry๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. Client Source ๋˜๋Š” Server Address ์ƒ์ž์— ํ•˜๋‚˜ ์ด์ƒ์˜ IP ์ฃผ์†Œ ๋ฐ/๋˜๋Š” CIDR ๋ธ”๋ก์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ์ฃผ์†Œ ๋˜๋Š” ๋ธ”๋ก์„ ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„ํ•ฉ๋‹ˆ๋‹ค.

    • Client Source ์ด ์‚ฌ์šฉ์ž๊ฐ€ ์ธ์ฆํ•˜๊ณ  ์ง€์ •๋œ ์—ญํ• ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ฃผ์†Œ๋ฅผ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.

    • Server Address ์ด ์‚ฌ์šฉ์ž๊ฐ€ ์ธ์ฆํ•  ์ˆ˜ ์žˆ๊ณ  ์ง€์ •๋œ ์—ญํ• ์„ ๊ฐ–๋Š” ์ฃผ์†Œ๋ฅผ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.

  3. Save๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  4. ๋‹ค๋ฅธ ํ•ญ๋ชฉ์„ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด Add Entry ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

4
5
6

๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด Cancel์„(๋ฅผ) ํด๋ฆญํ•˜๋ฉด ์ถ”๊ฐ€๋กœ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฐธ๊ณ 

์‚ฌ์šฉ์ž ์ž๊ฒฉ ์ฆ๋ช…์— ๊ธฐ๋ณธ ํ•ด์‹ฑ ๋ฐ˜๋ณต์„ ์‚ฌ์šฉํ•˜๋Š” Ops Manager

MongoDB Ops Manager๋ฅผ ํ†ตํ•ด MongoDB ์‚ฌ์šฉ์ž๋ฅผ ํŽธ์ง‘ํ•  ๋•Œ SCRAM-SHA-1 (10,000) ๋ฐ SCRAM-SHA-256 (15,000)์— ๋Œ€ํ•œ ๊ธฐ๋ณธ ๋ฐ˜๋ณต ํšŸ์ˆ˜๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์‚ฌ์šฉ์ž ์ž๊ฒฉ ์ฆ๋ช…์„ ํ•ด์‹œํ•ฉ๋‹ˆ๋‹ค. ๋‹ค๋ฅธ ๊ฐ’์„ ์‚ฌ์šฉํ•˜๋ ค๋ฉด MongoDB์—์„œ ์ง์ ‘ ์‚ฌ์šฉ์ž๋ฅผ ์—…๋ฐ์ดํŠธํ•˜์„ธ์š”.

1
  1. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ ํƒ์ƒ‰ ๋ชจ์Œ์˜ Organizations ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๊ฐ€ ํฌํ•จ๋œ ์กฐ์ง์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  2. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ Projects ํƒ์ƒ‰ ๋ชจ์Œ์˜ ํ”„๋กœ์ ํŠธ ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  3. ์•„์ง ํ‘œ์‹œ๋˜์ง€ ์•Š์€ ๊ฒฝ์šฐ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ Deployment ํด๋ฆญํ•˜์„ธ์š”.

  1. Security ํƒญ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. MongoDB Users๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

2
3
ํ•„๋“œ
์„ค๋ช…

Identifier

์ด ๊ฐ’์€ ํŽธ์ง‘ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

Roles

์ด ์ƒ์ž์— ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•œ ์‚ฌ์šฉ์ž ์ •์˜ ์—ญํ• ๊ณผ ๊ธฐ๋ณธ ์ œ๊ณต ์—ญํ• ์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. ์ฝค๋ณด ์ƒ์ž๋ฅผ ํด๋ฆญํ•˜๋ฉด ๊ธฐ์กด ์—ญํ•  ๋ชฉ๋ก์ด ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค.

์—ญํ• ์„ ์ œ๊ฑฐํ•˜๋ ค๋ฉด ํ•ด๋‹น ์—ญํ•  ์™ผ์ชฝ์— ์žˆ๋Š” x ๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

Password

์‚ฌ์šฉ์ž์˜ ๋น„๋ฐ€๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.

์ค‘์š”: Identifier ์—์„œ $external ์„(๋ฅผ) ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ๋กœ ์ง€์ •ํ•œ ๊ฒฝ์šฐ ์ด ๊ฐ’์„ ๋ณ€๊ฒฝํ•  ํ•„์š”๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.

Authentication Restrictions

์ธ์ฆ ์ œํ•œ์„ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•˜์„ธ์š”:

  1. Add Entry๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. Client Source ๋˜๋Š” Server Address ์ƒ์ž์— ํ•˜๋‚˜ ์ด์ƒ์˜ IP ์ฃผ์†Œ ๋˜๋Š” CIDR ๋ธ”๋ก์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์—ฌ๋Ÿฌ ์ฃผ์†Œ ๋˜๋Š” ๋ธ”๋ก์„ ์‰ผํ‘œ๋กœ ๊ตฌ๋ถ„ํ•ฉ๋‹ˆ๋‹ค.

    • Client Source ์ด ์‚ฌ์šฉ์ž๊ฐ€ ์ธ์ฆํ•˜๊ณ  ์ง€์ •๋œ ์—ญํ• ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์ฃผ์†Œ๋ฅผ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.

    • Server Address ์ด ์‚ฌ์šฉ์ž๊ฐ€ ์ธ์ฆํ•  ์ˆ˜ ์žˆ๊ณ  ์ง€์ •๋œ ์—ญํ• ์„ ๊ฐ–๋Š” ์ฃผ์†Œ๋ฅผ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.

  3. Save๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  4. ๋‹ค๋ฅธ ํ•ญ๋ชฉ์„ ์ถ”๊ฐ€ํ•˜๋ ค๋ฉด Add Entry ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

์ธ์ฆ ์ œํ•œ์„ ์ œ๊ฑฐํ•˜๋ ค๋ฉด ๋‹ค์Œ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

  1. ์ธ์ฆ ์ œํ•œ ์˜ค๋ฅธ์ชฝ์— ์žˆ๋Š” x ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

4
5
6

๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด Cancel์„(๋ฅผ) ํด๋ฆญํ•˜๋ฉด ์ถ”๊ฐ€๋กœ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

1
  1. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ ํƒ์ƒ‰ ๋ชจ์Œ์˜ Organizations ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๊ฐ€ ํฌํ•จ๋œ ์กฐ์ง์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  2. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ Projects ํƒ์ƒ‰ ๋ชจ์Œ์˜ ํ”„๋กœ์ ํŠธ ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  3. ์•„์ง ํ‘œ์‹œ๋˜์ง€ ์•Š์€ ๊ฒฝ์šฐ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ Deployment ํด๋ฆญํ•˜์„ธ์š”.

  1. Security ํƒญ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. MongoDB Users๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

2

์—ฌ๊ธฐ์—๋Š” Ops Manager ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  managed ๋ฐฐํฌ์— ์žˆ๋Š” ๋ชจ๋“  MongoDB ์‚ฌ์šฉ์ž์™€ ์ž ์žฌ์ ์ธ ์ถฉ๋Œ์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

3

Ops Manager๋กœ ๊ด€๋ฆฌํ•˜๋ ค๋Š” ๊ฐ MongoDB ์‚ฌ์šฉ์ž์— ๋Œ€ํ•ด Sync ์Šค์œ„์น˜๋ฅผ Yes ๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. Ops Manager ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  MongoDB ์‚ฌ์šฉ์ž๋ฅผ managedํ•˜๋ ค๋ฉด Sync All ๋งํฌ๋ฅผ ํด๋ฆญํ•˜์„ธ์š”.

Sync ์Šค์œ„์น˜๋ฅผ No ๋กœ ์„ค์ •ํ•˜์—ฌ MongoDB ์‚ฌ์šฉ์ž ๊ด€๋ฆฌ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค.

ํ˜„์žฌ ๋™๊ธฐํ™” ์ƒํƒœ
์ƒˆ ๋™๊ธฐํ™” ์ƒํƒœ
๋ณ€๊ฒฝ ์‚ฌํ•ญ

NO

YES

์ด์ œ Ops Manager๊ฐ€ ์‚ฌ์šฉ์ž๋ฅผ managedํ•ฉ๋‹ˆ๋‹ค.

๊ฒ€์ƒ‰๋œ ๋‹ค๋ฅธ ์‚ฌ์šฉ์ž์™€ ์ž ์žฌ์ ์ธ ์ถฉ๋Œ์ด ์žˆ๋Š” ๊ฒฝ์šฐ MongoDB Ops Manager ๋Š” ์ถฉ๋Œ์„ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋Š” ์˜ต์…˜์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

YES

NO

Ops Manager๋Š” ๋” ์ด์ƒ ์‚ฌ์šฉ์ž๋ฅผ managedํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

๊ฒฝ๊ณ : ์ด(๊ฐ€) Ensure Consistent Set YESMongoDB Ops Manager ์ธ ๊ฒฝ์šฐ, ๋Š” MongoDB ๊ฐ€ MongoDB Ops Manager ํ˜„์žฌ ์ด ํ”„๋กœ์ ํŠธ ์— ๋Œ€ํ•ด ๊ด€๋ฆฌํ•˜๊ณ  ์žˆ๋Š” ๋ชจ๋“  ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ์‚ฌ์šฉ์ž๋ฅผ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค.

Ensure Consistent Set ์ด(๊ฐ€) NO์ธ ๊ฒฝ์šฐ, MongoDB Ops Manager ๋Š” ๋” ์ด์ƒ ํ•ด๋‹น MongoDB ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์˜ ์‚ฌ์šฉ์ž๋ฅผ ๊ด€๋ฆฌํ•˜์ง€ ์•Š์ง€๋งŒ, ํ•ด๋‹น ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค ์— ๋Œ€ํ•œ ์ง์ ‘ ์—ฐ๊ฒฐ์„ ํ†ตํ•ด ์ด๋Ÿฌํ•œ ์‚ฌ์šฉ์ž๋ฅผ ๊ด€๋ฆฌ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

4
5

๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด Cancel์„(๋ฅผ) ํด๋ฆญํ•˜๋ฉด ์ถ”๊ฐ€๋กœ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

6

๋‹ค์Œ ์ ˆ์ฐจ์—์„œ๋Š” ํ”„๋กœ์ ํŠธ์˜ ๋ชจ๋“  ๊ด€๋ฆฌํ˜• MongoDB ๋ฐฐํฌ์—์„œ MongoDB ์‚ฌ์šฉ์ž๋ฅผ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค. MongoDB ์‚ฌ์šฉ์ž ๊ด€๋ฆฌ ๋˜๋Š” ๊ด€๋ฆฌ ํ•ด์ œ๋„ ์ฐธ์กฐํ•˜์„ธ์š”.

1
  1. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ ํƒ์ƒ‰ ๋ชจ์Œ์˜ Organizations ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๊ฐ€ ํฌํ•จ๋œ ์กฐ์ง์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  2. ์ด๋ฏธ ํ‘œ์‹œ๋˜์–ด ์žˆ์ง€ ์•Š์€ ๊ฒฝ์šฐ Projects ํƒ์ƒ‰ ๋ชจ์Œ์˜ ํ”„๋กœ์ ํŠธ ๋ฉ”๋‰ด์—์„œ ์›ํ•˜๋Š” ํ”„๋กœ์ ํŠธ๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

  3. ์•„์ง ํ‘œ์‹œ๋˜์ง€ ์•Š์€ ๊ฒฝ์šฐ ์‚ฌ์ด๋“œ๋ฐ”์—์„œ Deployment ํด๋ฆญํ•˜์„ธ์š”.

  1. Security ํƒญ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

  2. MongoDB Users๋ฅผ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

2
3
4
5
6

๊ทธ๋ ‡์ง€ ์•Š์œผ๋ฉด Cancel์„(๋ฅผ) ํด๋ฆญํ•˜๋ฉด ์ถ”๊ฐ€๋กœ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

7

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

์‚ฌ์šฉ์ž ๋ฐ ์—ญํ•  ๊ด€๋ฆฌ