Service · Security, Identity, and Compliance · CLF-C02 အပေါ် ဆက်လေ့လာရန်
AWS CloudHSM
Dedicated HSMs for compliance, or KMS keys backed by your own HSM cluster.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Cloud Practitioner မှ သင်သိပြီးသားများ
- CloudHSM gives you single-tenant hardware security modules in your VPC.
- You manage the keys and the HSM users. AWS cannot see your keys.
- KMS is simpler for most needs.
Tenancy
- KMS
- Shared, managed by AWS
- CloudHSM
- Single tenant, yours alone
Who controls keys
- KMS
- You, through key policies
- CloudHSM
- You alone, outside IAM
Integration
- KMS
- Built into AWS services
- CloudHSM
- Your apps, through PKCS#11, JCE, CNG
High availability
- KMS
- Built in
- CloudHSM
- You add HSMs in several AZs
Billing
- KMS
- Per key and request
- CloudHSM
- Per HSM hour
| Aspect | KMS | CloudHSM |
|---|---|---|
| Tenancy | Shared, managed by AWS | Single tenant, yours alone |
| Who controls keys | You, through key policies | You alone, outside IAM |
| Integration | Built into AWS services | Your apps, through PKCS#11, JCE, CNG |
| High availability | Built in | You add HSMs in several AZs |
| Billing | Per key and request | Per HSM hour |
1 / 2
Tenancy
- KMS
- Shared, managed by AWS
- CloudHSM
- Single tenant, yours alone
Who controls keys
- KMS
- You, through key policies
- CloudHSM
- You alone, outside IAM
Integration
- KMS
- Built into AWS services
- CloudHSM
- Your apps, through PKCS#11, JCE, CNG
| Aspect | KMS | CloudHSM |
|---|---|---|
| Tenancy | Shared, managed by AWS | Single tenant, yours alone |
| Who controls keys | You, through key policies | You alone, outside IAM |
| Integration | Built into AWS services | Your apps, through PKCS#11, JCE, CNG |
2 / 2
High availability
- KMS
- Built in
- CloudHSM
- You add HSMs in several AZs
Billing
- KMS
- Per key and request
- CloudHSM
- Per HSM hour
| Aspect | KMS | CloudHSM |
|---|---|---|
| High availability | Built in | You add HSMs in several AZs |
| Billing | Per key and request | Per HSM hour |
- 1An AWS service asks KMS to use a key.
- 2The key sits in a custom key store.
- 3The key material stays in the HSMs of your CloudHSM cluster.
အဆင့်ဆင့်
- 1An AWS service asks KMS to use a key.
- 2The key sits in a custom key store.
- 3The key material stays in the HSMs of your CloudHSM cluster.
KMS keys can live in your CloudHSM cluster.
ဘာလဲ
CloudHSM HSMs are validated to FIPS 140 Level 3, run in a cluster that you place in your VPC, and belong to you alone. You manage keys and HSM users, outside IAM. You connect with standard libraries such as PKCS#11, Java Cryptography Extension and Microsoft CNG. AWS cannot recover your keys if you lose your credentials. For high availability, put HSMs in at least two Availability Zones. The cluster keeps them in sync.
A KMS custom key store links the two services. KMS keys are created in your CloudHSM cluster, and you use the normal KMS API and integrations. The key material stays in your HSMs. Keys in a custom key store are rotated by hand.
ဘာလဲ
Choose CloudHSM when a rule demands single-tenant hardware that you alone control, when an application needs PKCS#11 or similar, or to offload TLS from web servers. Otherwise choose KMS.
မှတ်ထားရန်
- Single tenant, FIPS 140 Level 3, in your VPC.
- You create and manage the keys and the HSM users. AWS cannot see them.
- Cluster across at least two AZs for availability.
- Custom key store: KMS keys whose material lives in your CloudHSM cluster.
- Standard APIs: PKCS#11, JCE, CNG.
မှတ်ထားရန်
- Billed per HSM hour. KMS bills per key and per request.
စာမေးပွဲမှာ
- “Regulation requires keys in dedicated hardware that only we control” points to CloudHSM.
- “Keep using KMS integrations, but store key material in our own HSMs” points to a KMS custom key store with CloudHSM.
- “Highly available CloudHSM” points to HSMs in multiple Availability Zones.
ဒါတွေနဲ့ မရောပါနဲ့
AWS Key Management Service (AWS KMS)Who may use a key, which key type, how keys rotate and delete, and where KMS limits you.
AWS Certificate Manager (ACM)Which certificate, how to validate it, where it can attach, and the Region rule for CloudFront.
AWS Secrets ManagerRotate and share secrets across accounts and Regions, and choose it or Parameter Store.