Skip to content
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

How to properly configure dvc for use with azure storage #2200

Closed
JohanMollevik opened this issue Jun 27, 2019 · 6 comments
Closed

How to properly configure dvc for use with azure storage #2200

JohanMollevik opened this issue Jun 27, 2019 · 6 comments
Assignees
Labels
question I have a question?

Comments

@JohanMollevik
Copy link

Hi

I have been unable to configure dvc to use azure storage. I ran

dvc remote add -d myremote azure://jmollevidvctest/

which seemed to work bu when I run

dvc push

I get an error

ERROR: failed to push data to the cloud - azure storage connection string missing

What am I missing, is there any example for adding all the data needed to dvc to make pushing data to azure work?

@efiop efiop added the question I have a question? label Jun 27, 2019
@efiop
Copy link
Contributor

efiop commented Jun 27, 2019

Hi @JohanMollevik !

You need to specify your connection string with

dvc remote modify myremote connection_string my-connection-string

Are you familiar with az utility? Do you specify the connection string there?

@JohanMollevik
Copy link
Author

No I am not, I have an azure account assigned to my at work but I am in the process of learning the ins and outs of it. Do you know how I find the connection strings or do you have an example so I know how one looks like so that I am able to search for it in the azure portal. (I'm trying to connect from linux if that makes a difference)

@efiop
Copy link
Contributor

efiop commented Jun 27, 2019

@JohanMollevik Ah, got it. Go to your storage account in the azure portal and click Access keys, it should be there.
image

@shcheklein
Copy link
Member

create a iterative/dvc.org#462, to add more info to the docs

@JohanMollevik
Copy link
Author

@efiop Thanks, that seems to have done the trick, now the azure storage account is filling up nicely

@josecelano
Copy link

I did not know how to set up all the configurations on the Azure side to get the config values for DVC. I did it with a sample app. It might be useful for someone else:

https://github.com/josecelano/data-version-control/blob/master/docs/azure-blob-storage.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question I have a question?
Projects
None yet
Development

No branches or pull requests

4 participants