ladderlore
  • Type a service name, like S3 or IAM.

Service · Security, Identity, and Compliance

AWS CloudHSM

Dedicated hardware security modules in your own VPC, for keys that only you can use.

Your VPC
Application
CloudHSM
CloudHSM
Keys only you control
kept in sync
  1. 1Your application connects to the HSM cluster through standard libraries.
  2. 2Keys are created and used only inside the HSMs. AWS cannot read them.
Your application uses HSMs in your own VPC. Two HSMs in different Availability Zones stay in sync.

Step by step

  1. 1Your application connects to the HSM cluster through standard libraries.
  2. 2Keys are created and used only inside the HSMs. AWS cannot read them.
  • Hardware

    KMS
    Shared HSMs run by AWS
    CloudHSM
    HSMs dedicated to you
  • Who controls the keys

    KMS
    You set the rules. AWS operates everything else.
    CloudHSM
    Only you. AWS has no access to them.
  • Works with

    KMS
    Most AWS services, built in
    CloudHSM
    Your own applications, through standard interfaces
  • Effort

    KMS
    Low: fully managed
    CloudHSM
    Higher: you manage users, keys and the number of HSMs
  • Choose it when

    KMS
    You want encryption in AWS services with little effort
    CloudHSM
    Rules require keys in hardware that only you control
AWS KMS and AWS CloudHSM compared.

1 / 2

  • Hardware

    KMS
    Shared HSMs run by AWS
    CloudHSM
    HSMs dedicated to you
  • Who controls the keys

    KMS
    You set the rules. AWS operates everything else.
    CloudHSM
    Only you. AWS has no access to them.
  • Works with

    KMS
    Most AWS services, built in
    CloudHSM
    Your own applications, through standard interfaces

2 / 2

  • Effort

    KMS
    Low: fully managed
    CloudHSM
    Higher: you manage users, keys and the number of HSMs
  • Choose it when

    KMS
    You want encryption in AWS services with little effort
    CloudHSM
    Rules require keys in hardware that only you control
AWS KMS and AWS CloudHSM compared.

What it is

A hardware security module (HSM) is a device that stores cryptographic keys and uses them inside the hardware. AWS CloudHSM gives you your own single-tenant HSMs, which run in your own Amazon Virtual Private Cloud (Amazon VPC). In FIPS mode, the current HSMs are validated under FIPS 140-3 Level 3.

What it is

The work is split differently from AWS Key Management Service (AWS KMS). AWS provides the hardware, maintains it, backs it up and monitors its health. You create and manage the keys and the HSM users. AWS has no access to the keys or data inside your cluster. For high availability, you place HSMs in more than one Availability Zone, and CloudHSM keeps them in sync.

What it is

Choose CloudHSM when rules require keys in dedicated hardware that you alone control, or when an application already uses standard interfaces such as PKCS #11. For most needs, AWS KMS is simpler, because it is built into AWS services. KMS can also keep its keys in your CloudHSM cluster, through a feature called a custom key store.

Remember

  • Single-tenant: the HSMs are dedicated to you.
  • You manage the keys and the HSM users. AWS cannot see your keys.
  • AWS still handles the hardware, its maintenance and the backups.
  • Typical uses: keys for your own certificate authority, TLS processing for web servers, and Oracle database encryption.

Remember

  • More control means more work. For most workloads, AWS KMS is the better fit.
  • AWS KMS also uses HSMs validated at FIPS 140-3 Level 3. CloudHSM differs because the HSMs are yours alone and only you control the keys.

On the exam

  • “Dedicated, single-tenant HSMs where the company alone manages the keys” points to AWS CloudHSM.
  • “Keys managed for you and built into Amazon S3, Amazon EBS and Amazon RDS” points to AWS KMS.