QuestionQ108

VerifiedEnsuring the successful operation of a cloud solution

You have a VM instance running in a VPC with single-stack subnets. You need to ensure that the VM instance has a fixed IP address so that other services hosted in the same VPC can communicate with the VM. You want to follow Google-recommended practices while minimizing cost. What should you do?

Explanation

For communication within the same VPC, a static internal IP address is sufficient and cost-effective. External IP addresses incur charges and are unnecessary for internal VPC communication. Promoting the existing internal IP to static maintains the fixed address requirement while following cost-minimization best practices.

Community Discussion

No comments yet. Be the first to start the discussion!