Score:0

Error creating Windows virtual machine on Google Cloud: Not included with the free trial

ar flag

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?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.