๐Ÿ“‚ AWS/AWS Developer - Associate

[AWS] Developer Associate #11 DNS(Route53)

dhyuck 2024. 11. 15. 22:57
๋ฐ˜์‘ํ˜•

DNS(Domain Name System)๋ž€?

  • Domain Name(๋„๋ฉ”์ธ ์ด๋ฆ„)์€ ์‚ฌ์šฉ์ž๊ฐ€ ์‰ฝ๊ฒŒ ์›น ์‚ฌ์ดํŠธ๋‚˜ ์˜จ๋ผ์ธ ์„œ๋น„์Šค๋ฅผ ์ฐพ์„ ์ˆ˜ ์žˆ๋„๋ก ๋งŒ๋“  ์ด๋ฆ„์œผ๋กœ, ์ˆซ์ž๋กœ ๋œ IP ์ฃผ์†Œ ๋Œ€์‹  ๊ธฐ์–ตํ•˜๊ธฐ ์‰ฌ์šด ๋ฌธ์ž์—ด์„ ์‚ฌ์šฉํ•˜์—ฌ ์ธํ„ฐ๋„ท์—์„œ ๋ฆฌ์†Œ์Šค๋ฅผ ์‹๋ณ„ํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ฉ๋‹ˆ๋‹ค
  • DNS(Domain Name System)๋ž€ www.example.com๊ณผ ๊ฐ™์ด ์‚ฌ๋žŒ์ด ์ฝ์„์ˆ˜ ์žˆ๋Š” ์ฃผ์†Œ(๋„๋ฉ”์ธ)์„ ์ธํ„ฐ๋„ท ์ฃผ์†Œ(IP) ์ฃผ์†Œ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ์‹œ์Šคํ…œ์ž…๋‹ˆ๋‹ค.
  • Domain Registrar๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์ธํ„ฐ๋„ท์—์„œ ๋„๋ฉ”์ธ ์ด๋ฆ„์„ ๋“ฑ๋กํ•  ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ๋Š” ์„œ๋น„์Šค ์ œ๊ณต์ž์ž…๋‹ˆ๋‹ค.
  • Name Server๋Š” ๋„๋ฉ”์ธ ์ด๋ฆ„๊ณผ ํ•ด๋‹น ๋„๋ฉ”์ธ์˜ IP ์ฃผ์†Œ๋ฅผ ๋งค์นญํ•˜๋Š” ์ •๋ณด๋ฅผ ์ €์žฅํ•˜๊ณ  ์‚ฌ์šฉ์ž๊ฐ€ ์ฟผ๋ฆฌํ•œ ๋„๋ฉ”์ธ ์ด๋ฆ„์„ IP ์ฃผ์†Œ๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ์—ญํ• ์„ ํ•ฉ๋‹ˆ๋‹ค.
  • Zone file์€ ํŠน์ • ๋„๋ฉ”์ธ์— ๋Œ€ํ•œ DNS ๋ ˆ์ฝ”๋“œ(๋„๋ฉ”์ธ ์ด๋ฆ„๊ณผ IP ์ฃผ์†Œ ๊ฐ„์˜ ๋งคํ•‘, TTL ๋“ฑ)๋ฅผ ํฌํ•จํ•˜๊ณ  ์žˆ๋Š” ํ…์ŠคํŠธ ๊ธฐ๋ฐ˜์˜ ์„ค์ • ํŒŒ์ผ์ž…๋‹ˆ๋‹ค.
  • TTL(Time to Live)๋Š” ๋ ˆ์ฝ”๋“œ ์ •๋ณด๊ฐ€ ์„œ๋ฒ„๋‚˜ ์บ์‹œ์— ๋จธ๋ฌด๋ฅด๋Š” ์‹œ๊ฐ„์œผ๋กœ TTL์ด ์ง€๋‚˜๋ฉด ์ตœ์‹  ์ •๋ณด๋กœ ๊ฐฑ์‹ ๋ฉ๋‹ˆ๋‹ค.
  • AWS๋Š” ๊ด€๋ฆฌํ˜• DNS ์„œ๋น„์Šค๋กœ Route53์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Route53์ด๋ž€?

  • Route 53์€ ๋„๋ฉ”์ธ ์ด๋ฆ„ ๋“ฑ๋ก, DNS ์ฟผ๋ฆฌ ์‘๋‹ต, ๋ฆฌ์†Œ์Šค ์ƒํƒœ ์ฒดํฌ๋ฅผ ์ œ๊ณตํ•˜๋Š” DNS ์›น ์„œ๋น„์Šค์ž…๋‹ˆ๋‹ค.
  • Route 53์—์„œ "53"์€ DNS(๋„๋ฉ”์ธ ์ด๋ฆ„ ์‹œ์Šคํ…œ)์—์„œ ์‚ฌ์šฉ๋˜๋Š” ํ‘œ์ค€ ํฌํŠธ ๋ฒˆํ˜ธ๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค.
  • Route53์˜ Hosted Zone์€ AWS์—์„œ ์œ ์ผํ•˜๊ฒŒ 100% ๊ฐ€์šฉ์„ฑ์„ ๋ณด์žฅํ•˜๋Š” ์„œ๋น„์Šค ์ˆ˜์ค€ ๊ณ„์•ฝ(SLA)๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.

