Skip to content

๐Ÿ˜ˆ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ

๊น€๋ฏผ์ข… edited this page Oct 24, 2024 · 5 revisions

์ฝ”๋”ฉํ•ด๋“€์˜ค ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ ์ ์šฉํ•˜๊ธฐ

๋ฌด์ค‘๋‹จ ๋ฐฐํฌ ๋„์ž… ๊ณ„๊ธฐ

๋ฐฐํฌ๋ฅผ ํ•  ๋•Œ๋งˆ๋‹ค ์‹œ์Šคํ…œ์ด ์ž‘๋™ํ•˜์ง€ ์•Š๋Š” ๋‹ค์šดํƒ€์ž„ ์ด ๋ฐœ์ƒํ•˜๊ณ , ๋‹ค์šดํƒ€์ž„ ์ด ๋ฐœ์ƒํ•  ๊ฒฝ์šฐ ์‚ฌ์šฉ์ž ๊ฒฝํ—˜์„ ์ €ํ•˜์‹œํ‚ค๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

์ด๋Ÿฌํ•œ ์ด์œ ๋กœ ์„œ๋น„์Šค๋ฅผ ์ค‘๋‹จํ•˜์ง€ ์•Š๊ณ  ์ƒˆ๋กœ์šด ๋ฒ„์ „์„ ๋ฐฐํฌํ•˜๋Š” ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ๋ฅผ ๋„์ž…ํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๋ฌด์ค‘๋‹จ ๋ฐฐํฌ ๋ฐฉ์‹ ์„ ํƒ ๊ธฐ์ค€

๋ฌด์ค‘๋‹จ ๋ฐฐํฌ ๋ฐฉ์‹์—๋Š” ์—ฌ๋Ÿฌ๊ฐ€์ง€๊ฐ€ ์กด์žฌํ•˜๋Š”๋ฐ์š”, ๊ทธ ์ค‘ ๋Œ€ํ‘œ์ ์ธ ๋ฐฉ์‹์—๋Š”

  • Rolling
  • Blue/Green
  • Canary

๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.

์„ธ๊ฐ€์ง€ ๋ฐฐํฌ ๋ฐฉ์‹์„ ๊ฐ„๋‹จํ•˜๊ฒŒ ์„ค๋ช…ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

Rolling ๋ฐฐํฌ๋Š” ํŠธ๋ž˜ํ”ฝ์„ ์ ์ง„์ ์œผ๋กœ ๊ตฌ๋ฒ„์ „์—์„œ ์‹ ๋ฒ„์ „์œผ๋กœ ์ด๋™์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.

Blue/Green ๋ฐฐํฌ๋Š” ํŠธ๋ž˜ํ”ฝ์„ ํ•œ๋ฒˆ์— ๊ตฌ๋ฒ„์ „์—์„œ ์‹ ๋ฒ„์ „์œผ๋กœ ์ด๋™์‹œํ‚ค๋Š” ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค.

Canary ๋ฐฐํฌ๋Š” ํŠธ๋ž˜ํ”ฝ์„ ์ ์ง„์ ์œผ๋กœ ๊ตฌ๋ฒ„์ „์—์„œ ์‹ ๋ฒ„์ „์œผ๋กœ ์ด๋™์‹œํ‚จ๋‹ค๋Š” ์ ์—์„œ Rolling ๋ฐฐํฌ์™€ ๋น„์Šทํ•ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์†Œ์ˆ˜ ์ธ์›์„ ๋Œ€์ƒ์œผ๋กœ ์‹ ๋ฒ„์ „์„ ์ผ์ • ๊ธฐ๊ฐ„๋™์•ˆ ์šด์˜ํ•˜๋ฉด์„œ ์ด์ƒ์ด ์—†๋Š”์ง€ ํ™•์ธํ•œ ํ›„ ๋ชจ๋“  ํŠธ๋ž˜ํ”ฝ์„ ์‹ ๋ฒ„์ „์œผ๋กœ ์ด๋™์‹œํ‚จ๋‹ค๋Š” ํŠน์ง•์ด ์žˆ์Šต๋‹ˆ๋‹ค.

