Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Azure CLI Day 1 – Account Download

DZone's Guide to

Azure CLI Day 1 – Account Download

· Cloud Zone ·
Free Resource

Discover a centralized approach to monitor your virtual infrastructure, on-premise IT environment, and cloud infrastructure – all on a single platform.

Bash azure

In my previous post ( http://thinkfirstcodelater.com/blog/?p=2957) I showed you how to install the cross platform command line tools to manage your Windows Azure services from your local console. However, before you can start taking control of Windows Azure you need to provide your account information to the command line. In this post I’ll show you how to download this information.
Once again, just a reminder that I’m using the command line tools on a MacBook Air with OSX (Mountain Lion) installed, and I’m using Google Chrome as my default browser. However, the experience should be identical on Windows and Linux as well.
If you don’t have a Windows Azure account you’ll need to sign up for one. You can try Windows Azure for free for 30 days. Just go to  http://aka.ms/thecloud and sign up.
The first thing you’ll need want to do is open an instance of your command line (Terminal, Bash, Command Prompt, etc.) and type the following:
azure account download -h 
01 account download
This will launch your default browser and prompt you to log in with the Microsoft account associated with your Windows Azure subscription(s).
02 sign in
After you successfully sign in your account information, known as your publish settings, it will start downloading.
03 download
Once your publish settings are downloaded you’re ready to import them into your command line to start managing your Windows Azure resources. I’ll show you how to do that in my next post.

Learn how to auto-discover your containers and monitor their performance, capture Docker host and container metrics to allocate host resources, and provision containers.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}