VM 인스턴스 및 부하 분산기와 같은 리소스는Google Cloud에서 IP 주소를 갖습니다. 이러한 IP 주소를 사용하면 Google Cloud 리소스가 Google Cloud, 온프레미스 네트워크 또는 공개 인터넷에서 다른 리소스와 통신할 수 있습니다. 이 페이지에서는 Google Cloud에서 사용하는 IP 주소 분류에 대해 설명합니다.
Google Cloud 는 다음 라벨을 사용하여 서로 다른 IP 주소 유형을 설명합니다. 예를 들어 내부 IP 주소는 공개적으로 라우팅되지 않습니다. 외부 IP 주소는 공개적으로 라우팅되는 IP 주소입니다. 외부 IP 주소를 Google Cloud VM의 네트워크 인터페이스에 할당할 수 있습니다.
외부 IP 주소
외부 IP 주소는 공개적으로 공지됩니다. 즉, 인터넷의 모든 호스트에서 연결할 수 있습니다. 외부 IP 주소는 공개적으로 라우팅 가능한 IP 주소여야 합니다.
외부 IP 주소가 있는 리소스는 공개 인터넷과 통신할 수 있습니다.
Google에서 리소스의 외부 IPv4 주소를 제공하거나 Google Cloud에 자체 IP(BYOIP) 주소를 가져올 수 있습니다.
BYOIP 주소는 고정 외부 IPv4 주소이며 고정 외부 IPv4 주소를 지원하는 대부분의 리소스에서 사용할 수 있지만 몇 가지 예외가 있습니다.
Google에서 외부 IPv6 주소를 제공하거나 사용자가 Google Cloud에 BYOIP 주소를 가져올 수 있습니다. IPv6 BYOIP 주소는 외부 패스 스루 네트워크 부하 분산기 또는 VM만 호스팅할 수 있는 서브넷의 전달 규칙에서만 사용할 수 있습니다.
자세한 내용은 IPv6 서브넷 범위를 참조하세요.
내부 IP 주소는 VPC 네트워크 피어링을 사용하여 연결된 VPC 네트워크, Cloud VPN, Cloud Interconnect, 라우터 어플라이언스를 사용하여 VPC 네트워크에 연결된 온프레미스 네트워크에서 사용됩니다.
내부 IP 주소가 있는 리소스는 모두 동일한 비공개 네트워크에 있는 것처럼 다른 리소스와 통신할 수 있습니다.
내부 IPv4 주소는 비공개 IPv4 주소이거나 비공개로 사용되는 공개 IPv4 주소일 수 있습니다. 유효한 내부 IPv4 주소 목록은 유효한 IPv4 범위를 참조하세요.
내부 IPv6 주소는 Google Cloud내에서 고유합니다. 자세한 내용은 IPv6 서브넷 범위를 참조하세요.
VPC 네트워크를 다른 네트워크에 연결할 때 내부 IP 주소가 공지되는 방법에 대한 자세한 내용은 경로 공지 및 내부 IP 주소를 참조하세요.
공개 IP 주소는 인터넷으로 라우팅할 수 있습니다. Google Cloud에서 외부 IPv4 및 IPv6 주소는 항상 공개 IP 주소입니다.
VPC 네트워크에서 서브넷의 기본 또는 보조 IPv4 주소 범위를 구성할 때 공개 IPv4 주소를 내부 주소로 사용할 수도 있습니다. 이러한 주소를 비공개로 사용되는 공개 IP 주소라고 합니다.
리전별 및 전역 IP 주소
프로젝트에서 IP 주소를 나열하거나 기술할 때 Google Cloud는 특정 주소 사용 방법을 나타내는 전역 또는 리전 라벨을 주소에 지정합니다. VM과 같은 리전별 리소스에 주소를 연결할 때 Google Cloud 는 해당 주소에 리전별 라벨을 지정합니다. 리전은Google Cloud 리전(예: us-east4 또는 europe-west2)입니다.
전역 및 리전별 리소스에 대한 자세한 내용은 Compute Engine 문서의 전역, 리전별, 영역별 리소스를 참조하세요.
Google에서 전역 외부 IPv4 주소를 제공하거나 사용자가 자체 IPv4 주소 범위를 Google Cloud로 가져올 수 있습니다.
전역 외부 IPv4 주소에서는 항상 프리미엄 등급을 사용합니다. 다음에서 사용할 수 있습니다.
외부 프록시 네트워크 부하 분산기
외부 애플리케이션 부하 분산기
전역 외부 IPv6 주소
프리미엄 등급 전용
인터넷에서 액세스할 수 있는 전역 부하 분산을 위한 애니캐스트 외부 IPv6 주소
전역 외부 IPv6 주소에서는 항상 프리미엄 등급을 사용합니다. 다음에서 사용할 수 있습니다.
외부 프록시 네트워크 부하 분산기
외부 애플리케이션 부하 분산기
임시 및 고정 IP 주소
내부 및 외부 IP 주소는 임시 또는 고정일 수 있습니다.
임시 IP 주소는 리소스 수명을 지나서 지속되지 않는 IP 주소입니다. 일반적으로 임시 IP 주소는 연결된 리소스를 중지하거나 삭제할 때 해제됩니다.
IP 주소는 다음과 같은 방법으로 인스턴스 및 전달 규칙과 같은 리소스에 할당될 수 있습니다.
IP 주소를 지정하지 않으면 Google Cloud 가 임시 IP 주소를 자동으로 할당합니다.
예약된 고정 IP 주소를 사용하여 IP 주소를 지정할 수 있습니다.
VM 인스턴스의 경우 커스텀 임시 IP 주소를 사용하여 IP 주소를 지정할 수 있습니다. 이 방법은 외부 IPv4 주소 또는 전달 규칙의 IP 주소에는 지원되지 않습니다.
고정 IP 주소를 예약하면 사용자가 이를 명시적으로 해제할 때까지 프로젝트에 주소가 할당됩니다. 고정 주소는 서비스에 특정 IP 주소가 필요하고 다른 리소스가 해당 주소를 사용하지 못하게 해야 하는 경우에 유용합니다. 고정 주소는 한 Google Cloud 리소스에서 다른 리소스로 IP 주소를 이동해야 하는 경우에 유용합니다.
일부 서비스는 이전 정의에 대해 예외를 갖습니다.
HA VPN의 경우에는 고정 IPv4 주소를 수동으로 HA VPN 게이트웨이의 인터페이스에 할당할 수 없습니다. Cloud VPN에서는 개발자가 게이트웨이를 만들 때 리전별 외부 IPv4 주소 두 개를 만듭니다. 이러한 주소는 개발자가 삭제할 때까지 게이트웨이에 할당된 상태로 유지됩니다.
Cloud NAT의 경우 Cloud NAT에서 외부 IPv4 주소를 자동으로 할당하도록 구성하면 해당 주소가 고정으로 표시됩니다. 하지만 Cloud NAT를 삭제하거나 Cloud NAT 게이트웨이에서 수동 주소를 사용하도록 변경하면 주소가 삭제됩니다.
[[["이해하기 쉬움","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-09-10(UTC)"],[],[],null,["# IP addresses\n============\n\nResources such as VM instances and load balancers have IP addresses in\nGoogle Cloud. These IP addresses let Google Cloud resources\ncommunicate with other resources in Google Cloud, in on-premises networks,\nor on the public internet. This page describes the IP address categorization\nused by Google Cloud.\n\nGoogle Cloud uses the following labels to describe different IP address\ntypes. For example, an *internal* IP address is not publicly routed. An\n*external* IP address is a publicly routed IP address. You can assign an\nexternal IP address to the network interface of a Google Cloud VM.\n\nExternal IP address\n\n: External IP addresses are publicly advertised, meaning they are reachable by\n any host on the internet. External IP addresses must be [publicly routable IP\n addresses](https://wikipedia.org/wiki/IP_address#Public_address).\n Resources with external IP addresses can communicate with the public internet.\n\n External IPv4 addresses for resources can be provided by Google, or you can\n [bring your own IP (BYOIP)](/vpc/docs/bring-your-own-ip) addresses to Google Cloud.\n While BYOIP addresses are static external IPv4 addresses, and can be used with\n most resources that support static external IPv4 addresses, there are some\n [exceptions](/vpc/docs/using-bring-your-own-ip#support).\n\n External IPv6 addresses can be provided by Google, or you can BYOIP addresses\n to Google Cloud. IPv6 BYOIP addresses can only be used by forwarding\n rules for external passthrough Network Load Balancers or subnets that can only host VMs.\n For more information, see [IPv6 subnet ranges](/vpc/docs/subnets#ipv6-ranges).\n\n For a list of external IPv4 and IPv6 address ranges that can be provided by\n Google, see\n [Google Cloud external IP ranges](https://www.gstatic.com/ipranges/cloud.json).\n\nInternal IP address\n\n: Internal IP addresses cannot be reached from the internet and are not\n publicly routable.\n\n: Internal IP addresses are local to a VPC network, a\n VPC network connected by using VPC Network Peering, or an\n on-premises network connected to a VPC network by using\n Cloud VPN, Cloud Interconnect, or a Router appliance.\n Resources with internal IP addresses communicate with other resources as if\n they're all on the same private network.\n\n Internal IPv4 addresses can be private IPv4 addresses, or they can be privately\n used public IPv4 addresses. For a list of valid internal IPv4 addresses, see\n [Valid IPv4 ranges](/vpc/docs/subnets#valid-ranges).\n\n Internal IPv6 addresses are unique within Google Cloud. For more\n information, see [IPv6 subnet ranges](/vpc/docs/subnets#ipv6-ranges).\n\n For details about how internal IP addresses are advertised when you connect\n your VPC network to another network, see [Route advertisements\n and internal IP addresses](/vpc/docs/vpc#route-adverts-internal-ip).\n\nPrivate IP address\n\n: Private IP addresses are addresses that [cannot be routed on the\n internet](https://wikipedia.org/wiki/IP_address#Private_addresses).\n\n In Google Cloud, private IP addresses can only be used as internal IP\n addresses within a VPC network or an on-premises network\n connected to a VPC network.\n\n For a list of private IPv4 ranges, see the entries for\n **Private IP address ranges** in the [valid internal IPv4 address\n ranges](/vpc/docs/subnets#valid-ranges) table.\n\n [Unique local addresses\n (ULAs)](https://datatracker.ietf.org/doc/html/rfc4193)\n are private IPv6 addresses. ULAs are used for internal [IPv6 subnet\n ranges](/vpc/docs/subnets#ipv6-ranges).\n\nPublic IP address\n\n: Public IP addresses are internet routable. In Google Cloud,\n external IPv4 and IPv6 addresses are always public IP addresses.\n\n You can also use public IPv4 addresses as internal addresses when you\n configure the primary or secondary IPv4 address range of a subnet in your\n VPC network. These addresses are referred to as [privately\n used public IP addresses](/vpc/docs/subnets#valid-ranges).\n\nRegional and global IP addresses\n--------------------------------\n\nWhen you list or describe IP addresses in your project, Google Cloud\nlabels addresses as global or regional, which indicates how a particular address\nis being used. When you associate an address with a regional resource, such as\na VM, Google Cloud labels the address as regional. Regions are\nGoogle Cloud regions, such as `us-east4` or `europe-west2`.\n\nFor more information about global and regional resources, see [Global, regional,\nand zonal\nresources](/compute/docs/regions-zones/global-regional-zonal-resources) in the\nCompute Engine documentation.\n\n### Summary of IP address types\n\nThe following tables describes examples of different regional and global IP\naddresses.\n\n#### Internal IP addresses\n\nInternal IP addresses are always Premium Tier.\n\n#### External IP addresses\n\nSome External IP addresses can be Standard Tier as well as Premium Tier.\n\nEphemeral and static IP addresses\n---------------------------------\n\nInternal and external IP addresses can be ephemeral or static.\n\nAn ephemeral IP address is an IP address that doesn't persist beyond the life\nof the resource. In general, ephemeral IP addresses are released if you stop or\ndelete the associated resource.\n\nIP addresses can be assigned to resources, such as instances and forwarding\nrules, in the following ways:\n\n- If you don't specify an IP address, Google Cloud automatically assigns an ephemeral IP address.\n- You can specify an IP address by using a reserved static IP address.\n- For VM instances, you can specify an IP address by using a custom ephemeral IP address. This method isn't supported for external IPv4 addresses or for IP addresses of forwarding rules.\n\nReserving a static IP address assigns the address to your project until you\nexplicitly release it. This is useful if you are dependent on a specific IP\naddress for your service and need to prevent another resource from being able to\nuse the address. Static addresses are useful if you need to move an IP address\nfrom one Google Cloud resource to another.\n\nSome services have exceptions to the previous definitions:\n\n- For HA VPN, you cannot manually assign a static IPv4 address to the\n interface of an HA VPN gateway. Cloud VPN creates two\n regional external IPv4 addresses for you when you create the gateway, and those\n addresses remain assigned to the gateway until you delete it.\n\n- For Cloud NAT, when you configure Cloud NAT to automatically\n allocate external IPv4 addresses, those addresses appear as static;\n however, they are deleted if you delete the Cloud NAT gateway or\n if you change the Cloud NAT gateway to use manual addresses.\n\nWhat's next\n-----------\n\n- For more information about reserving static IP addresses, see [Reserve a\n static external IP\n address](/vpc/docs/reserve-static-external-ip-address) or [Reserve a static internal IP\n address](/vpc/docs/reserve-static-internal-ip-address)."]]