Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Unable to deploy PyTorch VM instance

Hi, I am trying to deploy PyTorch VM instance, after filling in the information, as per the online documentation in Google Cloud, I am running into errors, I am not sure what is causing it.

 

Screenshot 2024-04-25 at 1.22.38 PM.png

Solved Solved
1 7 466
2 ACCEPTED SOLUTIONS

@digs1998 

You are trying to deploy this Pytorch VM under the project, which has organization policy constraint preventing External IP for VMs. It means, that VMs under your project or most probably under entire organization are not allowed to get assigned External IP. 

DamianS_0-1714230188286.png

If you have Organization Policy permissions, add your project as an exception , by adding tag to project and into constraint, or disable vmExternalIpAccess organization policy.

DamianS_1-1714230371284.png

 


--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost

View solution in original post

Or you during deployment set ExternalIP to none

DamianS_2-1714230490913.png

But then you must configure either Cloud NAT ( for access to the Internet ) and IAP for being able to log in via ssh 
https://cloud.google.com/nat/docs/gce-example

 

View solution in original post

7 REPLIES 7