CloudHSM CLI 설치 및 구성
AWS CloudHSM 클러스터에서 HSM과 상호 작용하려면 CloudHSM CLI가 필요합니다.
클라이언트 인스턴스에 연결하고 다음 명령을 실행하여 AWS CloudHSM 명령줄 도구를 다운로드하고 설치합니다. 자세한 내용은 AWS CloudHSM와 상호 작용하기 위한 Amazon EC2 클라이언트 인스턴스 시작 섹션을 참조하세요.
- Amazon Linux 2
-
x86_64 아키텍처의 Amazon Linux 2:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-cli-latest.el7.x86_64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el7.x86_64.rpm
ARM64 아키텍처의 Amazon Linux 2:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-cli-latest.el7.aarch64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el7.aarch64.rpm
- Amazon Linux 2023
-
x86_64 아키텍처 기반 Amazon Linux 2023:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Amzn2023/cloudhsm-cli-latest.amzn2023.x86_64.rpm
$
sudo yum install ./cloudhsm-cli-latest.amzn2023.x86_64.rpm
ARM64 아키텍처 기반 Amazon Linux 2023:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Amzn2023/cloudhsm-cli-latest.amzn2023.aarch64.rpm
$
sudo yum install ./cloudhsm-cli-latest.amzn2023.aarch64.rpm
- CentOS 7 (7.8+)
-
x86_64 아키텍처 기반 CentOS 7:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-cli-latest.el7.x86_64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el7.x86_64.rpm
- RHEL 7 (7.8+)
-
x86_64 아키텍처 기반 RHEL 7:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL7/cloudhsm-cli-latest.el7.x86_64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el7.x86_64.rpm
- RHEL 8 (8.3+)
-
x86_64 아키텍처 기반 RHEL 8:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL8/cloudhsm-cli-latest.el8.x86_64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el8.x86_64.rpm
- RHEL 9 (9.2+)
-
x86_64 아키텍처 기반 RHEL 9:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL9/cloudhsm-cli-latest.el9.x86_64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el9.x86_64.rpm
ARM64 아키텍처 기반 RHEL 9:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/EL9/cloudhsm-cli-latest.el9.aarch64.rpm
$
sudo yum install ./cloudhsm-cli-latest.el9.aarch64.rpm
- Ubuntu 20.04 LTS
-
x86_64 아키텍처 기반 Ubuntu 20.04 LTS:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Focal/cloudhsm-cli_latest_u20.04_amd64.deb
$
sudo apt install ./cloudhsm-cli_latest_u20.04_amd64.deb
- Ubuntu 22.04 LTS
-
x86_64 아키텍처 기반 Ubuntu 22.04 LTS:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Jammy/cloudhsm-cli_latest_u22.04_amd64.deb
$
sudo apt install ./cloudhsm-cli_latest_u22.04_amd64.deb
ARM64 아키텍처 기반 Ubuntu 22.04 LTS:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Jammy/cloudhsm-cli_latest_u22.04_arm64.deb
$
sudo apt install ./cloudhsm-cli_latest_u22.04_arm64.deb
- Ubuntu 24.04 LTS
-
x86_64 아키텍처 기반 Ubuntu 24.04 LTS:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Jammy/cloudhsm-cli_latest_u24.04_amd64.deb
$
sudo apt install ./cloudhsm-cli_latest_u24.04_amd64.deb
ARM64 아키텍처 기반 Ubuntu 24.04 LTS:
$
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Jammy/cloudhsm-cli_latest_u24.04_arm64.deb
$
sudo apt install ./cloudhsm-cli_latest_u24.04_arm64.deb
- Windows Server 2016
-
x86_64 아키텍처 기반 Windows Server 2016의 경우 관리자 권한으로 Powershell을 열고 다음 명령을 실행합니다.
PS C:\>
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Windows/AWSCloudHSMCLI-latest.msi -Outfile C:\AWSCloudHSMCLI-latest.msi
PS C:\>
Start-Process msiexec.exe -ArgumentList '/i C:\AWSCloudHSMCLI-latest.msi /quiet /norestart /log C:\client-install.txt' -Wait
- Windows Server 2019
-
x86_64 아키텍처 기반 Windows Server 2019의 경우 관리자 권한으로 Powershell을 열고 다음 명령을 실행합니다.
PS C:\>
wget https://s3.amazonaws.com/cloudhsmv2-software/CloudHsmClient/Windows/AWSCloudHSMCLI-latest.msi -Outfile C:\AWSCloudHSMCLI-latest.msi
PS C:\>
Start-Process msiexec.exe -ArgumentList '/i C:\AWSCloudHSMCLI-latest.msi /quiet /norestart /log C:\client-install.txt' -Wait
다음 명령을 사용하여 CloudHSM CLI를 구성합니다.
Client SDK 5용 Linux EC2 인스턴스 부트스트랩
-
구성 도구를 사용하여 클러스터에 있는 HSM(s)의 IP 주소를 지정합니다.
$
sudo /opt/cloudhsm/bin/configure-cli -a
<The ENI IP addresses of the HSMs>
Client SDK 5용 Windows EC2 인스턴스 부트스트랩
-
구성 도구를 사용하여 클러스터에 있는 HSM(s)의 IP 주소를 지정합니다.
"C:\Program Files\Amazon\CloudHSM\bin\configure-cli.exe" -a
<The ENI IP addresses of the HSMs>