AWS CloudHSM
Security and Identity · Advanced, most people never need it
A dedicated tamper-proof box that holds your encryption keys, and only you can open it.
Renting the actual safe deposit box at the bank, with the only key, instead of asking the bank to look after your valuables.
What it actually does
CloudHSM gives you single-tenant hardware security modules, FIPS 140-3 Level 3 validated, where you control the keys completely. AWS cannot see or recover them. That last part is the real point and the real danger: lose your credentials and the keys are gone, with no AWS support ticket that gets them back. Most people who think they need CloudHSM actually need KMS. It exists for regulators who demand sole custody of keys.
Reach for it when
- A regulator or contract demands you hold the keys with no cloud provider access
- You need an HSM for a specific standard KMS does not meet
- Running your own certificate authority or custom crypto offload
Do not reach for it when
- For almost all encryption, use KMS instead, it is far cheaper and simpler
- Do not use it for payment card PIN and EMV work, use Payment Cryptography
One small example
A bank keeps its signing keys in a CloudHSM cluster because the regulator will not accept a shared service.
How you pay
Per HSM, per hour, and you are told to run at least two or three for reliability. That runs into thousands of dollars a month whether you use it or not.
Usually sits next to
The real source
This is a simplified summary written for people learning AWS. The official AWS documentation is the authoritative word and it wins wherever this page disagrees with it.