Your suggested change has been received. Thank you.

close

Suggest A Change

https://thales.na.market.dpondemand.io/docs/dpod/services/kmo….

back

AWS External Key Store Resources

AWS XKS Performance Summary

search

Please Note:

AWS XKS Performance Summary

We have tested different environments to capture performance metrics for the CipherTrust Cloud Key Manager (CCKM) AWS External Key Service integration. The performance results provided within this document demonstrate the effects of deployment choices on throughput for AWS HYOK key encrypt operations for one key within one key store. This can help you plan your CipherTrust Manager deployment to meet your performance needs for AWS XKS integration. There is an AWS requirement that encrypt and decrypt requests must be completed within 250 ms. Thus, the results are presented to show the throughput possible before meeting that threshold.

All environments used an open source k6.io tool (https://k6.io/) as the REST client to simulate encrypt requests from AWS KMS. The client ran on a virtual machine with 80 GB system volume, 16 CPUs, and 32 GB of memory. For the deployments using LUNA HSM as a key source, the HSM model of Luna K7 was employed.

Actual performance numbers in your environment may be different. The results can vary based on factors, such as how and where the CipherTrust Manager is deployed, CipherTrust Manager resources, the location of cloud KMS, the key source of your choice, the network connectivity between the CipherTrust Manager, AWS Cloud and your key source, as well as how the traffic is load balanced.

Tested Environments

The following deployments were tested:

  • Luna Network HSM as a key source on premises:

    • Single node of CipherTrust Manager on premises, K6 client on premises, Single node of HSM

    • Single node of CipherTrust Manager on premises, K6 client on premises, Two nodes of HSM in HA mode

    • Single node of CipherTrust Manager on premises, K6 client on premises, HSM in Export mode and Clone mode

  • CipherTrust Manager as a key source:

    • Single node CipherTrust Manager on premises, K6 client on premises

    • Single node of CipherTrust Manager on AWS, K6 client on AWS

    • Two clustered CipherTrust Manager nodes on AWS, K6 client on AWS

CipherTrust Managers were deployed as geographically close to the K6 client as possible to avoid potential network latencies, which can occur when crossing geographic regions. In your CCKM deployment, we similarly recommend deploying the virtual CipherTrust Manager instance geographically close to one of the AWS KMS regions where you intend to set up the AWS XKS. We recommend a network latency of round-trip communication of 35 ms or less between AWS KMS and the CipherTrust Manager. Also, if you are using Luna Network HSM as your key source for AWS HYOK, ensure the CipherTrust Manager and the HSM are geographically close and has the lowest possible latency. We recommend a network latency of round-trip communication of 25 ms or less between the CipherTrust Manager and the HSM.

The following graph shows that by increasing the latency between the CipherTrust Manager and the HSM, the performance degrades.

Network Requirements

The following ports were opened to ensure CipherTrust Manager communication:

Used to communicate with CipherTrust Manager:

TypeProtocolPort Number
SSHTCP22
HTTPSTCP443
postgresql (for cluster)TCP5432

Used for Connection to LUNA HSM:

TypeProtocolPort Number
Secure Trusted Channel (STC)TCP5656
network trust link service (NTLS)TCP1792

Test Process

The test consisted of starting a given number of virtual users to perform encrypt operations on the AWS XKS/HYOK key. Each user simulated a separate thread. Total test duration was 40 seconds for each reading. The test was divided into the following increments:

  • Ramp-up time was 5 seconds. Virtual users were started.
  • Test duration was 30 seconds for each reading. Virtual users make wrap requests during this time.
  • Ramp-down time was 5 seconds. Virtual users were stopped until there were zero active virtual users.

AWS XKS Deployment Results

LUNA HSM as a Key Source

On Premises

This deployment includes the following:

  • Single node of CipherTrust Manager on premises
  • K6 client on premises
  • Single node of HSM on premises

The client and CipherTrust Manager were running on an ESXI server on premises.

LUNA HSM Details

HSM Details

DescriptionValue
Firmware7.3.3
HSM ModelLuna K7
Authentication MethodPassword
4 CPUs - 16 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
56417160.42538.2
107439185.97570
207739193.475149.58
308064201.6227.8
407850196.25330.19
8 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
58649216.22525.83
1012521313.02537.35
2014662366.5569.01
3015191379.775111.25
4015574389.35149.22
5015995399.875189.64
6016517412.925228.34
7016410410.25270.49
8016372409.3319.64
16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
510515262.87520.58
1015567389.17529.24
2023157578.92541.52
3025030625.7558.76
402716067980.08
5027867696.675101.87
6029153728.825120.48
7031218780.45131.51
8031819795.475151.7
9031236780.9177.71
10031362784.05197.13
12032079801.975239.94
14034299857.475269.27
16033154828.85319.57
18034108852.7352.62
32 CPUs - 64 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
58850221.2529
1017470436.7525.49
2024574614.3537.12
3028185704.62552.71
4029295732.37570.91
5031083777.07587.58
6031544788.6106.76
7033995849.875115.62
8034541863.525132.86
9034809870.225154.5
10036284907.1164.85
182038269956.725191.15
14037585939.625235.08
16038562964.05261.26
180413021032.55276.91
20038662966.55338.28
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 201.6 per second with CipherTrust Manager instance 4-CPU, 16GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 412.925 per second with CipherTrust Manager instance 8-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 801.975 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 939.625 per second with CipherTrust Manager instance 32-CPU, 64GB RAM

On Premises: HSM in HA Mode

This deployment includes the following:

  • Single node of CipherTrust Manager on premises
  • K6 client on premises
  • Two nodes of HSM (in HA mode) on premises

The client and CipherTrust Manager were running on an ESXI server on premises.

4 CPUs - 16 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
54717117.92553.8
107027175.67573.43
207770194.25146.09
307889197.225229.23
408061201.525309.91
507994199.85402.11
8 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
5712017832.81
1011814295.3540.29
2014557363.92569.57
3015326383.15109.29
4015571389.275150.45
5015881397.025193.6
6015949398.725237.86
7016390409.75275.83
8016784419.6310.83
16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
58331208.27532.07
1014113352.82538.62
2021387534.67547.64
3025447636.17560.41
4026807670.17580.62
5027384684.6103.42
6029015725.375120.79
7029526738.15140.61
8029720743163.5
9030491762.275184.32
10033468836.7185.99
12032335808.375236.31
14033262831.55272.81
16034228855.7306.12
32 CPUs - 64 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
511447286.17518.51
1017737443.42525.25
2025487637.17537.36
3028283707.07552.92
4030154753.8568.63
5031038775.9586.95
6032136803.4104.09
7032707817.675122.54
8033368834.2138.19
9034698867.45153.94
10034974874.35170.31
12035335883.375209.76
14037249931.225233.61
16039185979.625257.74
180406361015.9282.5
200402251005.625321.77
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 197.225 per second with CipherTrust Manager instance 4-CPU, 16GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 398.725 per second with CipherTrust Manager instance 8-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 808.375 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 979.625 per second with CipherTrust Manager instance 32-CPU, 64GB RAM

On Premises: HSM Partition in Export and Clone Mode

This deployment includes the following:

  • Single node of CipherTrust Manager on premises
  • K6 client on premises
  • Single node of HSM (in Export mode and Clone mode) on premises

The client and CipherTrust Manager were running on an ESXI server on premises.

The same test was run on an HSM partition in Export mode and in Clone mode.

16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
511626290.6518.7
1017207430.17526.65
2023629590.72540.64
3026649666.22556.69
4028244706.175.9
5030268756.791.25
6029977749.425115.54
7031210780.25132.04
8030973774.325156.8
9032168804.2172.54
10032093802.325194.87
12032810820.25232.88
14033404835.1272.62
16033936848.4311.64
18034352858.8346.99
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 820.25 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • Changing the partition mode between Export and Clone does not affect the performance results

On Premises: HSM in STC Mode

This deployment includes the following:

  • Single node of CipherTrust Manager on premises
  • K6 client on premises
  • Single node of HSM (in STC mode) on premises

The client and CipherTrust Manager were running on an ESXI server on premises.

LUNA HSM Details

HSM Details

DescriptionValue
Firmware7.7.1
HSM ModelLuna K7
Authentication MethodPassword
16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
510599264.97521.14
1016368409.226.43
2023533588.32543.03
3027183679.57553.06
4030416760.466.19
5030069751.725101.49
6030884772.1108.08
7032613815.325123.71
8033007825.175142.4
9033877846.925161.19
10034065851.625180.97
12035043876.075216.67
14035988899.7252.51
16035878896.95293.16
18036052901.3337.21
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 899.7 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • The HSM connection modes of NTLS and STC do not have a significant affect on the performance

CipherTrust Manager as a Key Source

On Premises

This deployment includes the following:

  • Single node of CipherTrust Manager on premises
  • K6 client on premises

The client and CipherTrust Manager were running on an ESXI server on premises.

4 CPUs - 16 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
58510212.7529.03
1010133253.32552.61
2011152278.8106.15
3011394284.85169.52
4010860271.5244.49
5011451286.275302.89
6011063276.575383.66
8 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
511798294.9519.45
1017161429.02527.79
2020268506.751.13
3021386534.6582.13
4021969549.225113.14
5022379559.475144.25
6023037575.925175.97
7022801570.025211.29
8023142578.55241.78
9023061576.525274.22
10023457586.425306.06
12023635590.875372.63
16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
511391284.77519.06
1023371584.27519.77
2030927773.17532.26
3034358858.9544.6
4036294907.3560.16
5037700942.576.02
6039599989.97590.09
7038926973.15110.56
8039171979.275126.28
90412621031.55143.05
100412971032.425158.09
120415511038.775198.72
140431511078.775227.83
160436241090.6263.1
180441291103.225304.2
200447021117.55332.17
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 271.5 per second with CipherTrust Manager instance 4-CPU, 16GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 578.55 per second with CipherTrust Manager instance 8-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 1078.775 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • A higher performance was achieved when using CipherTrust Manager as key source than when using Luna HSM as a key source

Cloud Setup - Single Instance

This deployment includes a single node of CipherTrust Manager on AWS. Both the client and CipherTrust Manager were located within the US-east-1 AWS region.

4 CPUs - 16 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
57412185.332.79
108564214.159.86
209018225.45122.48
309510237.75185
409244231.1260.8
509524238.1322.38
609684242.1392.73
709557238.925468.32
8 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
512481312.02517.58
1015702392.5529.56
2018556463.955.02
3019545488.62583.04
4019984499.6113.95
5020106502.65149.06
6020663516.575180.41
7020103502.575219.07
8020987524.675252.1
9021099527.475281.43
10021173529.325317.68
12021393534.825391.56
16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
515686392.1513.36
1024273606.82517.84
2030902772.5529.54
3032702817.5543.63
4034677866.92560
5034974874.3579.16
6036647916.17594.96
7038011950.275107.72
8035837895.925132.45
9035405885.125146.82
10036002900.05165.35
12035361884.025206.5
14039063976.575233.96
16039408985.2
18039184979.6318.8
20038916972.9347.38
32 CPUs - 64 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
517306432.6511.83
1028453711.32514.53
2038729968.22522.97
30422251055.62532.22
40510051275.12539.41
50513771284.42549.39
60525291313.22561.11
70511251278.12572.39
80515791289.47586.62
90541371353.42593.75
100550271375.675104.44
120544481361.2129.75
140550701376.75152.41
160523071307.675180.67
180546361365.9204.4
200444471111.175285.16
220573741434.35250.38
240590451476.125274.32
260587141467.85307.63
280598941497.35332.61
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 231.1 per second with CipherTrust Manager instance 4-CPU, 16GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 524.675 per second with CipherTrust Manager instance 8-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 976.575 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 1365.9 per second with CipherTrust Manager instance 32-CPU, 64GB RAM

Cloud Setup - Load Balancer

This deployment includes two clustered CipherTrust Manager nodes on AWS and a load balancer. Both the client and CipherTrust Manager were located within the US-east-1 AWS region.

4 CPUs - 16 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
510081252.02524.15
1014260356.533.86
2015435385.87586.28
3016966424.15103.89
4017491437.275130.42
5017855446.375163.93
6017895447.375195.9
7017806445.15244.63
8018268456.7260.42
9017918447.95304.45
10018112452.8337.82
12018144453.6413.05
8 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
513457336.42516.03
1021938548.4521.56
2027638690.9540.91
3032318807.9546.13
4034758868.9557.83
5035890897.2578.44
6036666916.6588.03
7037719942.975101.69
8037940948.5118.99
9038338958.45134.58
10038435960.875154.33
12036956923.9194.45
14038131953.275229.37
16038592964.8263.27
18039510987.75297.57
20039571989.275334.09
220405301013.25363.02
16 CPUs - 32 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
514709367.72512.75
1026304657.614.62
20426891067.22521.53
30518231295.57526.77
40556461391.1534.3
50604751511.87538.64
60608981522.4548.04
70647931619.82556.89
80658931647.32561.39
90663691659.22571.48
100666311665.77583.73
120691751729.37599.65
140714261785.65113.87
160717821794.55135.1
180727821819.55153.48
200736581841.45168.49
220762601906.5186.69
240739501848.75209.86
260662871657.175241.72
280768401921239.81
300763511908.775261.08
320781161952.9276.64
340765531913.825297.67
360799861999.65308.26
32 CPUs - 64 GB RAM
Number of Virtual UsersTotal OperationsThroughput (Operations/Sec)90% Time
518754468.8510.87
1033671841.77512.39
20543321358.316.03
30681931704.82521.44
40791291978.22523.85
50865482163.726.98
60843382108.4542.98
70970562426.436.09
80998222495.5540.38
901018422546.0548.61
1001038432596.07551.82
1201049632624.07561.16
1401109592773.97570.12
1601127172817.92580.68
1801137672844.17592.96
2001142892857.225103.67
2201125802814.5118.61
2401150572876.425131.81
2601142132855.325141.83
2801077812694.525165.64
3001153422883.55167.38
3201148202870.5176.93
3401175862939.65190.51
3601176452941.125203.35
3801174152935.375213.19
4001184102960.25225.01
4201180692951.725236.61
4401184792961.975252.71
4601184532961.325263.82
4801181142952.85279.36
5001192422981.05294.79
Observations
  • Response time compliance of 250 ms was met for maximum throughput of 445.15 per second with CipherTrust Manager instance 4-CPU, 16GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 953.275 per second with CipherTrust Manager instance 8-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 1921 per second with CipherTrust Manager instance 16-CPU, 32GB RAM
  • Response time compliance of 250 ms was met for maximum throughput of 2961 per second with CipherTrust Manager instance 32-CPU, 64GB RAM

Conclusion

  • The performance improves with higher number of CPUs. The minimum number of CPUs and RAM required: 4 CPUs and 16 GB RAM.
  • Performance linearly improves with adding more CipherTrust Manager nodes.
  • Partition mode (Export vs Clone) does not have any impact on performance.
  • Changing HSM connections (STC vs NTLS) does not have significant affect on performance.
  • Different models of Luna 7 HSMs have their maximum throughput. Depending on your requirement, ensure to choose a model that can meet your needs. Ensure the HSM throughput does not become a bottle neck for the deployment. Refer to Luna HSM documentation for more information.
  • The results captured was for one HYOK key in one key store, which represents the total throughput. When the number of key stores is higher, the total throughput will be cumulative across key stores.