Amazon ECS Managed Instances 오류 트러블슈팅

Amazon ECS Managed Instances 오류 트러블슈팅

다음은 Amazon ECS Managed Instances 오류 메시지와 오류를 고치는 데 취할 수 있는 조치들이에요.

출처: 문서

본문

다음은 몇 가지 Amazon ECS Managed Instances 오류 메시지와 이를 해결하기 위한 조치입니다.

Amazon ECS Managed Instances Provider is not supported without a Cluster Name

  • 이 오류는 클러스터 필드 없이 Amazon ECS Managed Instances provider 파라미터로 용량 공급자를 만들려고 할 때 발생합니다.
  • 해결: 용량 공급자를 만들 때 유효한 클러스터 이름을 지정하세요.

The Amazon ECS Managed Instances provider details are required when creating a Amazon ECS Managed Instances capacity provider

  • 이 오류는 Amazon ECS Managed Instances provider로 용량 공급자를 만들려고 하지만 실제 객체를 제공하지 않을 때 나타납니다.
  • 해결: 유효한 Amazon ECS Managed Instances provider 세부 정보를 지정하고 다시 시도하세요.

Amazon ECS Managed Instances capacity provider must specify an instance profile

  • 이 오류는 Amazon ECS Managed Instances provider로 용량 공급자를 만들려고 하지만 Ec2InstanceProfile을 제공하지 않을 때 나타납니다.
  • 해결: Amazon ECS Managed Instances 용량 공급자에 유효한 EC2 인스턴스 프로필을 지정하세요. 자세한 내용은 "Amazon ECS Managed Instances instance profile"을 참고하세요.

Amazon ECS Managed Instances capacity provider must specify an InfrastructureRole

  • 이 메시지는 Amazon ECS Managed Instances provider로 용량 공급자를 만들려고 하지만 InfrastructureRole을 제공하지 않을 때 나타납니다.
  • 해결: Amazon ECS Managed Instances 용량 공급자에 유효한 인프라 역할을 지정하세요. 자세한 내용은 "Amazon ECS infrastructure IAM role"을 참고하세요.

Amazon ECS Managed Instances capacity provider must specify a Network Configuration

  • 이 오류는 Amazon ECS Managed Instances provider로 용량 공급자를 만들려고 하지만 네트워크 구성을 제공하지 않을 때 발생합니다.
  • 해결: Amazon ECS Managed Instances 용량 공급자에 비어 있지 않은 서브넷이 있는 유효한 네트워크 구성을 지정하세요. 자세한 내용은 "Amazon ECS task networking for Amazon ECS Managed Instances"를 참고하세요.

No instance types satisfy the instance requirements specified in the Amazon ECS Managed Instances capacity provider

  • 이는 Amazon ECS Managed Instances provider로 용량 공급자를 만들려고 하지만 어떤 EC2 인스턴스 유형도 인스턴스 요구 사항을 충족하지 않을 때 발생합니다.
  • 해결: 인스턴스 요구 사항을 검토·조정해 사용 가능한 EC2 인스턴스 유형과 일치시키세요.

The specified infrastructure role arn is invalid

  • 이 오류는 InfrastructureRole이 특정 ARN 형식을 따르지 않을 때 발생합니다.
  • 예상 형식: arn:partition:iam::account-id:role/role-name. 유효한 역할 ARN을 지정하고 다시 시도하세요. 자세한 내용은 "Amazon ECS infrastructure IAM role"을 참고하세요.

The specified instance profile role arn is invalid

  • 이 오류는 인스턴스 프로필이 특정 ARN 형식을 따르지 않을 때 발생합니다.
  • 예상 형식: arn:partition:iam::account-id:instance-profile/profile-name. 유효한 역할 ARN을 지정하고 다시 시도하세요. 자세한 내용은 "Amazon ECS Managed Instances instance profile"을 참고하세요.

The specified security group id is invalid

  • 이 오류는 보안 그룹 ID가 특정 형식을 따르지 않을 때 발생합니다.
  • 예상 형식: sg-xxxxxxxx 또는 sg-xxxxxxxxxxxxxxxxxx (sg- 뒤의 영문(소문자)·숫자 8자 또는 17자). 보안 그룹 ID를 지정하고 다시 시도하세요.

