New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating S3 bucket: BucketAlreadyOwnedByYou #70
Comments
The first one is expected if you already have created that bucket. The second one sounds like it is trying to load the Terraform state from the S3 bucket that you have now deleted. It's useful to save Terraform state in S3 if you are working in a team environment, but it's simpler to just save terraform state locally. You can toggle it in https://github.com/datarevenue-berlin/OpenMLOps/blob/master/terraform_backend.tf and see some general information there too. |
In the output, it says: So I think it does not use the config in terraform backend. |
@NhatAnh please move your backend file to your |
I got error: When I comment out the terraform block in main.tf, then I got another error: |
Please leave the terraform block in main.tf. The backend file actually is only required if you are going to use S3, and its not what is inside the
|
You can check more info here: https://www.terraform.io/docs/language/settings/backends/configuration.html The extra file might not even be necessary, you could set those keys directly into |
Hi, I got to the end of the tutorial. But the link https://mlops.pixtavietnam.com/ return 404. While the link https://jupyter.mlops.pixtavietnam.com/ return 401. How do I get the auth link https://mlops.pixtavietnam.com/auth/profile/registration to work? Thanks |
So, your "homepage" won't work unless you have routing rules set for it that lead to a service returning a webpage. |
Thank you, I got it almost 100% working. But I got |
Hmm, checkout this issue, there is some relevant info at the very bottom of the discussion: I hope it helps, but if it doesn't, please tell us :) |
It seems to have fixed itself overnight :) Just one more question: If I don't need to use the cluster immediately, should I 'terraform destroy' to save money and create cluster again later. Or what can I do to save money and resources? Like temporarily stop pods/nodes or something? |
I would say the safest is to destroy, but you can try scaling everything to 0 and then monitor your costs in AWS console to see if they are going up. Would be nice to know if that's an option but I believe they will still charge you :x |
When I try to follow the instruction at https://github.com/datarevenue-berlin/OpenMLOps/blob/master/tutorials/set-up-open-source-production-mlops-architecture-aws.md
I got to the step running: terraform apply -var-file=my_vars.tfvars
But I got: Error creating S3 bucket: BucketAlreadyOwnedByYou: Your previous request to create the named bucket succeeded and you already own it.
│
│ with aws_s3_bucket.mlflow_artifact_root,
│ on main.tf line 11, in resource "aws_s3_bucket" "mlflow_artifact_root":
│ 11: resource "aws_s3_bucket" "mlflow_artifact_root"
If I delete the S3 bucket and rerun the command, I got: Error loading state: S3 bucket does not exist.
So maybe it was using that bucket, but then later try to create the bucket again?
The text was updated successfully, but these errors were encountered: