게이트웨이의 커스텀 도메인은 API 게이트웨이용 HTTP(S) 부하 분산미리보기을 구성하여 구현될 수 있습니다. 게이트웨이에 대해 HTTP(S) 부하 분산기가 설정된 다음에는 아래 단계에 따라 새 부하 분산기 서비스를 가리키도록 커스텀 도메인의 DNS 레코드를 업데이트합니다.
이 단계는 Google 관리 인증서와 함께 HTTP(S) 부하 분산기를 사용하는 경우에도 필요합니다(도메인 필요). DNS와 함께 사용될 때는 고정 IP 주소를 할당하고 사용하는 것이 좋습니다. 이 단계의 세부 안내는 DNS 제공업체에 따라 달라집니다.
부하 분산기로 트래픽을 전송하려면 커스텀 도메인의 DNS 레코드(예: my-app-domain)가 부하 분산기의 IP 주소를 가리켜야 합니다.
전역 전달 규칙의 IP 주소를 찾으려면 다음 명령어를 사용합니다.
gcloud compute forwarding-rules list
기존 커스텀 도메인 URL로 전송된 트래픽이 대신 부하 분산기를 통해 라우팅되도록 부하 분산기의 IP 주소를 가리키도록 도메인의 DNS A 또는 AAAA 레코드를 업데이트합니다. 이 변경사항이 DNS 서버에 전달되려면 짧게는 몇 초부터 길게는 몇 시간까지 걸릴 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-06(UTC)"],[[["Configuring a custom domain for API Gateway involves setting up HTTP(S) Load Balancing for API Gateway."],["Updating your custom domain's DNS records to point to the load balancer service is required after setting up the HTTP(S) load balancer."],["To direct traffic to the load balancer, the DNS record of the custom domain must point to the load balancer's IP address(es)."],["Updating the domain's DNS A or AAAA record to the load balancer's IP address routes traffic through the load balancer, with DNS propagation taking varying amounts of time."],["Utilizing a static IP address with DNS when using an HTTP(S) Load Balancer is recommended."]]],[]]