๊ฒฐ๋ก ์„ ๋จผ์ € ๋งํ•˜์ž๋ฉด, ์ฝ”๋”ฉํ•ด๋“€์˜ค๋Š” Ngnix Docker๋ฅผ ํ™œ์šฉํ•œ Blue/Green ๋ฐฐํฌ๋ฅผ ์„ ํƒํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฌด์ค‘๋‹จ ๋ฐฐํฌ ๋ฐฉ์‹์„ Blue/Green์œผ๋กœ ๊ฒฐ์ •ํ•˜๊ฒŒ ๋œ ๊ณผ์ •์„ ๊ธฐ์กด ๋ฐฐํฌ ๋ฐฉ์‹๊ณผ ๋น„๊ตํ•˜๋ฉฐ ์„ค๋ช…ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

๊ธฐ์กด ์ธํ”„๋ผ ๊ตฌ์กฐ

image

์œ„ ์‚ฌ์ง„์€ ์ €ํฌ ์„œ๋น„์Šค์˜ ๋Œ€๋žต์ ์ธ ์šด์˜ ์ธํ”„๋ผ ๊ตฌ์กฐ์ž…๋‹ˆ๋‹ค.

์šด์˜ ์„œ๋ฒ„ EC2๋Š” ์ด 2๊ฐœ์˜ ์›น์„œ๋ฒ„๋ฅผ ์ธ์Šคํ„ด์Šค A, ์ธ์Šคํ„ด์Šค B์—์„œ ๊ฐ๊ฐ ํ•˜๋‚˜์”ฉ ์šด์˜ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

๊ธฐ์กด ๋ฐฐํฌ A์˜ ๋ฐฐํฌ๊ฐ€ ์™„๋ฃŒ๋œ ๋’ค B์˜ ๋ฐฐํฌ๊ฐ€ ์‹œ์ž‘๋˜๋Š” ๋ฐฉ์‹์œผ๋กœ ๋ฐฐํฌ๊ฐ€ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค.

A ์ธ์Šคํ„ด์Šค์— ๋‹ค์šดํƒ€์ž„์ด ๋ฐœ์ƒํ•˜๋”๋ผ๋„ B ์ธ์Šคํ„ด์Šค๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ์šด์˜๋˜๊ณ  ์žˆ๊ธฐ ๋•Œ๋ฌธ์— Rolling ๋ฐฉ์‹์˜ ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ๋ผ๊ณ  ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ธฐ์กด ์ฝ”๋”ฉํ•ด๋“€์˜ค ๋ฐฐํฌ๋ฐฉ์‹

๊ธฐ์กด์˜ CD ๊ณผ์ •์—์„œ EC2 ์ธ์Šคํ„ด์Šค๊ฐ€ ์–ด๋–ป๊ฒŒ ๊ด€๋ฆฌ๋˜๊ณ  ์žˆ๋Š”์ง€ ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

์šฐ์„  Github Action self hosted runner๋ฅผ ํ†ตํ•ด ์ฒซ๋ฒˆ์งธ EC2 ์ธ์Šคํ„ด์Šค(production A)์˜

๊ตฌ ๋ฒ„์ „ ์›น์„œ๋ฒ„ ๋„์ปค ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์‹  ๋ฒ„์ „ ์›น์„œ๋ฒ„๋กœ ์—…๋ฐ์ดํŠธํ•ฉ๋‹ˆ๋‹ค.

image

