Hi, I'd appreciate help if anyone knows what I'm doing wrong. Essentially:
I feel like creating a VM with a static IP should be simple, but I'm at a loss.
You might be trying in you organization project and not personal Google project.
Organization policy are at organization level which will affect all project inside organization and not only single project.
It might be security issue if you try to change organization policy if it's created at org level.
One option here would be you can try reserving internal ip from your subnet and attach to VM.
Hi,
As VishalBulbule said, it can be done via reserving IP. Regarding org policies, if you are dealing with account ( to which org policies are assigned) you will be able to see for example this:
But if you don't have mentioned policies, your view should looks similar to this one:
Regarding reservation for IP.
Go to your project -> VPC -> Choose VPC, under where you want this IP -> Static Internal IP Address tab -> Reserver static Address
Then go to Compute and during VM creation choose Network interfaces -> Edit network settings -> Primary internal IP -> choose your previously created
You can also go to VPC -> IP addresses and choose internal or external IP addresses ( depends which IP you need in this case). If you will not be able to create none of them, well, you org admin / network admin should either create IP for you , or grant exception for your project.
best,
DamianS