There are no upfront costs to use AWS CloudHSM. With CloudHSM, you pay an hourly fee for each HSM you launch until you terminate the HSM.
Getting started with AWS CloudHSM
Instantly get access to the AWS Free Tier.
Get started building with AWS CloudHSM in the AWS Management Console.