EKS 생성하는 중 Sample 예제를 통해서 t2.small EC2 생성을 하는데 t2.small Type은 ap-norteast-2b 가용 영역에 생성이 안된다는 에러를 확인했습니다.

Resource handler returned message: "Your requested instance type (t2.small) is not supported in your requested Availability Zone (ap-northeast-2b). Please retry your request by not specifying an Availability Zone or choosing ap-northeast-2a, ap-northeast-2c. (Service: Eks, Status Code: 400, Request ID: 5464)" (RequestToken: 54546, HandlerErrorCode: InvalidRequest)

그러면 EC2 Type마다 어떤 가용 영역에서 사용할 수 있는지 확인할 수 있으면 좋을 것 같습니다.

aws ec2 describe-instance-type-offerings --location-type availability-zone --filters Name=instance-type,Values=t2.small --region ap-northeast-2 --output table

명령어의 결과는 테이블 형식으로 출력이 되어 확인하기 좋습니다.

스크린샷 2022-08-01 오후 7.59.02.png