Another post for me that is simple and hopefully serves as an example for people trying to get blogging as #SQLNewBloggers.
I thought this would make a nice SQLNewBlogger post, an easy get started one. I used the docs from Microsoft as a guide, so here’s how it went.
Login to my account. I used Add-AzureRMAccount here to get the login dialog. I’m not repeating this for now, so this is just an interactive test.
Now I tried to create a storage account, but I hadn’t assigned a subscription. I didn’t think I needed to since I only have one,but hey, I guess I do.
I started typing Select-AzureSubscription, but realized I didn’t know what it was. I can’t remember naming this and under my name in the portal, I didn’t see a place to find it.
Ah, under All Resources I see something, so I’ll try this.
On second thought, under My Permissions, I see it there.
Or not
Get-AzureSubscription doesn’t quite work.
It’s Get-AzureRMSubscription
So, why doesn’t my creation of the storage account work? I should really read error messages. The issue is Select-AzureSubscription fails because I need Select-AzureRMSubscription.
Sometimes the rev’ing of the cloud is hard.
Actually, maybe neither work.
I retreat.
I’m still annoyed. “US West” isn’t valid. FFS, Microsoft. Whether I type any of these, just ask me or process them.
- “US West”
- “West US”
- “USWest”
- “US_West”
OK, I decided to go exercise for a bit.
I’m back (30 minutes later), and I try Get-AzureLocation. I can guess some cmdlets. I get a lot of stuff back and see “West US” is valid. I try a few other valid names of regions, but get errors. It’s not that parameter.
Let’s try a new name.
#$%#@#@# engineers and developers. That’s a valid error message? Not, this is a duplicate or something that makes sense. Glad I left.
Maybe not. At least this is an error that makes sense.
Finally. Let’s upload the VHD.
And it’s off.
Hopefully this will work. I haven’t tried this with PoSh before, and it was somewhat frustrating, though it really didn’t take that long.
SQLNewBlogger
This was a bit of a live blog. Do something, take a screenshot, write some text. It was a bit of a learning experience.
Filed under: Blog Tagged: Azure, powershell, SQLNewBlogger, syndicated