Google Cloud Digital LeaderInfrastructure modernization with Google CloudEasy
A software development company is building a new application that will be deployed as a set of microservices. Each microservice needs to communicate securely and efficiently with other microservices, and the company wants to isolate the application's network resources from other projects within their Google Cloud organization. What Google Cloud networking construct should they use to achieve this isolation and enable secure internal communication?
- ACloud Load Balancing
- BVirtual Private Cloud (VPC)
- CShared VPC
- DCloud VPN
Show answer & explanationAnswer & explanation
Correct answer: B. Virtual Private Cloud (VPC)
A Virtual Private Cloud (VPC) network provides a logically isolated private network within Google Cloud. This allows microservices within the same VPC to communicate securely using internal IP addresses, and it isolates network resources from other projects, fulfilling the company's requirements.
Why the other options are wrong
- A. Cloud Load Balancing distributes traffic but does not provide network isolation or define the internal network structure.
- C. Shared VPC allows multiple projects to share a common VPC, but the core isolation and communication mechanism is the VPC itself.
- D. Cloud VPN connects on-premises networks to Google Cloud VPCs, not for internal microservice communication within Google Cloud.
Virtual Private Cloud (VPC)
A global private network in Google Cloud that provides networking functionality for your Google Cloud resources.
- Logically isolated network.
- Enables secure internal communication using private IP addresses.
- Configurable with subnets, firewall rules, and routes.
Memory trick: VPC: Your Private Cloud network.