๋ค์ ๋ค์ด์ด๊ทธ๋จ์์๋ ๋น๊ณต๊ฐ Google ์ก์ธ์ค ๊ตฌํ์ ๋ณด์ฌ์ค๋๋ค.
๋น๊ณต๊ฐ Google ์ก์ธ์ค ๊ตฌํ(ํ๋ํ๋ ค๋ฉด ํด๋ฆญ)
VPC ๋คํธ์ํฌ๊ฐ Google API ๋ฐ ์๋น์ค์ DNS, ๋ผ์ฐํ , ๋ฐฉํ๋ฒฝ ๋คํธ์ํฌ ์๊ตฌ์ฌํญ์ ์ถฉ์กฑํ๋๋ก ๊ตฌ์ฑ๋์์ต๋๋ค. ๋น๊ณต๊ฐ Google ์ก์ธ์ค๋ subnet-a์ ์ฌ์ฉ ์ค์ ๋์์ง๋ง subnet-b์๋ ์ฌ์ฉ ์ค์ ๋์ง ์์์ต๋๋ค.
VM A1์๋ ๋น๊ณต๊ฐ Google ์ก์ธ์ค๊ฐ ์ฌ์ฉ ์ค์ ๋ subnet-a์ ๋คํธ์ํฌ ์ธํฐํ์ด์ค๊ฐ ์์ผ๋ฏ๋ก Cloud Storage๋ฅผ ๋น๋กฏํ Google API์ ์๋น์ค์ ์ก์ธ์คํ ์ ์์ต๋๋ค. ์ธ์คํด์ค์ ๋ด๋ถ IP ์ฃผ์๋ง ์์ผ๋ฏ๋ก ๋น๊ณต๊ฐ Google ์ก์ธ์ค๊ฐ ์ธ์คํด์ค์ ์ ์ฉ๋ฉ๋๋ค.
VM B1์๋ ๋ด๋ถ IP ์ฃผ์๋ง ์๊ณ ๋น๊ณต๊ฐ Google ์ก์ธ์ค๊ฐ subnet-b์ ๋ํด ์ฌ์ฉ ์ค์ง๋์ด ์์ผ๋ฏ๋ก Google API ๋ฐ ์๋น์ค์ ์ก์ธ์คํ ์ ์์ต๋๋ค.
VM A2 ๋ฐ VM B2 ๋ชจ๋์๋ ์ธ๋ถ IP ์ฃผ์๊ฐ ์์ผ๋ฏ๋ก Cloud Storage๋ฅผ ํฌํจํ Google API์ ์๋น์ค์ ์ก์ธ์คํ ์ ์์ต๋๋ค.
์ด๋ฌํ ์ธ์คํด์ค ๋ชจ๋์๋ ์ธ๋ถ IP ์ฃผ์๊ฐ ์์ผ๋ฏ๋ก ๋น๊ณต๊ฐ Google ์ก์ธ์ค์ ๋ฐ๋ผ ์ธ์คํด์ค์์ Google API์ ์๋น์ค์ ์ก์ธ์คํ ์ ์๋์ง ์ฌ๋ถ๊ฐ ๋ฌ๋ผ์ง์ง ์์ต๋๋ค.
[[["์ดํดํ๊ธฐ ์ฌ์","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-02(UTC)"],[],[],null,["# Private Google Access\n=====================\n\nVM instances that only have internal IP addresses (no external IP addresses) can\nuse Private Google Access. They can reach the external IP addresses of Google\nAPIs and services. The source IP address of the packet can be the primary\ninternal IP address of the network interface or an address in an alias IP range\nthat is assigned to the interface. If you disable Private Google Access, the\nVM instances can no longer reach Google APIs and services; they can only send\ntraffic within the VPC network.\n\nPrivate Google Access has no effect on instances that have external IP\naddresses. Instances with external IP addresses can access the internet,\naccording to the [internet access\nrequirements](/vpc/docs/vpc#internet_access_reqs). They don't need any special\nconfiguration to send requests to the external IP addresses of Google APIs and\nservices.\n\nYou enable Private Google Access on a subnet by subnet basis; it's a setting\nfor subnets in a VPC network. To enable a subnet for\nPrivate Google Access and to view the requirements, see [Configure\nPrivate Google Access](/vpc/docs/configure-private-google-access).\n\nSupported services\n------------------\n\nPrivate Google Access lets you access [Google APIs and\nservices](/vpc/docs/configure-private-google-access#domain-options)\nthat are hosted in Google's production infrastructure.\n\nOther Google services are hosted in VPC networks and can be\naccessed by using the following methods:\n\n- To connect to services that are published using the\n [Service Networking API](/service-infrastructure/docs/service-networking/reference/rest),\n see [private services access](/vpc/docs/private-services-access).\n\n- To connect to services that are published using\n [Private Service Connect](/vpc/docs/configure-private-service-connect-producer), see [Access managed services](/vpc/docs/configure-private-service-connect-services).\n\nExample\n-------\n\nThe following diagram shows an implementation of Private Google Access.\n[](/static/vpc/images/private-google-access.svg) Implementation of Private Google Access (click to enlarge).\n\nThe VPC network has been configured to meet the [DNS, routing,\nand firewall network requirements](/vpc/docs/configure-private-google-access#config)\nfor Google APIs and services. Private Google Access has been enabled on\n`subnet-a`, but not on `subnet-b`.\n\n- `VM A1` can access Google APIs and services, including Cloud Storage,\n because its network interface is located in `subnet-a`, which has\n Private Google Access enabled. Private Google Access applies to the instance\n because it only has an internal IP address.\n\n- `VM B1` **cannot** access Google APIs and services because it only has an\n internal IP address and Private Google Access is disabled for `subnet-b`.\n\n- `VM A2` and `VM B2` can both access Google APIs and services, including\n Cloud Storage, because they each have external IP addresses.\n Private Google Access has no effect on whether or not these instances can\n access Google APIs and services because both have external IP addresses.\n\nWhat's next\n-----------\n\n- To configure Private Google Access, see [Configure\n Private Google Access](/vpc/docs/configure-private-google-access)."]]