tags:

views:

750

answers:

3

I'm trying to move some table storage in Azure from local storage to the cloud. I had been using the "devstoreaccount1" for local access, but I'm not sure what I need to put there for moving to the cloud.

It's not the user account I used to sign up for my Azure accounts, is it? That's just my email address, and that didn't seem to work. I've tried the project name without luck either.

Is there anywhere in the portal that lists this account name?

Feel like a real n00b for asking this, but any help you can provide would be appreciated.

Thanks!

+3  A: 

It's my understanding that the account name is used to build the URL that points to your storage, so the only real criteria is that the name has to be unique, and it has to resolve to a valid url. For instance, if you put in an account name of "hotsauce" in your ServiceConfiguration.cscfg file, the path to your storage would resolve to:

http://hotsauce.table.core.windows.net

Since "devstoreaccount1" is the value they give you in the hands-on labs, I'm guessing someone claimed that name long ago. I haven't seen anything official, but I think it's a "first one in wins" game. Your e-mail address would not work either, probably, since the url would be malformed.

I've just been using a variation of my account name, per project. It's a simple combination of letters and numbers.

I've found the documentation to be pretty good, considering that Azure is in such an early stage, but there are still some ambiguities. Here is something that mentions account name:

http://msdn.microsoft.com/en-us/library/dd179360.aspx

Rob Collins
Sorry it took so long to accept this. I didn't think it worked, but it turns out it was something else I was doing wrong.
Adam Barney
A: 

Hi Adam. I'm struggled with this issue: I don't know which are my account name and shared key, and (I'm really sorry, I don't understand what Rob says) the previous message is a little bit confusing. Do u (or somebody in community) have any idea about this??

Thanks in advance. Alexis

Alexis
+2  A: 

goto https://windows.azure.com and login.

If you have a project listed, click on it.

You should see your project(s). The name of the project with the hard drive Icon is your storage project you

created earlier. This is your "Account name".

Click on your storage project.

You should now see a "Cloud Storage" section with some endpoints listed, a Primary Access Key and a

Secondary Access Key. The Primary and Secondary access keys are your keys, you can use either one.

If you need to create a project perform the following:

Click the New Service link

Select Storage Account

Enter a service label and description for your storage account e.g. myappstorage, and click next.

Enter a public name for your storage account, maybe [appname]storage or whatever you like. You can check

availability here which is handy. This will serve as your "Account Name". Click Create to complete the

process.

Enjoy!

sharpguru
This answer seems more right. Wonder why not accepted.
Ajit Singh