Route53 - Hosted zone

  • Hosted zone(ํ˜ธ์ŠคํŒ… ์˜์—ญ)์ด๋ž€ ๋„๋ฉ”์ธ๊ณผ DNS ๋ ˆ์ฝ”๋“œ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ์ปจํ…Œ์ด๋„ˆ๋กœ Route 53์— ์กด์žฌํ•˜๋Š” ๊ฐœ๋…์ž…๋‹ˆ๋‹ค.
    ํ˜ธ์ŠคํŒ… ์˜์—ญ์€ ์ „ํ†ต์ ์ธ DNS Zone file๊ณผ ์œ ์‚ฌํ•˜๊ฒŒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.
  • example.com๋ผ๋Š” ํ˜ธ์ŠคํŒ… ์˜์—ญ์ด ์žˆ์„๋•Œ www.example.com, api.example.com์— ๋Œ€ํ•œ ๋ ˆ์ฝ”๋“œ์™€ ๋ผ์šฐํŒ… ์ •์ฑ…(routing policy)์„ ์ง€์ •ํ•˜์—ฌ ํŠธ๋ž˜ํ”ฝ์„ ์–ด๋””๋กœ ๋ผ์šฐํŒ…ํ• ์ง€ ์ •ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
  • Hosted zone์€ Public hosted zone(ํผ๋ธ”๋ฆญ ํ˜ธ์ŠคํŒ… ์˜์—ญ)๊ณผ Private hosted zone(ํ”„๋ผ์ด๋น— ํ˜ธ์ŠคํŒ… ์˜์—ญ)์ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • Public Hosted Zone๋Š” ์ธํ„ฐ๋„ท์—์„œ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ ๋„๋ฉ”์ธ์˜ DNS ๋ ˆ์ฝ”๋“œ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.
  • Private Hosted Zone๋Š” ํŠน์ • VPC ๋‚ด์—์„œ๋งŒ ์ ‘๊ทผ ๊ฐ€๋Šฅํ•œ ๋„๋ฉ”์ธ์˜ DNS ๋ ˆ์ฝ”๋“œ๋ฅผ ๊ด€๋ฆฌํ•ฉ๋‹ˆ๋‹ค.

