Closed mauricioalarcon closed 2 years ago
Hey @mauricioalarcon, thanks for reporting this issue!
Using bentoml to deploy to the cloud is now being deprecated and the recommended approach to deploying bentoml services built with 0.13 is to use the scripts here --> https://github.com/bentoml/aws-sagemaker-deploy/tree/pre-v1.0 can you try with this.
Seeing the log messages it seems like it is due to some issues with the base image which should be fixed with the scripts
@mauricioalarcon can't thank you enough 😃! I'm closing this issue now but feel free to open one in the bentoml/aws-sagemaker-deploy repo if you run into any other issues
Describe the bug Trying to deploy to sagemaker via
bentoml sagemaker deploy iris -b IrisClassifier:20211116135509_5F8DAE --api-name predict
returnsError: sagemaker deploy failed: INTERNAL:Failed to build docker image 270286309069.dkr.ecr.us-east-1.amazonaws.com/irisclassifier-sagemaker:20220225160251_ed85f0: The command '/bin/sh -c apt-get update --fix-missing && apt-get install -y nginx && apt-get clean' returned a non-zero code: 100
To Reproduce
Steps to reproduce the issue:
aws cli
as per this instructionsbentoml sagemaker deploy iris -b IrisClassifier:20211116135509_5F8DAE --api-name predict
Expected behavior A new deployment in Sagemaker
Current behavior
Environment: