• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
HashiCorp Cloud Platform
  • Tutorials
  • Documentation
  • Try Cloud(opens in new tab)
  • Sign up
HashiCorp Cloud Platform Home

Documentation

Skip to main content
  • Documentation
    • What is HCP?
    • HCP Account
      • Overview
        • Create and Manage HVN
        • Peering Connections
        • Routes
        • Security Groups
  • Glossary
  • Changelog

  • Resources

  • Tutorial Library
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  1. Developer
  2. HashiCorp Cloud Platform
  3. Documentation
  4. HashiCorp Cloud Platform
  5. HashiCorp Virtual Network
  6. HVN for Azure
  7. Create and Manage HVN

ยปCreate and Manage an HVN

You can create and manage a HashiCorp Virtual Network (HVN) for Microsoft Azure. Use an HVN to delegate an IPv4 CIDR range to HCP. The platform uses this CIDR range to automatically create a virtual network (VNet).

Specification

  • You can create one HVN for each available cloud region.
  • Resources added to an HVN appear in the HVN's cloud region. Deploying a cluster into an HVN created in the westus2 region, for example, adds the cluster to the westus2 region.
  • All HCP resources must be located in one HVN. A single product deployment cannot span two different HVNs.
  • You cannot move product deployments from one HVN to another.
  • You cannot change HVNs after you deploy them.

Create an HVN

  1. Sign in to the HCP Portal and select your organization.
  2. From the sidebar, click HashiCorp Virtual Network.
  3. Click Create network.
  4. Name your virtual network.
  5. Select Microsoft Azure as your provider.
  6. Select a region from the dropdown menu. One HVN can be created in each available cloud region. Resources added to the HVN later are added in the same region.
  7. Optionally, specify a CIDR block. To learn more, click Show recommendations.
  8. Click Create network.

Tutorial: For additional guidance on how to create an HVN, complete the HashiCorp Virtual Network tutorials.

Connect an HVN to Microsoft Azure

To connect your Hashicorp Virtual Network to your Azure infrastructure, you must first create a peering connection. Then, specify traffic routes so that clusters can communicate with client resources. Individual configuration instructions are available:

  • Peering Connections
  • Routes
  • Network Security Groups

Manage an HVN

You cannot modify HVNs after you deploy them, but some management features are available.

Import to Terraform

To import and manage your HVN in Terraform, complete the following steps:

  1. Sign in to the HCP Portal and select your organization.
  2. From the sidebar, click HashiCorp Virtual Network.
  3. Click on an HVN in the ID column.
  4. From the Manage menu, copy the provided terraform import command.
  5. Open your terminal and run the command.

Delete an HVN

  1. Sign in to the HCP Portal and select your organization.
  2. From the sidebar, click HashiCorp Virtual Network.
  3. Click on an HVN in the ID column.
  4. From the Manage menu, click Delete.
  5. When prompted, select Confirm.

On this page

  1. Create and Manage an HVN
  2. Specification
  3. Create an HVN
  4. Connect an HVN to Microsoft Azure
  5. Manage an HVN
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)