๊ทธ ํ›„ production A์˜ ๋ฐฐํฌ๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด ๋‘ ๋ฒˆ์งธ ์ธ์Šคํ„ด์Šค(production B)์˜ CD ์Šคํฌ๋ฆฝํŠธ๊ฐ€ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค. production B๋Š” ๋‹ค์šดํƒ€์ž„์„ ์ตœ์†Œํ™”ํ•˜๊ธฐ ์œ„ํ•ด production A์˜ ์›น ์„œ๋ฒ„๊ฐ€ health check์— ์„ฑ๊ณตํ•  ๋•Œ๊นŒ์ง€ ๋Œ€๊ธฐํ•œ ํ›„ production B์˜ ๋ฐฐํฌ๋„ ์‹œ์ž‘๋ฉ๋‹ˆ๋‹ค.

image

์•„๋ž˜๋Š” production B๊ฐ€ A์˜ health check ์‘๋‹ต์„ ๋ฐ›์•„ production B์˜ ๋ฐฐํฌ๊นŒ์ง€ ์™„๋ฃŒ๋œ ๋ชจ์Šต์ž…๋‹ˆ๋‹ค.

image

๋‹ค๋งŒ, ์•„๋ž˜ ๋ฐฐํฌ ์ง„ํ–‰ ๊ณผ์ •์„ ๋ณด๋ฉด ์•Œ ์ˆ˜ ์žˆ๋“ฏ, Rolling ๋ฐฐํฌ์—๋Š” ๋ช‡๊ฐ€์ง€ ๋ฌธ์ œ์ ์ด ์กด์žฌํ–ˆ์Šต๋‹ˆ๋‹ค.

image

B ์ธ์Šคํ„ด์Šค์˜ ๋ฐฐํฌ๊ฐ€ A ์ธ์Šคํ„ด์Šค์˜ ๋ฐฐํฌ ์„ฑ๊ณต์— ์˜์กด์ ์ด๋‹ค ๋ณด๋‹ˆ, ์‹œ์ž‘ํ•˜๊ธฐ ์ „ ์ฐฐ๋‚˜์˜ ์ˆœ๊ฐ„์— ๊ตฌ๋ฒ„์ „๊ณผ ์‹ ๋ฒ„์ „์˜ ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋˜ํ•œ, ํ•œ ์ธ์Šคํ„ด์Šค์—๋งŒ ํŠธ๋ž˜ํ”ฝ์ด ๋ชฐ๋ฆฌ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

Canary ๋ฐฐํฌ ๋˜ํ•œ Rolling ๋ฐฐํฌ์™€ ๊ฐ™์ด ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•  ์ˆ˜ ์žˆ๊ธฐ ๋•Œ๋ฌธ์— ๋ณด๋ฅ˜ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

๊ทธ๋ž˜์„œ ๋„์ž…ํ•œ ๊ฒƒ์ด Blue/Green ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ์ž…๋‹ˆ๋‹ค.

ํ˜„์žฌ ์šด์˜์ค‘์ธ ์„œ๋น„์Šค์˜ ํ™˜๊ฒฝ์„ blue, ์ƒˆ๋กญ๊ฒŒ ๋ฐฐํฌํ•  ํ™˜๊ฒฝ์„ green ์ด๋ผ๊ณ  ๋ถ€๋ฆ…๋‹ˆ๋‹ค. ์ƒˆ๋กœ ๋ฐฐํฌํ•  ํ™˜๊ฒฝ์ด ์ค€๋น„๋˜๋ฉด, blue ๋กœ ์ „์†ก ๋˜๋˜ ๋ชจ๋“  ํŠธ๋ž˜ํ”ฝ์„ green ์œผ๋กœ ๋ผ์šฐํŒ…ํ•˜๋Š” ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.

blue ํ™˜๊ฒฝ์€ ๋‹ค์Œ green ํ™˜๊ฒฝ์„ ์œ„ํ•ด ์ œ๊ฑฐ๋ฉ๋‹ˆ๋‹ค.

