Welcome!

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

Blog Feed Post

Azure CLI Day 57 – storage account create

bash-azure

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
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
If a machine can invent, does this mean the end of the patent system as we know it? The patent system, both in the US and Europe, allows companies to protect their inventions and helps foster innovation. However, Artificial Intelligence (AI) could be set to disrupt the patent system as we know it. This talk will examine how AI may change the patent landscape in the years to come. Furthermore, ways in which companies can best protect their AI related inventions will be examined from both a US and...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (November 12-13, 2018, New York City) today announced the outline and schedule of the track. "The track has been designed in experience/degree order," said Schmarzo. "So, that folks who attend the entire track can leave the conference with some of the skills necessary to get their work done when they get back to their offices. It actually ties back to some work that I'm doing at the University of San...
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...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...
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...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.