Route53 - Record types

  • Record(๋ ˆ์ฝ”๋“œ)๋Š” DNS ์„œ๋ฒ„๊ฐ€ ์š”์ฒญ์— ์‘๋‹ตํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ๋ฐ์ดํ„ฐ๋กœ ๋„๋ฉ”์ธ ์ด๋ฆ„๊ณผ ์—ฐ๊ฒฐ๋œ IP ์ฃผ์†Œ ๋˜๋Š” ๋‹ค๋ฅธ ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์ €์žฅํ•ฉ๋‹ˆ๋‹ค.
  • A ๋ ˆ์ฝ”๋“œ๋Š” ๋„๋ฉ”์ธ ์ด๋ฆ„์„ IPv4 ์ฃผ์†Œ๋กœ ๋งคํ•‘ํ•˜๋Š” DNS ๋ ˆ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
  • AAAA ๋ ˆ์ฝ”๋“œ๋Š” ๋„๋ฉ”์ธ ์ด๋ฆ„์„ IPv6 ์ฃผ์†Œ๋กœ ๋งคํ•‘ํ•˜๋Š” DNS ๋ ˆ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
  • CNAME ๋ ˆ์ฝ”๋“œ๋Š” ๋„๋ฉ”์ธ ์ด๋ฆ„์„ ๋‹ค๋ฅธ ๋„๋ฉ”์ธ ์ด๋ฆ„์œผ๋กœ ๋งคํ•‘ํ•˜๋Š” DNS ๋ ˆ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
    ์˜ˆ๋ฅผ ๋“ค์–ด cdn.example.com์„ cloudfront distribution์˜ ๋„๋ฉ”์ธ์œผ๋กœ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    CNAME์€ ์„œ๋ธŒ ๋„๋ฉ”์ธ(cdn.example.com)๋งŒ ์‚ฌ์šฉ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ๋ฃจํŠธ ๋„๋ฉ”์ธ(example.com)์€ CNAME์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
  • Alias ๋ ˆ์ฝ”๋“œ๋Š” Route53๋งŒ์˜ ๊ธฐ๋Šฅ์œผ๋กœ ๋„๋ฉ”์ธ ์ด๋ฆ„์„ AWS ๋ฆฌ์†Œ์Šค์˜ ๋„๋ฉ”์ธ์œผ๋กœ ๋งคํ•‘ํ•˜๋Š” DNS๋ ˆ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
    Alias ๋ ˆ์ฝ”๋“œ๋Š” ์„œ๋ธŒ ๋„๋ฉ”์ธ๊ณผ ๋ฃจํŠธ ๋„๋ฉ”์ธ ๋ชจ๋‘ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • Alias ๋ ˆ์ฝ”๋“œ๊ฐ€ AWS ๋ฆฌ์†Œ์Šค๋ฅผ ์ง€์ •ํ•˜๋Š” ๊ฒฝ์šฐ TTL์„ ์„ค์ •ํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
  • ๋„๋ฉ”์ธ๊ณผ AWS ๋ฆฌ์†Œ์Šค ๋„๋ฉ”์ธ๋ฅผ ์—ฐ๊ฒฐํ•˜๊ณ ์ž ํ•˜๋Š” ๊ฒฝ์šฐ CNAME๋ณด๋‹ค Alias๋ฅผ ์‚ฌ์šฉํ•  ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.
  • NS ๋ ˆ์ฝ”๋“œ๋Š” ๋„๋ฉ”์ธ์˜ ๊ถŒํ•œ ์žˆ๋Š” ๋„ค์ž„ ์„œ๋ฒ„(Authoritative Name Server)๋ฅผ ์ง€์ •ํ•˜๋Š” DNS ๋ ˆ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
    ๊ถŒํ•œ ์žˆ๋Š” ๋„ค์ž„ ์„œ๋ฒ„๋ž€ ํŠน์ • ๋„๋ฉ”์ธ์— ๋Œ€ํ•œ ์›๋ณธ DNS ๋ ˆ์ฝ”๋“œ๋ฅผ ์ €์žฅํ•˜๊ณ  DNS ์ฟผ๋ฆฌ์— ๋Œ€ํ•ด ์ตœ์ข…์ ์ธ ์‘๋‹ต์„ ์ œ๊ณตํ•˜๋Š” ์„œ๋ฒ„๋ฅผ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค.
  • SOA ๋ ˆ์ฝ”๋“œ๋Š” DNS ์šด์˜์„ ์œ„ํ•œ ์ •๋ณด๋ฅผ ์ €์žฅํ•˜๋Š” DNS ๋ ˆ์ฝ”๋“œ์ž…๋‹ˆ๋‹ค.
  • TXT ๋ ˆ์ฝ”๋“œ๋Š” ๋„๋ฉ”์ธ์— ๋Œ€ํ•œ ํ…์ŠคํŠธ ์ •๋ณด๋ฅผ ์ €์žฅํ•˜๋Š” DNS๋ž˜์ฝ”๋“œ๋กœ ๋„๋ฉ”์ธ ์†Œ์œ ๊ถŒ ํ™•์ธ ๋“ฑ์œผ๋กœ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.

