How do I create a preemptible virtual machine (VM) instance?

0 votes

I want to create a preemptible instance of a virtual machine due to some budget restrictions. I have installed the command-line tool for the Google Cloud Platform called gcloud.

How can I create a preemptible instance of a virtual machine using gloud?

Sep 23 in GCP by Sam
• 4,330 points
73 views

1 answer to this question.

0 votes

With gcloud compute, use the same instances create command that you would use to create a normal instance, but add the --preemptible flag.

gcloud compute instances create [INSTANCE_NAME] --preemptible

where [INSTANCE_NAME] is the name of the instance.

answered Sep 23 by Sirajul
• 41,000 points

Related Questions In GCP

0 votes
1 answer

How do I create a Google Cloud Platform (GCP) account?

In order to access the services provided ...READ MORE

answered Sep 20 in GCP by Sirajul
• 41,000 points
89 views
0 votes
1 answer

How do I add the access config for my Linux VM instance?

If your instance does not have an ...READ MORE

answered Sep 26 in GCP by anonymous
• 6,670 points
49 views
0 votes
1 answer

Does Google cloud platform (GCP) offer IaaS ? Or just PaaS?

GCP provides IaaS as well, although it ...READ MORE

answered Sep 20 in GCP by Sirajul
• 41,000 points
190 views
0 votes
1 answer

How do I create a VPCN (Virtual private cloud network) on Google Cloud?

You can connect various GCP resources to each ...READ MORE

answered Sep 23 in GCP by Sirajul
• 41,000 points
50 views
0 votes
1 answer

Cloud SQL of google cloud is IaaS or PaaS?

Cloud SQL is PAAS (Plaform As A ...READ MORE

answered Sep 23 in GCP by Sirajul
• 41,000 points
70 views
0 votes
1 answer

What all services does Google Cloud provide as a part of machine learning?

Here's a list of  Machine learning services that ...READ MORE

answered Sep 23 in GCP by Sirajul
• 41,000 points
50 views
0 votes
1 answer

How do I create a Virtual Machine on GCP?

To create a VM instance: It is important you ...READ MORE

answered Sep 20 in GCP by Sirajul
• 41,000 points
58 views
0 votes
1 answer