Note:
- This tutorial requires access to Oracle Cloud. To sign up for a free account, see Get started with Oracle Cloud Infrastructure Free Tier.
- It uses example values for Oracle Cloud Infrastructure credentials, tenancy, and compartments. When completing your lab, substitute these values with ones specific to your cloud environment.
Encrypt virtual machines using Entrust KeyControl and VMware vSphere® with Oracle Cloud VMware Solution
Introduction
This tutorial provides an operational overview of how to use the Entrust KeyControl 5.4 Solution with the Oracle Cloud VMware Solution software defined data center (SDDC) cluster. The focus of this tutorial is to provide the available options and highlight the ‘how-to’ steps required for using the Entrust KeyControl with Oracle Cloud VMware Solution.
Oracle and VMware have developed a fully certified and supported SDDC solution called Oracle Cloud VMware Solution. This solution uses Oracle Cloud Infrastructure (OCI) to host a highly available VMware SDDC. It also allows seamless migration of on-premises VMware SDDC workloads to Oracle Cloud Infrastructure.
Why VM encryption?
To fully unlock all the advantages of virtualization, it’s important to have a security posture in place that is uniquely designed to protect your virtualized environment. Encrypting VMs provides a high level of security you can count on to keep critical data safe.
Prerequisites
- Deploy an Entrust KeyControl v5.4 cluster
- Configure the Oracle Cloud VMware Solution SDDC with VMware vCenter Server® and ESXi Host(s) running VMware vSphere® 7.x or higher
- Set up a trusted connection between Entrust KeyControl and VMware vCenter Server
- Shut down the VM or VMs you want to encrypt
Objective
Encrypt virtual machines using Entrust KeyControl and VMware vSphere® encryption policies with Oracle Cloud VMware Solution
Task 1: Select the VM for encryption
-
Log in to the Oracle Cloud VMware Solution Virtual Center Appliance (VCSA).
-
Right click a VM and select VM Policies, and then click Edit VM Storage Policies.
Note:
- The VM storage policy drop-down list is displayed.
- Follow the relevant steps described in Task 2: Encrypt the entire VM or Encrypt specific VMware Virtual Machine Disk File (VMDK) depending on whether you want to encrypt the entire VM or encrypt specific VMDKs.
Task 2: Encrypt the entire VM or Encrypt specific VMDKs
Ensure that the VM is powered off and follow the relevant steps described in this section depending on whether you want to encrypt the entire VM or encrypt specific VMDKs.
Encrypt the entire VM
-
Select VM Encryption Policy from the VM storage policy drop-down list and click OK.
Note:
- During this phase VMware vCenter requests an encryption key from Entrust KeyControl and presents it to the ESX host where the VM is assigned. This key is referred to as the Key Encryption Key (KEK).
- The ESX host creates a Data Encryption Key (DEK) and protects it by wrapping the DEK with the KEK.
- Then the ESX host begins encrypting it.
Encrypt specific VMDKs
-
Enable the Configure per disk option. The color changes to green when per-VMDK selection is enabled.
-
Select VM Encryption Policy from the VM storage policy drop-down list for each VMDK you want to encrypt.
-
For VM home, select VM Encryption Policy from the VM storage policy drop-down list.
Note : You will NOT be able to move past this step if you do not select the same policy for VM home.
-
After you have selected the VM Encryption Policy for each VMDK and VM home, click OK.
Note:
- During this phase VMware vCenter requests an encryption key from KeyControl and presents it to the ESX host where the VM is assigned. This key is referred to as the Key Encryption Key (KEK).
- The ESX host creates a Data Encryption Key (DEK) and protects it by wrapping the DEK with the KEK.
- Then the ESX host begins encrypting it.
Next steps
Once the VM encryption is complete, the encryption status for the VM displays: Encrypted with standard key provider.
Related Links
- Oracle Cloud VMware Solution
- VMware vSphere Virtual Machine Storage Policies
- VMware vSphere Virtual Machine Encryption
- Entrust KeyControl
Acknowledgments
- Author - Eran Maor (Principal Cloud Solution Architect)
More Learning Resources
Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.
For product documentation, visit Oracle Help Center.
Encrypt virtual machines using Entrust KeyControl and VMware vSphere with Oracle Cloud VMware Solution
F58438-01
June 2022
Copyright © 2022, Oracle and/or its affiliates.