์ƒˆ๋กœ์šด ํ™˜๊ฒฝ์ธ green ์œผ๋กœ ํŠธ๋ž˜ํ”ฝ์„ ํ•œ๋ฒˆ์— ์ „์†กํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์ด์ „ ๋ฒ„์ „๊ณผ์˜ ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•˜์ง€ ์•Š๊ณ , ํ•œ ์ธ์Šคํ„ด์Šค์—๋งŒ ํŠธ๋ž˜ํ”ฝ์ด ๋ชฐ๋ฆฐ๋‹ค๋Š” ๋‹จ์ ๋„ ํ•ด๊ฒฐ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

image

Docker ๋ฐ Nginx๋ฅผ ํ†ตํ•œ Blue/Green

์ฝ”๋”ฉํ•ด๋“€์˜ค๋Š” Blue/Green ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ๋ฅผ ์œ„ํ•ด, ๊ฐ ์ธ์Šคํ„ด์Šค์— nginx๋ฅผ ๋ฆฌ๋ฒ„์Šค ํ”„๋ก์‹œ ์„œ๋ฒ„๋กœ ๋‘์—ˆ์Šต๋‹ˆ๋‹ค.

image

๋ฐฐํฌ๊ฐ€ ์‹œ์ž‘๋  ๋•Œ, ๊ฐ ์ธ์Šคํ„ด์Šค์˜ ๊ตฌ ๋ฒ„์ „ ์›น์„œ๋ฒ„์™€ ์‹  ๋ฒ„์ „ ์›น์„œ๋ฒ„๋Š” ์„œ๋กœ ๋‹ค๋ฅธ ํฌํŠธ(8080, 8081)๋กœ ์‹คํ–‰๋ฉ๋‹ˆ๋‹ค.

์‹  ๋ฒ„์ „ ์›น์„œ๋ฒ„๊ฐ€ ์ž˜ ์‹คํ–‰๋˜์—ˆ๋Š”์ง€ ๊ฐ ์ธ์Šคํ„ด์Šค์—์„œ 5์ดˆ ์ฃผ๊ธฐ๋กœ ์‹  ๋ฒ„์ „ ์›น์„œ๋ฒ„๋ฅผ health checkํ•ฉ๋‹ˆ๋‹ค.

health-check์— ์„ฑ๊ณตํ•˜๊ฒŒ ๋˜๋ฉด, nginx์— ๋“ค์–ด์˜ค๋Š” http ํŠธ๋ž˜ํ”ฝ์„ ๊ตฌ ๋ฒ„์ „์—์„œ ์‹  ๋ฒ„์ „ ์›น์„œ๋ฒ„๋กœ ์ „์†กํ•ฉ๋‹ˆ๋‹ค.

์ด๋กœ์จ, Rolling ๋ฐฐํฌ์™€๋Š” ๋‹ค๋ฅด๊ฒŒ ๋ณ‘๋ ฌ์ ์œผ๋กœ ๋‘ ์ธ์Šคํ„ด์Šค๊ฐ€ ๋ฐฐํฌ๋ฉ๋‹ˆ๋‹ค.

image

Rolling ๋ฐฐํฌ์™€ ๋˜ ๋‹ค๋ฅธ ์ฐจ์ด์ ์œผ๋กœ๋Š” ๊ตฌ ๋ฒ„์ „ ์›น ์„œ๋ฒ„๋Š” ์‹  ๋ฒ„์ „ ์›น ์„œ๋ฒ„์˜ ๋ฐฐํฌ๊ฐ€ ๋๋‚˜๊ณ  ์ข…๋ฃŒ๋œ๋‹ค๋Š” ์ ์ž…๋‹ˆ๋‹ค.

image


์ฝ”๋”ฉํ•ด๋“€์˜ค์˜ ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ ๋ฐฉ์‹์„ ์ด์™€ ๊ฐ™์ด ๊ตฌ์„ฑํ•˜๊ฒŒ๋œ ์ด์œ ๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

