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, 2019 in GCP by Sam
• 6,260 points
290 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, 2019 by Sirajul
• 58,020 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, 2019 in GCP by Sirajul
• 58,020 points
984 views
0 votes
1 answer
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, 2019 in GCP by anonymous
• 17,070 points
136 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 58,020 points
1,609 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, 2019 in GCP by Sirajul
• 58,020 points
311 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, 2019 in GCP by Sirajul
• 58,020 points
709 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, 2019 in GCP by Sirajul
• 58,020 points
198 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, 2019 in GCP by Sirajul
• 58,020 points
256 views
0 votes
1 answer