The specified subnet id is invalid

  • 이 오류는 서브넷 ID가 특정 형식을 따르지 않을 때 발생합니다.
  • 예상 형식: subnet-xxxxxxxx 또는 subnet-xxxxxxxxxxxxxxxxxx (subnet- 뒤의 영문(소문자)·숫자 8자 또는 17자). 서브넷 ID를 지정하고 다시 시도하세요.

Amazon ECS Managed Instances capacity provider must specify a Network Configuration with non empty subnets

  • 이 오류는 Amazon ECS Managed Instances provider와 빈 서브넷이 있는 네트워크 구성으로 용량 공급자를 만들려고 할 때 발생합니다.
  • 해결: Amazon ECS Managed Instances 용량 공급자에 비어 있지 않은 서브넷이 있는 유효한 네트워크 구성을 지정하세요.

Amazon ECS Managed Instances capacity provider cannot have number of tags exceeding maximum allowed value

  • 이 오류는 최대 허용 태그 수(45개)를 초과하는 용량 공급자를 만들려고 할 때 발생합니다.
  • 해결: 태그 수를 45개 이하로 줄이고 다시 시도하세요.

Invalid value for propagateTags

  • 이 오류는 유효하지 않은 propagateTags 값으로 용량 공급자를 만들려고 할 때 발생합니다.
  • 값은 유효한 propagateTags 값 중 하나여야 합니다. 유효한 값을 지정하고 다시 시도하세요.

The specified capacity provider already exists with cluster scope

  • 이 오류는 클러스터 이름 없이 Amazon ECS Managed Instances 용량 공급자를 생성·업데이트·삭제하려고 하지만, 기존 클러스터 범위(cluster-scoped) 용량 공급자가 있을 때 발생합니다.
  • 해결: 용량 공급자의 구성을 변경하거나 삭제하려면 cluster 파라미터로 용량 공급자를 업데이트하거나 삭제하세요.

The specified capacity provider already exists with account or a different cluster

  • 이 오류는 클러스터 필드로 Amazon ECS Managed Instances 용량 공급자를 생성·업데이트·삭제하려고 하지만, 기존 계정 범위(account-scoped) 용량 공급자나 다른 클러스터의 기존 클러스터 범위 용량 공급자가 있을 때 발생합니다.
  • 해결: 다른 용량 공급자 이름을 사용하거나 기존 용량 공급자로 작업하세요.

Capacity provider active cluster name does not match the cluster name in the request

  • 이 오류는 용량 공급자의 활성 클러스터 이름이 요청에 지정된 클러스터 이름과 일치하지 않을 때 발생합니다.
  • 요청의 클러스터 이름이 용량 공급자와 연결된 클러스터와 일치하는지 확인하세요.

Capacity provider is not Amazon ECS Managed Instances capacity provider

  • 이 오류는 Amazon ECS Managed Instances 용량 공급자가 필요한 상황에서, 아닌 용량 공급자를 사용하려고 할 때 발생합니다.
  • 요청에 유효한 Amazon ECS Managed Instances 용량 공급자를 사용하고 있는지 확인하세요.

CapacityProvider name must not be blank

  • 이 오류는 용량 공급자 이름을 지정하지 않고 용량 공급자를 만들려고 할 때 발생합니다.
  • 유효한 용량 공급자 이름을 지정하고 다시 시도하세요.

A name is required when updating a capacity provider

  • 이 오류는 용량 공급자 이름을 지정하지 않고 용량 공급자를 업데이트하려고 할 때 발생합니다.
  • 유효한 이름을 지정하고 다시 시도하세요.

Tags can not be null or have null elements

  • 이 오류는 null 값으로 용량 공급자에 태그를 지정하려고 할 때 발생합니다.
  • 모든 태그 값이 제대로 지정되고 null이 아닌지 확인하세요.

더 알아보기 (Learn more)

  • Amazon ECS Managed Instances에 대한 자세한 내용은 AWS 공식 문서를 참고해 주세요.