Using AWS CloudHSM to Store Amazon RDS Oracle TDE Keys
You can use AWS CloudHSM with an Amazon RDS DB instance running Oracle Enterprise Edition to store keys when you use Oracle Transparent Data Encryption (TDE). AWS CloudHSM is a service that provides a hardware appliance called a hardware security module (HSM) that performs secure key storage and cryptographic operations. You enable an Amazon RDS DB instance to use AWS CloudHSM by setting up an HSM appliance, setting the proper permissions for cross-service access, and then setting up Amazon RDS and the DB instance that will use AWS CloudHSM.
Review the following availability and pricing information before you setup AWS CloudHSM:
AWS CloudHSM is not available in every AWS region. For the full list of available regions, see AWS CloudHSM Regions and Endpoints.
AWS CloudHSM pricing and free trial:
CloudHSM upfront fee refund (API and CLI Tools):
You are charged an upfront fee for each new AWS CloudHSM instance that you create by using the CreateHsm API operation or the create-hsm AWS CLI command. If you accidentally provision an HSM instance that you don't need, first delete the HSM instance by using the DeleteHsm API operation or the delete-hsm AWS CLI command. You can then request a refund of the upfront fee at the AWS Support Center, by creating a new case and choosing Account and Billing Support.
The number of Oracle databases you can support on a single CloudHSM partition will depend on the rotation schedule you choose for your data. You should rotate your keys as often as your data needs require. The PCI-DSS documentation and the National Institute of Standards and Technology (NIST) provide guidance on appropriate key rotation frequency. You can maintain approximately 10,000 symmetric master keys per CloudHSM device. Note that after key rotation the old master key remains on the partition and is still counted against the per-partition maximum.
AWS CloudHSM works with Amazon Virtual Private Cloud (Amazon VPC). An appliance is provisioned inside your VPC with a private IP address that you specify, providing simple and private network connectivity to your Amazon RDS DB instance. Your HSM appliances are dedicated exclusively to you and are isolated from other AWS customers. For more information, see Amazon Virtual Private Cloud (VPCs) and Amazon RDS and Creating a DB Instance in a VPC.
To use AWS CloudHSM with an Amazon RDS Oracle DB instance, you must complete the following tasks, which are explained in detail in the following sections:
When you complete the entire setup, you should have the following AWS components.
An AWS CloudHSM control instance that will communicate with the HSM appliance using port 22, and the AWS CloudHSM endpoint. The AWS CloudHSM control instance is an Amazon EC2 instance that is in the same VPC as the HSMs and is used to manage the HSMs.
An Amazon RDS Oracle DB instance that will communicate with the Amazon RDS service endpoint, as well as the HSM appliance using port 1792.