๊ธฐ์กด Blue/Green ๋ฐฉ์‹์€ Green ํ™˜๊ฒฝ๊ณผ Blue ํ™˜๊ฒฝ์„ ์œ ์ง€ํ•˜๊ธฐ ์œ„ํ•ด ๊ธฐ์กด ์ธ์Šคํ„ด์Šค ๊ฐœ์ˆ˜์˜ ๋‘ ๋ฐฐ์˜ ์ธ์Šคํ„ด์Šค๊ฐ€ ๋” ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

์ธ์Šคํ„ด์Šค๋ฅผ ์ถ”๊ฐ€๋กœ ์ฆ์„คํ•˜๋ฉด, ๊ทธ๋งŒํผ ๋น„์šฉ์ด ์ฆ๊ฐ€ํ•œ๋‹ค๋Š” ๋‹จ์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ๋ฌธ์ œ๋ฅผ Nginx๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.

๋ฐฐํฌ๊ฐ€ ์ง„ํ–‰๋˜๋Š” ๊ณผ์ •์—์„œ 8080 ํฌํŠธ ์›น์„œ๋ฒ„์™€ 8081 ํฌํŠธ ์›น์„œ๋ฒ„๋Š” ๊ฐ๊ฐ Docker Container ๋กœ ๊ด€๋ฆฌ๋ฉ๋‹ˆ๋‹ค.

Nginx๋ฅผ ์‚ฌ์šฉํ•ด 80 ํฌํŠธ๋กœ ๋“ค์–ด์˜จ ์š”์ฒญ์„ 8080 ๋˜๋Š” 8081๋กœ ๋ผ์šฐํŒ…ํ•˜์—ฌ Blue/Green ๋ฌด์ค‘๋‹จ ์ธํ”„๋ผ๋ฅผ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.

์ตœ์ข…์ ์œผ๋กœ ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ๊ฐ€ ์™„๋ฃŒ๋œ ์ƒํƒœ๋Š” ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

image

์ถ”ํ›„ ๊ฐœ์„ ํ•  ์ 

ํ˜„์žฌ ๊ตฌํ˜„๋œ ๋ฌด์ค‘๋‹จ ๋ฐฐํฌ์—๋„ ๋‘๊ฐ€์ง€ ๋ฌธ์ œ์ ์ด ์žˆ์Šต๋‹ˆ๋‹ค.

์ฒซ๋ฒˆ์งธ๋Š” A ์ธ์Šคํ„ด์Šค๊ฐ€ ์–ด๋– ํ•œ ์ด์œ ๋กœ ๋ฐฐํฌ์— ์‹คํŒจํ•˜๊ณ  B ์ธ์Šคํ„ด์Šค๋งŒ ๋ฐฐํฌ๊ฐ€ ์„ฑ๊ณตํ–ˆ์„ ๊ฒฝ์šฐ, A ์ธ์Šคํ„ด์Šค๋Š” Blue ํ™˜๊ฒฝ์œผ๋กœ B ์ธ์Šคํ„ด์Šค๋Š” Green ํ™˜๊ฒฝ์œผ๋กœ ๋ฐฐํฌ๊ฐ€ ์ง„ํ–‰๋˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.

๊ทธ๋ž˜์„œ ๋ฐฐํฌ ๋กค๋ฐฑ์ด ๊ตฌํ˜„๋˜์ง€ ์•Š๋Š”๋‹ค๋ฉด ๋ฒ„์ „ ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

๋‘๋ฒˆ์งธ๋Š” A ์ธ์Šคํ„ด์Šค์™€ B ์ธ์Šคํ„ด์Šค ์•ˆ์— ์žˆ๋Š” nginx์˜ ํฌํŠธ ํฌ์›Œ๋”ฉ์ด ๋™์‹œ์— ์ผ์–ด๋‚˜์ง€ ์•Š๋Š”๋‹ค๋Š” ๋ฌธ์ œ์ž…๋‹ˆ๋‹ค.

