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
1,461 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
• 59,230 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
• 59,230 points
2,774 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
• 19,610 points
1,366 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
• 59,230 points
7,040 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
• 59,230 points
1,857 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
• 59,230 points
4,019 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
• 59,230 points
2,070 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
• 59,230 points
1,285 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP