Skip to content
Home » Blog » How to enable internet access and public IP for GCVE VMs

How to enable internet access and public IP for GCVE VMs

enable internet access and public IP for GCVE VMs
Reading Time: 2 minutes

How to enable internet access and public IP for GCVE VMs

Are you ready to take your GCVE VMs (Google Cloud Virtual Environment) to the next level by enabling internet access and assigning a public IP?

In this comprehensive guide, we’ll walk you through the step-by-step process of enabling internet connectivity and setting up a public IP for your GCVE VMs.

Get ready to unlock the full potential of your virtual machines!


Before we dive into the steps, make sure you have the following:

  • A Google Cloud account with access to GCVE and appropriate permissions.
  • An existing GCVE VM that you want to enable internet access and assign a public IP to.

Step 1: Accessing the GCVE Console

  1. Log in to your Google Cloud account at
  2. Navigate to the GCVE console by selecting the appropriate project and navigating to the “GCVE” section.

Step 2: Enabling Internet Access

  1. Locate your target VM in the GCVE console.
  2. Click on the VM’s name to access its details.
  3. In the VM details page, navigate to the “Networking” section.
  4. Ensure that the “External IP” field is set to “None”.
  5. Click on the “Edit” button to modify the VM’s settings.
  6. In the “Network interfaces” section, select the desired network interface.
  7. Under “External IP”, choose “Ephemeral” or “Static” based on your requirements. If you choose “Static”, follow the instructions to reserve and assign a static IP.
  8. Save the changes.

Step 3: Configuring Firewall Rules

  1. In the VM details page, navigate to the “Firewall rules” section.
  2. Click on the “Add Firewall Rule” button.
  3. Provide a name for the rule and specify the necessary details, such as the source IP range, protocols, and ports.
  4. Save the rule to allow inbound and outbound traffic for your VM.

“Configuring firewall rules ensures secure and controlled access to your GCVE VMs.” –

Step 4: Testing Internet Connectivity

  1. Connect to your GCVE VM via SSH or any other preferred method.
  2. Open a web browser or use command-line tools to test internet connectivity. For example, you can try pinging a website or accessing external resources.

Step 5: Verifying Public IP Assignment

  1. Return to the GCVE console.
  2. Locate your VM and access its details.
  3. In the “Networking” section, verify that the “External IP” field now displays the assigned public IP.


Congratulations! You’ve successfully enabled internet access and assigned a public IP to your GCVE VMs. By following this step-by-step guide, you’ve unlocked the potential for seamless connectivity, allowing your virtual machines to interact with the broader internet.

Visit for more insightful tech guides and tutorials to enhance your virtual environment experience. Unlock the possibilities!

Note: The above article provides a general guide for enabling internet access and public IP assignment for GCVE VMs. Please refer to the official Google Cloud documentation for detailed and up-to-date instructions.

Subscribe to our mail list!

We don’t spam! Read our privacy policy for more info.