Configure vSAN encryption for CloudSimple Private Cloud
You can configure the vSAN software encryption feature so your CloudSimple Private Cloud can work with a key management server running in your Azure virtual network.
VMware requires use of an external KMIP 1.1 compliant third-party key management server (KMS) tool when using vSAN encryption. You can leverage any supported KMS that is certified by VMware and is available for Azure.
This guide describes how to use HyTrust KeyControl KMS running in an Azure virtual network. A similar approach can be used for any other certified third-party KMS solution for vSAN.
This KMS solution requires you to:
- Install, configure, and manage a VMware certified third-party KMS tool in your Azure virtual network.
- Provide your own licenses for the KMS tool.
- Configure and manage vSAN encryption in your Private Cloud using the third-party KMS tool running in your Azure virtual network.
KMS deployment scenario
The KMS server cluster runs in your Azure virtual network and is IP reachable from the Private Cloud vCenter over the configured Azure ExpressRoute connection.
How to deploy the solution
The deployment process has the following steps:
- Verify that prerequisites are met
- CloudSimple portal: Obtain ExpressRoute Peering Information
- Azure portal: Connect your virtual network to the Private Cloud
- Azure portal: Deploy a HyTrust KeyControl Cluster in your virtual network
- HyTrust WebUI: Configure KMIP server
- vCenter UI: Configure vSAN encryption to use KMS cluster in your Azure virtual network
Verify prerequisites are met
Verify the following prior to deployment:
- The selected KMS vendor, tool, and version are on the vSAN compatibility list.
- The selected vendor supports a version of the tool to run in Azure.
- The Azure version of the KMS tool is KMIP 1.1 compliant.
- An Azure Resource Manager and a virtual network are already created.
- A CloudSimple Private Cloud is already created.
CloudSimple portal: Obtain ExpressRoute peering information
To continue the setup, you need the authorization key and peer circuit URI for ExpressRoute plus access to your Azure Subscription. This information is available on the Virtual Network Connection page in the CloudSimple portal. For instructions, see Set up a virtual network connection to the Private Cloud. If you have any trouble obtaining the information, open a support request.
Azure portal: Connect your virtual network to your Private Cloud
- Create a virtual network gateway for your virtual network by following the instructions in Configure a virtual network gateway for ExpressRoute using the Azure portal.
- Link your virtual network to the CloudSimple ExpressRoute circuit by following the instructions in Connect a virtual network to an ExpressRoute circuit using the portal.
- Use the CloudSimple ExpressRoute circuit information received in your welcome email from CloudSimple to link your virtual network to the CloudSimple ExpressRoute circuit in Azure.
- Enter the authorization key and peer circuit URI, give the connection a name, and click OK.
Azure portal: Deploy a HyTrust KeyControl cluster in the Azure Resource Manager in your virtual network
To deploy a HyTrust KeyControl cluster in the Azure Resource Manager in your virtual network, perform the following tasks. See the HyTrust documentation for details.
- Create an Azure network security group (nsg-hytrust) with specified inbound rules by following the instructions in the HyTrust documentation.
- Generate an SSH key pair in Azure.
- Deploy the initial KeyControl node from the image in Azure Marketplace. Use the public key of the key pair that was generated and select nsg-hytrust as the network security group for the KeyControl node.
- Convert the private IP address of KeyControl to a static IP address.
- SSH to the KeyControl VM using its public IP address and the private key of the previously mentioned key pair.
- When prompted in the SSH shell, select
No
to set the node as the initial KeyControl node. - Add additional KeyControl nodes by repeating steps 3-5 of this procedure and selecting
Yes
when prompted about adding to an existing cluster.
HyTrust WebUI: Configure the KMIP server
Go to https://public-ip, where public-ip is the public IP address of the KeyControl node VM. Follow these steps from the HyTrust documentation.
vCenter UI: Configure vSAN encryption to use KMS cluster in your Azure virtual network
Follow the HyTrust instructions to Create a KMS cluster in vCenter.
In vCenter, go to Cluster > Configure and select General option for vSAN. Enable encryption and select the KMS cluster that was previously added to vCenter.
References
Azure
Configure a virtual network gateway for ExpressRoute using the Azure portal
Connect a virtual network to an ExpressRoute circuit using the portal
HyTrust
HyTrust DataControl and Microsoft Azure