Route53 - Health Check

  • Health Check(ํ—ฌ์Šค์ฒดํฌ, ์ƒํƒœ๊ฒ€์‚ฌ)๋ž€ ๋ฆฌ์†Œ์Šค์˜ ๊ฐ€์šฉ์„ฑ์„ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋Š” ์„œ๋น„์Šค๋กœ VPC ์™ธ๋ถ€์—์„œ ์—”๋“œํฌ์ธํŠธ์˜ ์ƒํƒœ๋ฅผ ํ™•์ธํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.
  • Route53์€ ์ „์„ธ๊ณ„์— health checker๋ฅผ ์šด์˜ํ•˜๊ณ  ์žˆ์œผ๋ฉฐ ์ „์ฒด์˜ 18%๊ฐ€ ๋„˜๋Š” health checker๊ฐ€ ์ •์ƒ์ด๋ผ๊ณ  ํŒ๋‹จํ•˜๋ฉด Route53์€ ์ •์ƒ์œผ๋กœ ํŒ๋‹จํ•ฉ๋‹ˆ๋‹ค.
  • Route53์€ ์‹ค์ œ ์ƒํƒœ, ์ •์ƒ ๋˜๋Š” ๋น„์ •์ƒ์„ ํŒ๋‹จํ•  ๋งŒํผ ์ถฉ๋ถ„ํ•œ ๋ฐ์ดํ„ฐ๊ฐ€ ์žˆ์„ ๋•Œ๊นŒ์ง€ ์ƒˆ๋กœ์šด ์ƒํƒœ ๊ฒ€์‚ฌ๋ฅผ ์ •์ƒ์œผ๋กœ ๊ฐ„์ฃผํ•ฉ๋‹ˆ๋‹ค.
  • Health Check๋Š” Endpoint, Calculated health check, CloudWatch alarm 3๊ฐ€์ง€ ์œ ํ˜•์ด ์žˆ์Šต๋‹ˆ๋‹ค.
  • Endpoint Health Check๋Š” IP ์ฃผ์†Œ๋‚˜ ๋„๋ฉ”์ธ ์ด๋ฆ„์œผ๋กœ ์ง€์ •๋œ ์—”๋“œํฌ์ธํŠธ๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋ฉฐ HTTP, HTTPS, TCP ํ”„๋กœํ† ์ฝœ์„ ํ†ตํ•ด ๋ฆฌ์†Œ์Šค์˜ ์ ‘๊ทผ์„ฑ๊ณผ ๊ฐ€์šฉ์„ฑ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.
  • Calculated Health Check๋Š” ๋‹ค๋ฅธ Health Check๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋Š” ์ƒ์œ„ Health Check๋กœ ์—ฌ๋Ÿฌ ๊ฐœ์˜ ํ—ฌ์Šค์ฒดํฌ๋ฅผ OR, AND, NOT์œผ๋กœ 1๊ฐœ์˜ ํ—ฌ์Šค์ฒดํฌ๋กœ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • Route53 Health Check๊ฐ€ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋ ค๋Š” ์—”๋“œํฌ์ธํŠธ๋Š” ์ธํ„ฐ๋„ท์— ๊ณต๊ฐœ๋˜์–ด ์žˆ์–ด์•ผํ•ฉ๋‹ˆ๋‹ค.
    VPC ๋‚ด๋ถ€์˜ ๋ฆฌ์†Œ๋ฅด๋ฅผ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜๋ ค๋Š” ๊ฒฝ์šฐ ๋ฆฌ์†Œ์Šค์— ํผ๋ธ”๋ฆญ IP๋ฅผ ํ• ๋‹นํ•˜๊ฑฐ๋‚˜ CloudWatch Metric์œผ๋กœ CloudWatch Alarm์„ ๋งŒ๋“ค์–ด Health Check๋ฅผ ๊ตฌ์„ฑํ•ด์•ผํ•ฉ๋‹ˆ๋‹ค.
  • CloudWatch alarm Health Check๋Š” ์•Œ๋žŒ์˜ ์ƒํƒœ๊ฐ€ ์•„๋‹Œ ์•Œ๋žŒ์˜ ๋ฐ์ดํ„ฐ ์ŠคํŠธ๋ฆผ์„ ์ง์ ‘ ๋ชจ๋‹ˆํ„ฐ๋งํ•˜์—ฌ ๋ฐ์ดํ„ฐ ์ŠคํŠธ๋ฆผ์ด ALARM ์ƒํƒœ๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉด Health Check๋Š” ๋น„์ •์ƒ์œผ๋กœ ํŒ๋‹จํ•ฉ๋‹ˆ๋‹ค.

