I'm trying to create a virtual machine on Google Cloud using the following command:
gcloud compute instances create my-server-1 \
--zone=europe-west3-b \
--machine-type=n1-standard-16 \
--accelerator type=nvidia-tesla-t4-vws,count=1 \
--maintenance-policy="TERMINATE" \
--image-project=windows-cloud \
--image-family=windows-2019 \
--boot-disk-size=200 \
--network=default
However, I'm getting the following error:
ERROR: (gcloud.compute.instances.create) Could not fetch resource:
- Windows VM instances are not included with the free trial. To use them, first enable billing on your account. You'll still be able to apply your free trial credits to eligible products and services.
I've verified that billing is enabled for my project, and I've checked the billing account with the following commands:
myaccount@cloudshell:~ (myproject)$ gcloud beta billing projects describe myproject
billingAccountName: billingAccounts/0X0X0X-0X0X0X-0X0X0X
billingEnabled: true
name: projects/myproject/billingInfo
projectId: myproject
myaccount@cloudshell:~ (myproject)$ gcloud beta billing accounts describe 0X0X0X-0X0X0X-0X0X0X
displayName: My Billing Account
masterBillingAccount: ''
name: billingAccounts/0X0X0X-0X0X0X-0X0X0X
open: true
Both commands show that billing is enabled. I also have a valid payment method associated with my Google Cloud account.
Can anyone help me understand why I'm still getting this error? Is there something else I need to do to create a Windows virtual machine on Google Cloud?