5 Deploying Oracle Key Vault on an Oracle Cloud Infrastructure VM Compute Instance
You can install Oracle Key Vault on an Oracle Cloud Infrastructure (OCI) VM compute instance from Oracle Cloud Marketplace.
- About Deploying Oracle Key Vault on an Oracle Cloud Infrastructure Compute Instance
Oracle Key Vault on Oracle Cloud Marketplace is the cloud-based version of Oracle Key Vault and provides flexible, continuous and scalable key management. - Benefits of Using Oracle Key Vault in Oracle Cloud Infrastructure
Quick deployments and ease of use are among the benefits of using an Oracle Key Vault Oracle Cloud Infrastructure (OCI) compute instance. - Provisioning an Oracle Key Vault Compute Instance
The provisioning process for an Oracle Key Vault compute instance entails launching the compute instance and performing post-launch and post-installation tasks. - General Management of an Oracle Key Vault Compute Instance
You can perform many of the Oracle Key Vault compute instance general management tasks in the Oracle Key Vault management console. - Migrating Oracle Key Vault Deployments Between On-Premises and OCI
You can migrate an Oracle Key Vault standalone, primary-standby or cluster deployment from an on-premises environment to OCI or back. - Creating Oracle Key Vault Image in Microsoft Azure
Oracle Key Vault provides deployment and provisioning in Azure. - Creating Oracle Key Vault Image in Amazon AWS
Oracle Key Vault provides deployment and provisioning in AWS. - Creating Oracle Key Vault Image in Google Cloud
Oracle Key Vault provides deployment and provisioning in Google Cloud.
5.1 About Deploying Oracle Key Vault on an Oracle Cloud Infrastructure Compute Instance
Oracle Key Vault on Oracle Cloud Marketplace is the cloud-based version of Oracle Key Vault and provides flexible, continuous and scalable key management.
Oracle Key Vault is quick and easy to launch on a VM compute instance of any shape or size in your OCI tenancy. This eliminates the need to procure hardware and drastically shortens the time to provision a fully functional Oracle Key Vault deployment. Oracle Key Vault deployed on an OCI VM compute instance (referred to as an Oracle Key Vault compute instance) is private to your tenancy and is managed by you. After the launch, an Oracle Key Vault compute instance has the same look and feel as an on-premises Oracle Key Vault installation, with the same flexibility in configuration.
An Oracle Key Vault server that is deployed on Oracle Cloud Infrastructure (OCI) VM compute instance can operate in the following situations:
- A standalone environment
- Be paired with other nodes in OCI or on-premises to form a multi-master cluster
The Oracle Key Vault multi-master cluster nodes could be entirely in OCI forming a cloud-only Oracle Key Vault cluster or some of the nodes can exist on-premises, thus forming a hybrid Oracle Key Vault cluster. This flexible deployment provides scalability regardless of whether Oracle Key Vault nodes are deployed in on-premises or cloud environments.
The Oracle Key Vault compute instance deployment enables the use of Oracle Key Vault to manage the encryption keys of your OCI-based database deployments. This enables you to maintain control over your encryption keys in a cloud environment. You can have up to 16 Oracle Key Vault compute instances in a multi-master cluster, distributed across any of the Oracle Cloud regions, to provide key management services to your globally distributed, on-premises, hybrid, or cloud-only Oracle database deployments.
When you enroll endpoints with the Oracle Key Vault compute instance, you must ensure that they are in the same VCN as the Oracle Key Vault compute instance itself. The endpoints will communicate with the Oracle Key Vault compute instance using the private IP of the instance. You can optionally configure the Oracle Key Vault compute instance to have a public IP address that can be used to access the Oracle Key Vault management console.
You can configure Oracle Key Vault to allow endpoints to use this public IP address to communicate with it, by configuring the public IP as an alternate hostname. The Oracle Key Vault instance can also be configured with a fully-qualified domain name (FQDN) as an alternate hostname. Each Oracle Key Vault instance can have up to two alternate hostnames, and endpoints can communicate with the instance using one of them. You must choose which of the two should be used for endpoint communications. You must configure the network to ensure that connectivity exists between Oracle Key Vault compute instances, as well as between endpoints and the Oracle Key Vault compute instances.
5.2 Benefits of Using Oracle Key Vault in Oracle Cloud Infrastructure
Quick deployments and ease of use are among the benefits of using an Oracle Key Vault Oracle Cloud Infrastructure (OCI) compute instance.
-
Key management for OCI-based database environment: The Oracle Key Vault compute instance deployment provides key management to your OCI-based database environments (ExaDB-D) as well as on-premises and hybrid database environments, including ExaDB-C@C and ADB-C@C). This enables you to own, manage, and maintain control over encryption keys of your database environments in the cloud.
-
Quick deployment: You can launch the Oracle Key Vault compute instance within minutes, see Launch Oracle Key Vault Compute Instance and without the need to manage hardware or set up virtual machines. After it is launched, the Oracle Key Vault compute instance can run stand-alone or be added to a multi-master cluster. You can enroll endpoints with an Oracle Key Vault compute instance. This way, you can quickly set up a production environment. You can also use Oracle Key Vault compute instances to quickly set up a test and development environment to validate and experiment with various use-cases and deployment scenarios of Oracle Key Vault.
-
Scaling out a production environment during peak load or hardware unavailability: If you use FastConnect or IPSec VPN in OCI, then you can extend the Oracle Key Vault cloud deployments to an on-premises environment. Using FastConnect or IPSec VPN, you can pair Oracle Key Vault nodes on-premises with Oracle Key Vault compute instances in OCI to form a hybrid cluster. You can use a hybrid cluster to run production Oracle Key Vault servers in OCI, or use them to expand the Oracle Key Vault cluster temporarily. Oracle Key Vault compute instances can be added quickly as new nodes to an on-premises, OCI or hybrid Oracle Key Vault cluster. This type of deployment provides spontaneous elasticity to the Oracle Key Vault cluster, and can be used to address any temporary increase of load on nodes of the Oracle Key Vault cluster.
-
Reduced latency for hybrid database environments: For use cases where the data is shared between on-premises and cloud databases, managing the keys in a hybrid Oracle Key Vault cluster provides for locality of reference. Because the keys are available on all nodes of the cluster, the cluster subgroups can be setup in such a way that the databases in the cloud can primarily fetch the keys from the cluster nodes in OCI and the on-premises databases can primarily fetch the keys from cluster nodes that are provisioned on-premises.
-
Simplified transition of on-premises to OCI-based Oracle Key Vault clusters: If you are connected to OCI using FastConnect or IPSec VPN, then you can extend your on-premises Oracle Key Vault cluster by adding Oracle Key Vault compute instances to that cluster. The IP addresses of the Oracle Key Vault nodes in OCI are added to the scan lists of your database endpoints. Once you have the appropriate number of Oracle Key Vault nodes in your OCI tenancy, you can remove the on-premises Oracle Key Vault nodes from the cluster. Following the same procedure, it is possible to seamlessly transition from an Oracle Key Vault cluster in OCI back to an on-premises Oracle Key Vault cluster.
-
Engaging OCI infrastructure and services: You can take advantage of the unique benefits of the Oracle Cloud Infrastructure. If you install multiple Oracle Key Vault compute instances in the same region, you can choose to deploy them in different availability domains (fault domains are selected automatically, but can be changed) to guarantee the highest possible availability of your key management service. Services such as DNS and NTP are also natively available in OCI. You do not have to set them up, thereby simplifying Oracle Key Vault provisioning.
5.3 Provisioning an Oracle Key Vault Compute Instance
The provisioning process for an Oracle Key Vault compute instance entails launching the compute instance and performing post-launch and post-installation tasks.
- About Provisioning an Oracle Key Vault Compute Instance
To provision the Oracle Key Vault compute instance, you choose an Oracle Key Vault image as your custom image. - Launching the Oracle Key Vault Compute Instance
The launching process for the Oracle Key Vault compute instance should take roughly two to five minutes.
5.3.1 About Provisioning an Oracle Key Vault Compute Instance
To provision the Oracle Key Vault compute instance, you choose an Oracle Key Vault image as your custom image.
You will launch this image from the OCI Marketplace on a compute shape. After you complete the process, the Oracle Key Vault compute image becomes unique to your environment. The disk size of this image is 4 TB.
After you complete the launch, you can begin to use the Oracle Key Vault compute image immediately. The steps that you must perform after the launch are similar to the steps that you would perform for an on-premises Oracle Key Vault installation.
Parent topic: Provisioning an Oracle Key Vault Compute Instance
5.3.2 Launching the Oracle Key Vault Compute Instance
The launching process for the Oracle Key Vault compute instance should take roughly two to five minutes.
- About Launching the Oracle Key Vault Compute Instance
The launch process requires some minor preparation work on your system. - Step 1: Ensure That You Have Prerequisites in Place
Before you can launch an Oracle Key Vault compute instance, you must ensure that you have prerequisites in place in the Oracle cloud. - Step 2: Find the Oracle Key Vault Image
The Oracle Key Vault image is available on the Oracle Cloud Marketplace web site. - Step 3: Launch the Oracle Key Vault VM Compute Instance
You should perform the entire launching process in the Oracle Cloud Marketplace. - Step 4: Perform Post-Launch and Post-Installation Tasks
After you launch Oracle Key Vault in an OCI compute instance, you first perform the post-launch task, followed by post-installation tasks.
Parent topic: Provisioning an Oracle Key Vault Compute Instance
5.3.2.1 About Launching the Oracle Key Vault Compute Instance
The launch process requires some minor preparation work on your system.
Before you begin the launch process, ensure that the endpoints that you plan to use are in the same VCN as the Oracle Key Vault instance will be. The endpoints will communicate with Oracle Key Vault using the private IP of the compute instance. Optionally, the Oracle Key Vault compute instance can have a public IP that can be used to access the Oracle Key Vault management console. You can also optionally configure Oracle Key Vault to allow endpoints to use this public IP address (or an associated fully-qualified domain name) to communicate with it. You will also set up the network and configure it to ensure that network connectivity will exist between the endpoints and the OCI compute instances.
Parent topic: Launching the Oracle Key Vault Compute Instance
5.3.2.2 Step 1: Ensure That You Have Prerequisites in Place
Before you can launch an Oracle Key Vault compute instance, you must ensure that you have prerequisites in place in the Oracle cloud.
- You have an Oracle cloud account.
- You have access to your assigned Oracle cloud tenant.
- You have enough Service Limits and Quotas to create new compute resources within Oracle cloud tenant.
Parent topic: Launching the Oracle Key Vault Compute Instance
5.3.2.3 Step 2: Find the Oracle Key Vault Image
The Oracle Key Vault image is available on the Oracle Cloud Marketplace web site.
Related Topics
Parent topic: Launching the Oracle Key Vault Compute Instance
5.3.2.4 Step 3: Launch the Oracle Key Vault VM Compute Instance
You should perform the entire launching process in the Oracle Cloud Marketplace.
5.3.2.5 Step 4: Perform Post-Launch and Post-Installation Tasks
After you launch Oracle Key Vault in an OCI compute instance, you first perform the post-launch task, followed by post-installation tasks.
root
and support users. After you set these passwords, you must perform the post-installation tasks, which are the same tasks that are required for an on-premises deployment. After you complete the post-installation tasks, you can start building your Oracle Key Vault cluster or leave Oracle Key Vault in stand-alone mode.
- Set the passwords for the
root
andsupport
users. - Perform the following post-installation tasks. For more information, see Performing Post-Installation Tasks
.
-
Create the Oracle Key Vault administrator accounts and set the recovery passphrase.
- Enter the NTP and DNS addresses, using one of the following
choices:
- Use the NTP server address as
169.254.169.254
in Oracle Cloud Infrastructure. Leave the remaining NTP fields empty.
For the DNS settings, consult with your network team because there are multiple options depending how DNS is configured in your subnet and tenancy.
- Use the NTP server address as
-
Related Topics
Parent topic: Launching the Oracle Key Vault Compute Instance
5.4 General Management of an Oracle Key Vault Compute Instance
You can perform many of the Oracle Key Vault compute instance general management tasks in the Oracle Key Vault management console.
- Starting, Restarting, or Stopping an Oracle Key Vault Compute Instance
Depending on the action you need, you can use the Oracle Key Vault management console or the OCI console. - System Settings in an Oracle Key Vault Compute Instance
Most system settings in an Oracle Key Vault compute instance are the same as an on-premises deployment, with a few exceptions. - Backup and Restore Operations for Oracle Key Vault Compute Instances
You can back up and restore Oracle Key Vault data between OCI environments and on-premises environments. - Terminating an Oracle Key Vault Compute Instance
You terminate an Oracle Key Vault compute instance from the OCI console.
5.4.1 Starting, Restarting, or Stopping an Oracle Key Vault Compute Instance
Depending on the action you need, you can use the Oracle Key Vault management console or the OCI console.
- From the Oracle Key Vault management console, you can restart or stop the Oracle Key Vault compute instance:
- Log into the Oracle Key Vault management console as a user with the System Administrator role.
- Select System, then Status from the left navigation bar.
- In the Status page, do one of the following:
- To restart, click Reboot.
- To stop, click Power Off.
Note:
After powering off the Oracle Key Vault from management console, you need to stop the instance from OCI console too as the status on OCI console remain in running state.
- From the OCI console, you can start, restart, or stop the Oracle Key Vault compute instance:
- Open the navigation menu. Under Core Infrastructure, go to Compute and click Instances.
- Select the Oracle Key Vault compute instance that you want to stop or start.
- Click one of the following actions:
- To start a stopped instance, click Start.
- To gracefully shut down the instance by sending a shutdown command to the operating system, click Stop.
If the Oracle Key Vault compute instance takes a long time to shut down, it could be improperly stopped, resulting in data corruption. To avoid this, shut down the instance using the commands available in the operating system before you stop the instance using the console.
- To gracefully restart the Oracle Key Vault compute instance by sending a shutdown command to the operating system, and then power the instance back on, click Reboot.
5.4.2 System Settings in an Oracle Key Vault Compute Instance
Most system settings in an Oracle Key Vault compute instance are the same as an on-premises deployment, with a few exceptions.
Settings for system features such as auditing, email, RESTful services, integration Oracle Key Vault with Oracle Audit Vault is the same in both on-premises and OCI deployments.
- You can configure an Oracle Key Vault host name in either the OCI console or in the Oracle Key Vault management console. However, remember that if you set the IP address of the host in the OCI console, later on, you cannot change it in either the OCI console or the Oracle Key Vault management console.
- The SSH tunnel (deprecated) settings are used when on-premises Oracle Key Vault clusters provide key management services to Oracle databases that are deployed in OCI. Do not establish an SSH tunnel in OCI-based Oracle Key Vault deployments.
5.4.3 Backup and Restore Operations for Oracle Key Vault Compute Instances
You can back up and restore Oracle Key Vault data between OCI environments and on-premises environments.
You can back up an Oracle Key Vault compute instance that is stored in an on-premises host: this is the same backup that will be restored. Another on-premises Oracle Key Vault server can be a backup location for a server that is being restored into an Oracle Key Vault compute instance.
Requirements are as follows:
- If you are performing a backup or restore operation from Oracle Key Vault compute instances to an OCI compute instance, then persistent network connectivity to the OCI compute instance from Oracle Key Vault compute instance must exist.
- If you want to perform a backup or restore operation between an Oracle Key Vault compute instance and an on-premises host, ensure that the VCN can span the on-premises hosts.
5.4.4 Terminating an Oracle Key Vault Compute Instance
You terminate an Oracle Key Vault compute instance from the OCI console.
- Log in to the OCI console.
- Under Core Infrastructure, go to Compute, and then click Instances.
- Select the name of the Oracle Key Vault compute instance that you want to remove.
- Click Terminate, and then respond to the confirmation prompt.
5.5 Migrating Oracle Key Vault Deployments Between On-Premises and OCI
You can migrate an Oracle Key Vault standalone, primary-standby or cluster deployment from an on-premises environment to OCI or back.
- About Performing Migrations with Oracle Key Vault Compute Instance Data
You can transition an Oracle Key Vault deployment from on-premises to OCI, and from OCI back to on-premises. - Migrating Oracle Key Vault Deployments into OCI Using Backup and Restore
A user who has the System Administrator role can transition the Oracle Key Vault deployment from on-premises to OCI using backup and restore. - Migrating Oracle Key Vault Deployments Out of OCI Using Backup and Restore
A user who has the System Administrator role can transition the Oracle Key Vault deployment from OCI to on-premises.
5.5.1 About Performing Migrations with Oracle Key Vault Compute Instance Data
You can transition an Oracle Key Vault deployment from on-premises to OCI, and from OCI back to on-premises.
You can quickly set up a production Oracle Key Vault deployment in OCI to address your immediate key management needs and then transition to the on-premises deployment. Alternately, Oracle Key Vault compute instances require little to no overhead of hardware and VM management. To eliminate this overhead, you may want to transition your on-premises Oracle Key Vault deployment to OCI.
You can use the Oracle Key Vault backup and restore features to migrate an Oracle Key Vault cluster from on-premises to OCI, and back. You can transition an on-premises Oracle Key Vault cluster deployment to OCI by adding Oracle Key Vault compute instances to the cluster and removing on-premises Oracle Key Vault nodes from the cluster. The cluster is fully transitioned to OCI when no on-premises Oracle Key Vault node is left in the cluster. Similarly, you can also transition an Oracle Key Vault cluster in OCI to on-premises.
5.5.2 Migrating Oracle Key Vault Deployments into OCI Using Backup and Restore
A user who has the System Administrator role can transition the Oracle Key Vault deployment from on-premises to OCI using backup and restore.
- Log in to the on-premises Oracle Key Vault server as a user who has the System Administrator role.
- Configure an OCI compute instance as the backup destination.
- Back up the on-premises Oracle Key Vault server to an OCI compute instance.
- Launch an Oracle Key Vault compute instance with same Oracle Key Vault version as the on-premises Oracle Key Vault server.
- Log in to the Oracle Key Vault compute instance as a user who has the System Administrator role.
- Restore the backup from the OCI compute instance to the newly installed Oracle Key Vault compute instance.
- To set up an Oracle Key Vault multi-master cluster, convert the restored Oracle Key Vault compute instance as the first (initial) node of the cluster.
- Configure additional Oracle Key Vault compute instances and add them to the cluster as needed.
5.5.3 Migrating Oracle Key Vault Deployments Out of OCI Using Backup and Restore
A user who has the System Administrator role can transition the Oracle Key Vault deployment from OCI to on-premises.
- Log in to the Oracle Key Vault compute instance as a user who has the System Administrator role.
- Back up the Oracle Key Vault compute instance to an on-premises system.
- Install a new Oracle Key Vault server on-premises with same Oracle Key Vault version as the Oracle Key Vault compute instance.
- Log in to the on-premise Oracle Key Vault server as a user who has the System Administrator role.
- Restore the backup from the on-premises backup destination to the newly installed on-premises Oracle Key Vault server.
- To set up an Oracle Key Vault multi-master cluster, convert the restored on-premises Oracle Key Vault server as the first (initial) node of the cluster.
- Configure additional Oracle Key Vault compute instances and add them to the cluster as needed.
5.6 Creating Oracle Key Vault Image in Microsoft Azure
Oracle Key Vault provides deployment and provisioning in Azure.
- About Provisioning Oracle Key Vault in Microsoft Azure
You can provision Oracle Key Vault in Microsoft Azure. - Create an Oracle Key Vault Base Image for Microsoft Azure
You can create an Oracle Key Vault cluster in Microsoft Azure by first creating a Base Image, and then creating Oracle Key Vault cluster nodes from it. - Launching an Oracle Key Vault Cluster Node (Instance) from the Base Image
Perform the steps to launch an Oracle Key Vault instance.
5.6.1 About Provisioning Oracle Key Vault in Microsoft Azure
You can provision Oracle Key Vault in Microsoft Azure.
To provide familiar, continuously available, extremely scalable, and fault-tolerant key management for your Oracle databases in Azure (including ExaDB-D@Azure), you can install and create an Oracle Key Vault multi-master cluster in Microsoft Azure, or extend on-premises Oracle Key Vault deployments with Oracle Key Vault cluster nodes in Microsoft Azure. You can also move an on-premises Oracle Key Vault cluster to Microsoft Azure by removing the on-premises nodes from the cluster.
Parent topic: Creating Oracle Key Vault Image in Microsoft Azure
5.6.2 Create an Oracle Key Vault Base Image for Microsoft Azure
You can create an Oracle Key Vault cluster in Microsoft Azure by first creating a Base Image, and then creating Oracle Key Vault cluster nodes from it.
- Ensure that you have installed and configured Azure CLI.
- Ensure that you have setup a container under Storage Accounts to store the VM disk used for preparing the Oracle Key Vault image for Azure.
Parent topic: Creating Oracle Key Vault Image in Microsoft Azure
5.6.3 Launching an Oracle Key Vault Cluster Node (Instance) from the Base Image
Perform the steps to launch an Oracle Key Vault instance.
Parent topic: Creating Oracle Key Vault Image in Microsoft Azure
5.7 Creating Oracle Key Vault Image in Amazon AWS
Oracle Key Vault provides deployment and provisioning in AWS.
- About Provisioning Oracle Key Vault in Amazon AWS
You can provision Oracle Key Vault in Amazon AWS. - Creating Oracle Key Vault Image on AWS
Create a Base Image first to launch Oracle Key Vault cluster nodes (instances). - Launching an Oracle Key Vault Cluster Node (Instance) from the Base Image
Perform the steps to launch an Oracle Key Vault cluster node (instance).
5.7.1 About Provisioning Oracle Key Vault in Amazon AWS
You can provision Oracle Key Vault in Amazon AWS.
Oracle Key Vault deployments in your on-premises data centers can be extended with Oracle Key Vault cluster nodes in Amazon AWS. You can also move an on-premises Oracle Key Vault cluster to Amazon AWS by removing the on-premises nodes from the cluster.
Parent topic: Creating Oracle Key Vault Image in Amazon AWS
5.7.2 Creating Oracle Key Vault Image on AWS
Create a Base Image first to launch Oracle Key Vault cluster nodes (instances).
- Before proceeding make sure that you have installed AWS CLI. You are also required to create user roles. For more information, see Create User Roles
- Ensure that you have setup an Amazon S3 bucket to store the VM disk used for preparing the Oracle Key Vault image for AWS.
- Ensure the AWS user has the vmimport role.
Parent topic: Creating Oracle Key Vault Image in Amazon AWS
5.7.3 Launching an Oracle Key Vault Cluster Node (Instance) from the Base Image
Perform the steps to launch an Oracle Key Vault cluster node (instance).
Parent topic: Creating Oracle Key Vault Image in Amazon AWS
5.8 Creating Oracle Key Vault Image in Google Cloud
Oracle Key Vault provides deployment and provisioning in Google Cloud.
- About Provisioning Oracle Key Vault in Google Cloud
You can provision Oracle Key Vault in Google Cloud. - Creating Oracle Key Vault Image for Google Cloud
You can create an Oracle Key Vault cluster in Google Cloud by first creating a Base Image, and then creating Oracle Key Vault cluster nodes from it. - Launching an Oracle Key Vault Instance from the Image
Perform the steps to launch an Oracle Key Vault cluster node (instance).
5.8.1 About Provisioning Oracle Key Vault in Google Cloud
You can provision Oracle Key Vault in Google Cloud.
To provide familiar, continuously available, extremely scalable, and fault-tolerant key management for your Oracle Databases in Google Cloud (including ExaDB-D@GCP), you can install and create an Oracle Key Vault multi-master cluster in Google Cloud, or extend on-premises Oracle Key Vault deployments with Oracle Key Vault cluster nodes in Google Cloud. You can also move an on-premises Oracle Key Vault cluster to Google Cloud by removing the on premises nodes from the cluster.
Parent topic: Creating Oracle Key Vault Image in Google Cloud
5.8.2 Creating Oracle Key Vault Image for Google Cloud
You can create an Oracle Key Vault cluster in Google Cloud by first creating a Base Image, and then creating Oracle Key Vault cluster nodes from it.
- Ensure that you have installed and configured Google Cloud CLI.
- Ensure that you have set up a bucket under Cloud Storage to store the VM disk used for preparing the Oracle Key Vault image for Google Cloud.
Parent topic: Creating Oracle Key Vault Image in Google Cloud
5.8.3 Launching an Oracle Key Vault Instance from the Image
Perform the steps to launch an Oracle Key Vault cluster node (instance).
Parent topic: Creating Oracle Key Vault Image in Google Cloud