QuestionQ26

VerifiedConfiguring access

The team wants to ensure that Compute Engine instances running in the production project do not have public IP addresses. The frontend application Compute Engine instances will need public IPs. Product engineers have the Editor role to modify resources. The team wants to enforce this requirement.

How should the team satisfy these requirements?

Explanation

The compute.vmExternalIpAccess Organization Policy constraint restricts external IP addresses to an allowlist of specific Compute Engine instances. Configuring that policy to allow only the frontend instances prevents all other production instances from receiving public IPs, regardless of the engineers' Editor permissions.

Learn more

Community Discussion

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