Amazon EC2 Dedicated Host 복구 관리
Amazon EC2 Dedicated Host 복구 관리
**Dedicated Host 자동 복구(auto recovery)**는 Dedicated Host에서 특정 문제 조건이 감지되면 인스턴스를 새 대체 호스트에서 다시 시작해요. Dedicated Host를 할당할 때나 할당한 뒤에도 호스트 복구를 활성화할 수 있습니다.
출처: 문서
본문
다음 절차를 사용해 호스트 할당 시 호스트 복구를 활성화하세요.
콘솔 (Console)
할당 시 호스트 복구를 활성화하려면
Amazon EC2 콘솔로 Dedicated Host를 할당할 때 Host recovery에서 Enable을 선택합니다. 자세한 내용은 Allocate an Amazon EC2 Dedicated Host for use in your account 문서를 참고하세요.
AWS CLI
할당 시 호스트 복구를 활성화하려면
allocate-hosts 명령을 사용합니다.
aws ec2 allocate-hosts \
--instance-type m5.large \
--availability-zone eu-west-1a \
--auto-placement on \
--host-recovery on \
--quantity 1
PowerShell
할당 시 호스트 복구를 활성화하려면
New-EC2Host cmdlet을 사용합니다.
New-EC2Host `
-InstanceType m5.large `
-AvailabilityZone eu-west-1a `
-AutoPlacement on `
-HostRecovery on `
-Quantity 1
다음 절차를 사용해 기존 Dedicated Host의 호스트 복구를 관리하세요.
콘솔 (Console)
할당 후 호스트 복구를 관리하려면
- Amazon EC2 콘솔을 엽니다. https://console.aws.amazon.com/ec2/
- 탐색 창에서 Dedicated Hosts를 선택합니다.
- Dedicated Host를 선택합니다.
- Actions, Modify host를 선택합니다.
- Host recovery에서 Enable을 선택하거나 선택을 해제합니다.
- Save를 선택합니다.
AWS CLI
할당 후 호스트 복구를 활성화하려면
modify-hosts 명령을 사용합니다.
aws ec2 modify-hosts \
--host-recovery on \
--host-ids h-012a3456b7890cdef
할당 후 호스트 복구를 비활성화하려면
modify-hosts 명령에서 host-recovery 파라미터 값을 off로 지정합니다.
aws ec2 modify-hosts \
--host-recovery off \
--host-ids h-012a3456b7890cdef
PowerShell
할당 후 호스트 복구를 활성화하려면
Edit-EC2Host cmdlet을 사용합니다.
Edit-EC2Host `
-HostRecovery on `
-HostId h-012a3456b7890cdef
할당 후 호스트 복구를 비활성화하려면
Edit-EC2Host cmdlet을 사용합니다.
Edit-EC2Host `
-HostRecovery off `
-HostId h-012a3456b7890cdef