Server Monitoring Authors: Yeshim Deniz, Liz McMillan, Pat Romanski, Carmen Gonzalez, Ken Schwaber

Blog Feed Post

Azure CLI Day 57 – storage account create


In my previous 12 posts in this series I showed you how to use the Windows Azure cross platform command line tools to manage SQL servers and databases running in Windows Azure. In this post I’ll start taking a look at the commands available in the CLI tools to you to manage Windows Azure storage object. I’ll start with showing how to create a storage account.

Once again, just a reminder that I’m using the command line tools on a MacBook Air with OSX (Mavericks) installed, and I’m using Google Chrome as my default browser. However, the experience should be identical on Windows and Linux as well.

Open an instance of your command line (Terminal, Bash, Command Prompt, etc.) and type the following:

azure storage -h

Screen Shot 2013-11-26 at 3.37.11 PM

This shows all the commands you can use to manage storage objects. Before you can do anything with storage objects you first need to have a storage account, so let’s look at the commands specific to storage accounts. Type the following into your CLI:

azure storage account -h

Screen Shot 2013-11-26 at 3.39.20 PM

This shows you all the storage account specific commands available to you in the cross platform command line tools. Since a storage account is needed before you can do anything else, let’s take a look at the create command. Type the following into your CLI:

azure storage account create -h

Screen Shot 2013-11-26 at 3.41.40 PM

As you can probably guess by the name, the azure storage account create command will create a new Windows Azure storage account for your subscription. The only parameter you need to specify is the name of the storage account. There are a few options you can use as well when creating a Windows Azure storage account:

  • -e, –label – the label of the storage account
  • -d, –description – the description of the storage account
  • -l, –location – the location of the storage account
  • -a, –affinity-group – the affinity group* the storage account is associated with
  • –geoReplication – enable geo-replication** for the storage account
  • –disable-geoReplcation – disable geo-replication** for the storage account

*Affinity groups allow you to group your Windows Azure services to optimize performance. All services within an affinity group will be located in the same data center.

**When geo-replication is turned on for a storage account, the stored content is replicated to a secondary location to enable failover to that location in case of a major disaster in the primary location. The secondary location is in the same region, but is hundreds of miles from the primary location. Geo-replication is turned on by default.

To create a new storage account in the West US region, enter the following into your CLI, substituting where appropriate:

azure storage account create -l ‘West US’ ‘[YOUR STORAGE ACCOUNT NAME]‘

I entered the following:

azure storage account create -l ‘West US’ ‘adgrocstorage75′

Screen Shot 2013-11-26 at 3.56.55 PM

Once the command completes, you can log in to the Windows Azure Management Portal and verify that the storage account has been created.

Screen Shot 2013-11-26 at 3.58.09 PM

That’s it for now. In my next post I’ll show you how to use the Windows Azure cross platform command line tools to list the storage accounts associated with your subscription.

Did you know you can try Windows Azure for free for 30 days? Just go to http://aka.ms/thecloud and sign up.

Read the original blog entry...

More Stories By Adam Grocholski

Hey there! My name is Adam Grocholski, and I'm a Technical Evangelist at Microsoft where I spend time focusing on Windows, Windows Phone, and Windows Azure. I live in the frozen tundra of Minnesota and run thinkfirstcodelater.com. You can also follow me on twitter at @codel8r.

IoT & Smart Cities Stories
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
Cell networks have the advantage of long-range communications, reaching an estimated 90% of the world. But cell networks such as 2G, 3G and LTE consume lots of power and were designed for connecting people. They are not optimized for low- or battery-powered devices or for IoT applications with infrequently transmitted data. Cell IoT modules that support narrow-band IoT and 4G cell networks will enable cell connectivity, device management, and app enablement for low-power wide-area network IoT. B...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...