1 - Create CloudHSM Cluster
AWS CloudHSM provides Hardware Security Modules (HSMs) in a cluster, a collection of individual HSMs that AWS CloudHSM keeps in sync.
When you create a cluster, you specify an Amazon Virtual Private Cloud (VPC) and a Subnet in the Availability Zone (AZ) of your instance. You then create an HSM in your cluster, selecting an Availability Zone (AZ) for the creation of the HSM.
Follow the steps below to create a cluster and an HSM:
- Navigate to the AWS CloudHSM console on https://console.aws.amazon.com/cloudhsm.
- Click Create Cluster.
- In the Cluster configuration section, select the VPC and Subnet in the Availability Zone (AZ) of your EJBCA Enterprise Cloud Instance:
- Wait for the cluster creation process to complete:
- Once its completed, the cluster will be in an Uninitialized state. Click Initialize.
- Choose an Availability Zone (AZ) to create the HSM in:
- Click Create and wait for the HSM to be created. Click refresh after a few minutes.
- Once completed, the wizard will show you the HSM created and allow you to continue by clicking Next:
- Links appear to Download a certificate signing request (CSR) from the HSM Cluster to authenticate it.
The certificates are used in the next step, see 2 - Validate the HSM.