AWS details a gradual migration path from CloudHSM to KMS

Summary
AWS outlines how to migrate CloudHSM workloads to KMS, covering application refactoring, key and data transitions, gradual re-encryption, and safeguards for imported keys. It reports one customer completed the migration in 10 weeks with zero downtime.
Key points
- AWS recommends auditing keys, applications, operation volume, and compliance constraints before testing a migration with a non-critical workload.
- The migration involves updating applications to use KMS APIs, rotating or importing keys, and transitioning existing data; the article says these steps can be completed gradually.
- For encryption, applications can use KMS Encrypt/Decrypt directly for plaintext up to 4 KB, or the AWS Encryption SDK for envelope encryption and larger payloads.
- During gradual re-encryption, new data can use KMS while a background process re-encrypts existing data; decryption can fall back to CloudHSM for data not yet migrated.
- AWS cautions that imported asymmetric keys have different durability guarantees from KMS-generated keys and recommends multi-Region replicas and secure external backups.
- For signing workloads, AWS describes importing an exportable CloudHSM private key or creating a new KMS key; it also notes KMS support for ML-DSA (FIPS 204).
- AWS reports one financial-services customer reduced monthly costs from $3,456 to about $250 and operational work from 25 hours per month to near zero, completing migration in 10 weeks with zero downtime.
Article Details
- Topic
- Migration from AWS CloudHSM to AWS KMS to reduce operational overhead while maintaining cryptographic workloads
Vendors
Products
AWS CloudHSMAWS Key Management Service (AWS KMS) supports the security certifications, algorithms, and performance that most AWS CloudHSM workloads require.AWS Encryption SDKFor larger payloads, use Option B (AWS Encryption SDK), which handles envelope encryption for you and supports data of any size.AWS KMSAWS Key Management Service (AWS KMS) supports the security certifications, algorithms, and performance that most AWS CloudHSM workloads require.AWS Payment CryptographyFor payment workloads, see AWS Payment Cryptography in the following table.