๊ฐ๊ฐ ์ธ์Šคํ„ด์Šค ์•ˆ์— nginx๋Š” localhost๋กœ health check๋ฅผ ๋งˆ์นœ ํ›„ ํฌํŠธ ํฌ์›Œ๋”ฉ์„ ํ•˜๋Š”๋ฐ, ์ด ์‹œ์ ์ด ๋™์ผํ•˜์ง€ ์•Š์•„ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ๋ฒ„์ „ ํ˜ธํ™˜์„ฑ ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

์ด ๋‘๊ฐ€์ง€ ๋ฌธ์ œ์ ์„ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” Blue ํ™˜๊ฒฝ์—์„œ Green ํ™˜๊ฒฝ์œผ๋กœ ๋ณ€๊ฒฝํ•˜๋Š” ์‹œ์ ์—์„œ ๋‹ค๋ฅธ ์ธ์Šคํ„ด์Šค์˜ health check ๊นŒ์ง€ ๋งˆ์นœ ๋‹ค์Œ ์ƒˆ๋กœ์šด ํ™˜๊ฒฝ์œผ๋กœ ๋ฐฐํฌํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

์ฆ‰ ๊ฐ ์ธ์Šคํ„ด์Šค๊ฐ€ ์ž์‹ ์˜ Green ํ™˜๊ฒฝ ๋ฐฐํฌ ์ค€๋น„๋ฅผ ๋งˆ์นœ ํ›„ ๋‹ค๋ฅธ ์ธ์Šคํ„ด์Šค๋„ ์ค€๋น„๊ฐ€ ๋๋Š”์ง€ health check๋ฅผ ํ•œ ํ›„ Green ํ™˜๊ฒฝ์œผ๋กœ ๋ฐฐํฌ๋ฅผ ์ง„ํ–‰ํ•˜๋Š” ์ž‘์—…์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

๋ฌผ๋ก  ์ด๋ ‡๊ฒŒ ํ•ด๋„ nginx์˜ ํฌํŠธ ํฌ์›Œ๋”ฉ์ด ๋๋‚˜๋Š” ์‹œ์ ์„ ์™„์ „ํžˆ ๋™์ผํ•˜๊ฒŒ ๋งž์ถœ ์ˆ˜๋Š” ์—†์ง€๋งŒ ๊ทธ๋ž˜๋„ ํฌํŠธ ํฌ์›Œ๋”ฉ์„ ์‹œ์ž‘ํ•˜๋Š” ์‹œ์ ์€ ๋งž์ถœ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

ํ˜„์žฌ๋Š” ์ด ๋‘ ๊ฐœ์˜ ์ธ์Šคํ„ด์Šค๊ฐ€ ์žˆ์–ด ๊ฐ๊ฐ ์„œ๋กœ health check๊ฐ€ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ ์Šค์ผ€์ผ ์•„์›ƒ์„ ์ง„ํ–‰ํ•˜๊ฒŒ ๋œ๋‹ค๋ฉด ๊ฐ๊ฐ ํ™•์ธํ•˜๋Š” ๊ฒƒ์€ ๋น„ํšจ์œจ์ ์ด๋ฏ€๋กœ health check ์šฉ ์„œ๋ฒ„๋ฅผ ๋‘๋Š” ๊ฒƒ๋„ ๊ณ ๋ คํ•ด๋ณด์•„์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ€ ์ฝ”๋”ฉํ•ด๋“€์˜ค

์ „์ฒด

์ •๋ณด

BE

FE

๊ธฐ์ˆ 

์ปจ๋ฒค์…˜

ํ…Œ์ŠคํŠธ

์„ฑ๋Šฅ ๊ฐœ์„  & ์ ‘๊ทผ์„ฑ ๊ฐœ์„  ๋ฆฌํฌํŠธ

์ธํ”„๋ผ

Clone this wiki locally