Route53
- 가용성과 확장성이 뛰어난 DNS 웹 서비스
- DNS = Domain Name System
- translates the human friendly hostnames into the machine IP addresses
- 세 가지의 주요 기능
- 도메인 등록
- 웹 사이트 또는 웹 어플리케이션의 이름, 도메인 이름을 등록할 수 있게 함
- 도메인 이름을 사용할 권리르 구매하여 도메인 네임 레지스트라에 신청하는 것
- Records - DNS 상에서 도메인에 관한 설정을 하기 위해 사용되는 일련의 문자들
- A - maps a hostname to IPv4
- AAAA - maps a hostname to IPv6
- CNAME - maps a hostname to another hostname
- the target must have a A or AAAA record
- can not create a CNAME record for the top node of a DNS namespace
- NS - Name Servers for the Hosted Zone
- control how traffic is routed for a domain
- Hosted Zones - a container for records that define how to route traffic to a domain and its subdomain
- pay $0.50 per month per hosted zone
- Public Hosted Zone
- contians records that specify how to route traffic on the Internet (public domain names)
- Private Hosted Zone
- contains records that specify how you route traffic within one or more VPc
- CNAME vs Alias
- CNAME
- points a hostname to any other hostname
- only for non root domain
- Alias
- points a hostname to an AWS resource
- works for root domain and non root domain
- free of charge
- native health check
- Targets - can not set an ALIAS record for an EC2 DNS name
- Elastic Load Balancers
- CloudFront Distribution
- API Gateway
- Elastic Beanstalk environments
- S3 Websites
- VPC Interface Endpoints
- Global Acclerator accelerator
- Route 53 record in the same hosted zone
- TTL
- 레코드의 현재 값을 얻기 위해 Route 53에 또 다른 요청을 제출하기 전 DNS 해석기가 해당 레코드의 값을 캐싱할 시간
- DNS 해석기가 TTL 만료 전에 동일한 도메인에 대한 또 다른 요청을 수신하는 경우, 해석기는 캐싱된 값을 반환함
- TTL이 길수록 Route 53 요금이 줄어드는데, 요금은 Route 53이 응답하는 DNS 쿼리 수에 부분적으로 기반하기 때문
- 레코드의 현재 값을 얻기 위해 Route 53에 또 다른 요청을 제출하기 전 DNS 해석기가 해당 레코드의 값을 캐싱할 시간
- CNAME
- 웹 사이트 또는 웹 어플리케이션의 이름, 도메인 이름을 등록할 수 있게 함
- DNS 라우팅
- 사용자가 주소 표시줄에 도메인 이름 또는 하위 도메인 이름을 입력한 경우에 웹 사이트 혹은 웹 어플리케이션에 연결하도록 함
- Routing Polices
- 단순 라우팅 정책 (Simple Routing Policy) : 도메인에 대해 특정 기능을 수행하는 하나의 리소스로 인터넷 트래픽을 라우팅하는 데 사용
- 장애 조치 라우팅 정책 (Failover Routing Policy) :액티브-패시브 장애 조치를 구성하려는 경우에 사용
- 지리 위치 라우팅 정책(Geolocation Routing Policy) : 사용자의 위치에 기반하여 인터넷 트래픽을 리소스로 라우팅하려는 경우에 사용
- 지리 근접 라우팅 정책(Geoproximity Routing Policy) : 리소스의 위치를 기반으로 트래픽을 라우팅하고 필요에 따라 한 위치의 리소스에서 다른 위치의 리소스로 트래픽을 보내려는 경우에 사용
- 지연 시간 라우팅 정책(Latency Routing Policy) : 여러 위치에 리소스가 있고 최상의 지연 시간을 제공하는 리소스로 트래픽을 라우팅하려는 경우에 사용
- IP 기반 라우팅 정책 : 사용자의 위치에 기반하여 트래픽을 라우팅하고 트래픽이 시작되는 IP 주소가 있는 경우에 사용
- 다중 응답 라우팅 정책(Multivalue answer routing policy) : Route 53이 DNS 쿼리에 무작위로 선택된 최대 8개의 정상 레코드로 응답하게 하려는 경우에 사용
- 가중치 기반 라우팅 정책(Weighted routing policy) : 사용자가 지정하는 비율에 따라 여러 리소스로 트래픽을 라우팅하려는 경우에 사용합니다.
- 상태 확인
- DNS failover
- A method for routing traffic away from unhealthy resources and to healthy resources
- When you have more than one resource performing the same function—for example, more than one web server or mail server—you can configure Route 53 health checks to check the health of your resources and configure records in your hosted zone to route traffic only to healthy resources.
- endpoint
- The resource, such as a web server or an email server, that you configure a health check to monitor the health of.
- health check
- A Route 53 component
- Monitor whether a specified endpoint, such as a web server, is healthy
- Optionally, get notified when an endpoint becomes unhealthy
- Optionally, configure DNS failover, which allows you to reroute internet traffic from an unhealthy resource to a healthy resource
- A Route 53 component
- DNS failover
- 도메인 등록
'aws' 카테고리의 다른 글
| S3 (0) | 2024.03.29 |
|---|---|
| CloudFront & Global Accelerator (3) | 2024.03.29 |
| Elastic Beanstalk (0) | 2024.03.28 |
| RDS (1) | 2024.03.27 |
| High Availability & Scalability (1) | 2024.03.25 |