Route53 - Routing Policy

  • Routing Policy๋ž€ Route53์ด ํŠน์ • ๋ ˆ์ฝ”๋“œ์— ๋Œ€ํ•œ ์‘๋‹ต ๋ฐฉ์‹์„ ๊ฒฐ์ •ํ•˜๋Š” ์„ค์ •์œผ๋กœ ๋ ˆ์ฝ”๋“œ๋ฅผ ์ƒ์„ฑํ•  ๋•Œ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.
  • Simple routing policy์€ ๊ฐ€์žฅ ๊ธฐ๋ณธ์ ์ธ ๋ผ์šฐํŒ… ์ •์ฑ…์œผ๋กœ ํ‘œ์ค€ DNS ๋ ˆ์ฝ”๋“œ ๊ตฌ์„ฑ ๋ฐฉ์‹์ž…๋‹ˆ๋‹ค.
    ๋งŒ์•ฝ DNS ์ฟผ๋ฆฌ์— ๋Œ€ํ•ด ๋‹ค์ค‘ ๊ฐ’(multiple values)์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ๊ฒฝ์šฐ Route53์€ ๋ฌด์ž‘์œ„ ์ˆœ์„œ๋กœ ๋ฐ˜ํ™˜ํ•˜๊ณ  ํด๋ผ์ด์–ธํŠธ๋Š” ์‘๋‹ต ๊ฐ’ ์ค‘ ํ•˜๋‚˜๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
  • Failover routing์€ Primary ๋ฆฌ์†Œ์Šค์˜ ํ—ฌ์Šค์ฒดํฌ๊ฐ€ ์ •์ƒ์ธ ๊ฒฝ์šฐ์—๋Š” Primary ๋ฆฌ์†Œ์Šค๋กœ ๋ผ์šฐํŒ…ํ•˜๊ณ , ๋น„์ •์ƒ์ธ ๊ฒฝ์šฐ์—๋Š” Secondary ๋ฆฌ์†Œ์Šค๋กœ ๋ผ์šฐํŒ…ํ•˜๋Š” ์ •์ฑ…์ž…๋‹ˆ๋‹ค. Active-passive ํŽ˜์ผ์˜ค๋ฒ„ ๊ตฌ์„ฑ์„ ๊ตฌํ˜„ํ•˜๋Š”๋ฐ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.
  • Geolocation routing policy๋Š” ์‚ฌ์šฉ์ž์˜ ์ง€๋ฆฌ์  ์œ„์น˜(DNS ์ฟผ๋ฆฌ๊ฐ€ ์‹œ์ž‘๋œ ์œ„์น˜)๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ผ์šฐํŒ…ํ•˜๋Š” ์ •์ฑ…์ž…๋‹ˆ๋‹ค.
  • Geoproximity routing policy๋Š” ์‚ฌ์šฉ์ž์˜ ์ง€๋ฆฌ์  ์œ„์น˜์™€ ๋ฆฌ์†Œ์Šค์˜ ์œ„์น˜๋ฅผ ๋ชจ๋‘ ๊ณ ๋ คํ•˜์—ฌ ๋ผ์šฐํŒ…ํ•˜๋Š” ์ •์ฑ…์ž…๋‹ˆ๋‹ค.
    bias ๊ฐ’์„ ์กฐ์ •ํ•˜์—ฌ ๋ฆฌ์†Œ์Šค๋กœ ๋ผ์šฐํŒ… ๋˜๋Š” ์ง€๋ฆฌ์  ์˜์—ญ์˜ ํฌ๊ธฐ๋ฅผ ์กฐ์ ˆํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
    bias ๊ฐ’์ด ํฌ๋‹ค๋ฉด ๋” ๋งŽ์€ ์ง€์—ญ์—์„œ ํŠธ๋ž˜ํ”ฝ์„ ๋ฐ›๊ฒŒ ๋˜๊ณ , bias ๊ฐ’์ด ์ ๋‹ค๋ฉด ๋” ์ ์€ ์ง€์—ญ์—์„œ ํŠธ๋ž˜ํ”ฝ์„ ๋ฐ›๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
    ์œ„๋„์™€๊ฒฝ๋„๋ฅผ ์ง€์ •ํ•˜๋ฉด ์˜จํ”„๋ ˆ๋ฏธ์Šค IDC๋„ ํŠธ๋ž˜ํ”ฝ์„ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • Latency routing policy๋Š” ์—ฌ๋Ÿฌ AWS ๋ฆฌ์ „์— ๋ฆฌ์†Œ์Šค๊ฐ€ ์žˆ์„ ๋•Œ ์‚ฌ์šฉ์ž์—๊ฒŒ ๊ฐ€์žฅ ๋‚ฎ์€ ์ง€์—ฐ ์‹œ๊ฐ„์„ ์ œ๊ณตํ•˜๋Š” ๋ฆฌ์ „์œผ๋กœ ๋ผ์šฐํŒ…ํ•˜๋Š” ์ •์ฑ…์ž…๋‹ˆ๋‹ค.
  • IP-based routing policy๋Š” ํด๋ผ์ด์–ธํŠธ์˜ IP ์ฃผ์†Œ(CIDR ๋ธ”๋ก)๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ผ์šฐํŒ…ํ•˜๋Š” ์ •์ฑ…์ž…๋‹ˆ๋‹ค.
  • Multivalue answer routing policy์€ ์ตœ๋Œ€ 8๊ฐœ์˜ ๋ ˆ์ฝ”๋“œ๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ์ •์ฑ…์œผ๋กœ Simple routing policy์˜ multiple value์™€๋Š” ๋‹ค๋ฅด๊ฒŒ ํ—ฌ์Šค์ฒดํฌ์—์„œ ์ •์ƒ์ธ ๋ ˆ์ฝ”๋“œ๋งŒ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.
    Multivalue answer routing์€ ๋กœ๋“œ๋ฐธ๋žœ์„œ๋ฅผ ๋Œ€์ฒดํ•˜๋Š” ๊ฒƒ์€ ์•„๋‹ˆ์ง€๋งŒ ๋กœ๋“œ๋ฐธ๋Ÿฐ์‹ฑ์„ ๊ฐœ์„ ํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ๋  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • Weighted routing policy๋Š” ๋„๋ฉ”์ธ์— ์—ฐ๊ฒฐ๋œ ์—ฌ๋Ÿฌ ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•ด ๊ฐ€์ค‘์น˜๋ฅผ ๋ถ€์—ฌํ•˜์—ฌ ๊ฐ ๋ฆฌ์†Œ์Šค๋กœ ์ „์†ก๋˜๋Š” ํŠธ๋ž˜ํ”ฝ์˜ ๋น„์œจ์„ ์ง€์ •ํ• ์ˆ˜ ์žˆ๋Š” ๋ผ์šฐํŒ… ์ •์ฑ…์ž…๋‹ˆ๋‹ค.
  • Route53์€ EDNS Client Subnet์„ ํ™œ์šฉํ•˜์—ฌ Geolocation, Geoproximity, IP-based, Latency routing์˜ ์ •ํ™•์„ฑ์„ ํ–ฅ์ƒ์‹œํ‚ต๋‹ˆ๋‹ค.
    EDNS Client Subnet์€ ํด๋ผ์ด์–ธํŠธ์˜ ์„œ๋ธŒ๋„ท์„ ํ•จ๊ป˜ ์ œ๊ณตํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์„œ๋ธŒ๋„ท์€ ํด๋ผ์ด์–ธํŠธ์˜ ์ง€๋ฆฌ์  ์œ„์น˜๋ฅผ ํŠน์ •ํ•˜๋Š”๋ฐ ๋งŽ์€ ๋„์›€์„ ์ค๋‹ˆ๋‹ค.

Route53 - Traffic flow

  • Traffic Flow๋Š” ๋ณต์žกํ•œ Routing Policy๋ฅผ ๋น„์ฃผ์–ผ ์—๋””ํ„ฐ(UI)๋กœ ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ์„œ๋น„์Šค์ž…๋‹ˆ๋‹ค.
  • Traffic Flow๋Š” JSON ํ˜•์‹์œผ๋กœ ์ •์ฑ…์„ ๊ฐ€์ ธ์˜ค๊ณ  ๋‚ด๋ณด๋‚ด๊ธฐ์™€ ๋ฒ„์ „ ๊ด€๋ฆฌ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค
  • Traffic Flow๋Š” public hosted zone์— ๋Œ€ํ•ด์„œ๋งŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
๋ฐ˜์‘ํ˜•