Dvc: How to properly configure dvc for use with azure storage

Created on 27 Jun 2019  路  5Comments  路  Source: iterative/dvc

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?

question

Most helpful comment

create a https://github.com/iterative/dvc.org/issues/462, to add more info to the docs

All 5 comments

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?

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)

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

create a https://github.com/iterative/dvc.org/issues/462, to add more info to the docs

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anotherbugmaster picture anotherbugmaster  路  3Comments

gregfriedland picture gregfriedland  路  3Comments

shcheklein picture shcheklein  路  3Comments

mfrata picture mfrata  路  3Comments

GildedHonour picture GildedHonour  路  3Comments