This message was deleted.
# ask-for-help
s
This message was deleted.
t
@jjmachan Can it take this long? The bento is small
@Shiva Charan Velichala can you try your bentoctl apply command with --verbose
s
ran it with bentoml apply --verbose
5 mins still running
ui says its runinng
t
can you run an "aws s3 ls"?
do you know if you have enough privileges in your cluster? Are you the primary user?
j
hey @Shiva Charan Velichala this seems like this could be an issue with the cloud-init script that we use but to make sure you will have to connect into the ec2 instance. can you refer to the troubleshooting section here https://github.com/bentoml/aws-ec2-deploy#troubleshooting? basically you will have to ssh into the instance and check the logs
the logs at
sudo cat /var/log/cloud-init-output.log
s
@Tim Liu - i can run aws s3 ls and i am the primary user- not sure how to check for required previleges
t
if you are the primary user, that should be fine...
could you try to deploy to a t2 medium?
s
yassssss
it works on a t2.medium
trying now with gpu
t
sweet!
@Shiva Charan Velichala One thing to watch out for with the g4dn, I think I've tried on brand new aws accounts before and they won't let me start one up unless they've verified my usage a bit more. I then switched over to a corporate account and it worked
s
Yep, aws dint let me create a g4dn instance
I had to request to up my limits
I will try it out with the corp account tomorrow
👍 1
t
and try to remember to turn off your deployments too. I think it's bentoctl destroy -f deployment_config.yaml
s
Yep yep usually i just terminate the instance manually but yeah will use this
Also if i dont want to use terraform and just create a docker and diploy docker it still works right?
Or is terraform a mist for bento?
Must*
j
nope terraform is not a must, you can easily containerize the bentos and deploy it to docker
s
hey @jjmachan - i am seeing the following error: creating EC2 Instance: InvalidParameterValue: Value () for parameter groupId is invalid. The value cannot be empty
t
@Shiva Charan Velichala Could you describe the whole error? Wasn't it something like "no default vpc for this user"?
s
yeah, it was that and then i created a default vpc using aws ec2 create-default-vpc and now i see this error
t
oh... ok
try deleting your main.tf and bentoctl.tfvars files and then run the generate command again
maybe just the generate command might work, but to be sure
s
yep deleted main and vars and re created it same error 😟
Lmk if its easier to jump on a call and discuss
t
Yea let's grab a call in like 30 min. I'll dm you
s
hi @Tim Liu