

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# Network Load Balancer 대상 그룹의 상태 확인 설정 업데이트
<a name="modify-health-check-settings"></a>

대상 그룹의 상태 확인 설정을 언제든지 업데이트할 수 있습니다. 상태 확인 설정 목록은 [상태 확인 설정](target-group-health-checks.md#health-check-settings) 섹션을 참조하세요.

------
#### [ Console ]

**상태 확인 설정을 업데이트하려면**

1. [https://console.aws.amazon.com/ec2/](https://console.aws.amazon.com/ec2/)에서 Amazon EC2 콘솔을 엽니다.

1. 탐색 창의 **Load Balancing** 아래에서 **대상 그룹**을 선택합니다.

1. 대상 그룹의 이름을 선택하여 세부 정보 페이지를 엽니다.

1. **상태 확인** 탭에서 **편집**을 선택합니다.

1. **상태 확인 설정 편집** 페이지에서 필요에 따라 설정을 수정합니다.

1. **변경 사항 저장**을 선택합니다.

------
#### [ AWS CLI ]

**상태 확인 설정을 업데이트하려면**  
[modify-target-group](https://docs.aws.amazon.com/cli/latest/reference/elbv2/modify-target-group.html) 명령을 사용합니다. 다음 예시에서는 **HealthyThresholdCount** 및 **HealthCheckTimeoutSeconds** 설정을 업데이트합니다.

```
aws elbv2 modify-target-group \
    --target-group-arn target-group-arn \
    --healthy-threshold-count 3 \
    --health-check-timeout-seconds 20
```

------
#### [ CloudFormation ]

**상태 확인 설정을 업데이트하려면**  
업데이트된 상태 확인 설정을 포함하도록 [AWS::ElasticLoadBalancingV2::TargetGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-elasticloadbalancingv2-targetgroup.html) 리소스를 업데이트합니다. 다음 예시에서는 **HealthyThresholdCount** 및 **HealthCheckTimeoutSeconds** 설정을 업데이트합니다.

```
Resources:
  myTargetGroup:
    Type: 'AWS::ElasticLoadBalancingV2::TargetGroup'
    Properties:
      Name: my-target-group
      Protocol: TCP
      Port: 80
      TargetType: instance
      VpcId: !Ref myVPC
      HealthyThresholdCount: 3
      HealthCheckTimeoutSeconds: 20
```

------