Link to home
Start Free TrialLog in
Avatar of Jay Thomas
Jay ThomasFlag for United Kingdom of Great Britain and Northern Ireland

asked on

HI, how can i prevent public IP addresses from being assigned to Azure VMs? Is there a policy available. Can't see one?

How to prevent public IP addresses from being assigned to Azure VMs. I know this can be controlled using various automation when deploying, but what if the user deploys through the GUI, how can I prevent the public IP address being assigned?
Thanks

JT
Avatar of Mahesh
Mahesh
Flag of India image

when you create VM, during networking you are presented with new public IP automatically with some name like "server1-ip"

you can select their none and VM will get created without public IP address

If you forgot to do that, later on from VM properties \ networking tab select network card from right and click on that and disassociate public IP from console and later on delete that public IP
Or you can export the build as a ARM template, customize it then is it instead
Avatar of Jay Thomas

ASKER

Thanks both. All that i understand. But is there a policy that i can apply to the subscription that will prevent the public IP address from being applied to a VM?
ASKER CERTIFIED SOLUTION
Avatar of Mahesh
Mahesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Brilliant - Thank you.