1 Answer
- Newest
- Most votes
- Most comments
0
Hello,
Sagemaker engineer here. I looked at the VpcConfig of your model and found only one subnet configured.
The error message "Unable to locate at least 2 availability zone(s) with the requested instance type XYZ that overlap with SageMaker subnets" usually indicates misconfigured VPCs. Sagemaker imposes mandatory requirement for at least 2 availability zones in your VPC subnets even if you only request one instance, to account for the potential use of auto-scaling in the future.
In order to create the endpoint, the number of subnets in your model needs to be at least 2 in distinct availability zones, and ideally as close to the total number of availability zones as possible in the region.
Hope it helps,
Wenzhao
Relevant content
- AWS OFFICIALUpdated 9 months ago
