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

0 votes
Sep 26 in GCP by anonymous
• 30,540 points
28 views

1 answer to this question.

0 votes

If your instance does not have an access configuration, you can use the gcloud compute instance update-access-config command to add an access config with a PTR record.

gcloud compute instances add-access-config [INSTANCE_NAME]
    --public-ptr --public-ptr-domain [DOMAIN_NAME]

where:

  • [INSTANCE_NAME] is the name of the virtual machine instance.

  • [DOMAIN_NAME] is the domain name that you are adding to this instance as a PTR record.

answered Sep 26 by anonymous
• 3,630 points

Related Questions In GCP

0 votes
1 answer

How do i enable the OS Login of my existing Linux VM?

Set enable-oslogin in metadata of an existing instance: Go to ...READ MORE

answered Sep 26 in GCP by Sirajul
• 30,540 points
22 views
0 votes
1 answer

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

With gcloud compute, use the same instances create command that ...READ MORE

answered Sep 23 in GCP by Sirajul
• 30,540 points
18 views
0 votes
1 answer
+3 votes
11 answers

How do I delete my Google Cloud Platform Account?

How do I delete me cloud and ...READ MORE

answered Jan 18 in GCP by dodge123@yahoo.com
14,140 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 30,540 points
23 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 30,540 points
22 views