This message was deleted.
# ask-for-help
s
This message was deleted.
🏁 1
🍱 1
💾 1
m
This is the follow up: bentofile.yaml:
Copy code
service: "service.py:svc"
labels:
  owner: bentoml-team
  project: gallery
include:
- "*.py"
python:
  packages:
    # - xgboost <-- I comment it out
    - sklearn
Logs:
Copy code
Successfully built docker image for "credit_risk_classifier:5cocavsqnkn6jqp6" with tags "credit_risk_classifier:5cocavsqnkn6jqp6"
To run your newly built Bento container, pass "credit_risk_classifier:5cocavsqnkn6jqp6" to "docker run". For example: "docker run -it --rm -p 3000:3000 credit_risk_classifier:5cocavsqnkn6jqp6 serve --production".
t
which ec2 instance are you using? This actually looks a little like a memory issue "Killed". Could you try on a bigger instance?
m
I am using ec2 instance that comes with free tier (1gb memory and 1 cpu), and it is an Ubuntu 20.04 server. I'm going to try a paid instance on your suggestion, I hope it won't have any issue.
t
Yea… that is a pretty small instance. I'd maybe try on a medium to test then turn it off when you are done
m
Sure. 👍
Medium instance works. Thanks Tim!
t
awesome!