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

0 votes
Sep 26 in GCP by anonymous
• 41,000 points
50 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
• 6,670 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
• 41,000 points
64 views
0 votes
1 answer

How do I ensure that all the VM instances created in my organisation are shielded VM's?

You can set the constraints/compute.requireShieldedVm organization policy constraint to True to require ...READ MORE

answered Oct 22 in GCP by Sirajul
• 41,000 points
31 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
• 41,000 points
74 views
0 votes
1 answer
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
• 41,000 points
65 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
• 41,000 points
81 views
0 votes
1 answer

How do I check if the GPU driver is properly installed?

After completing the driver installation steps, verify ...READ MORE

answered Nov 7 in GCP by anonymous
• 6,670 points
31 views