Create an HCP Virtual Network
A HashiCorp Virtual Network (HVN) is a logical representation of a subnet in AWS that defines a IPv4 CIDR block. The platform uses this CIDR range to automatically create a virtual private cloud (VPC).
Create a HVN for AWS
Sign in to the HCP Portal and select your organization and project.
From the left navigation menu, click HashiCorp Virtual Network.
Click Create network.
Name your virtual network.
Select Amazon Web Services as your provider.
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.
(Optional) Specify a CIDR block. Click Show recommendations for more information.
Recommended practice for HCP administrators
Use a unique CIDR block for each HVN and ensure HVN CIDR blocks do not overlap with subnets in your AWS account.
Click Create network.
Refer to the HVN for AWS documentation for more information.
Create a HVN for Azure
Sign in to the HCP Portal and select your organization.
From the left navigation menu, click HashiCorp Virtual Network.
Click Create network.
Name your virtual network.
Select Microsoft Azure as your provider.
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.
(Optional) Specify a CIDR block. Click Show recommendations for more information.
Recommended practice for HCP administrators
Use a unique CIDR block for each HVN and ensure HVN CIDR blocks do not overlap with VNets in your Azure account.
Click Create network.
Refer to the HVN for Azure documentation for more information.