Skip to content

Praveen Kumar Sreeram's Blog

Azure for developers

  • Home
  • Azure
  • Azure Data FActory
  • Azure Functions
  • Application Insights
  • Trainings
    • Azure Administration with DevOps
    • Azure DevOps – Online Training
    • Azure for Developers (Az-204)
    • Azure for Administrators (Az-104)
    • Azure for Data Engineers
    • Azure Data Factory
    • Learn Terraform with Azure
  • Azure Interview Questions
  • Azure DevOps
  • About
    • Contact
  • Microsoft Azure – Tips
November 25, 2016 Azure

Azure Resource Manage Template: Create A Storage Account Using Blank Template

Praveen Kumar Sreeram's avatarPosted by Praveen Kumar Sreeram
In this article we will learn how to create an Azure Resource (Storage Account) from scratch without using any built in templates.

Here are the steps:

Open Visual Studio (I’m using Visual Studio 2013) and create a New Project, select Cloud, then click Azure Resource Group.

 

Once you click OK in the previous step, Visual Studio displays all the available templates as shown below.

Now, select “Blank Template” and click on “OK”.

Visual Studio will create a couple of files which are described in my previous article.

In the left hand side of the azuredeply.json in Visual Studio, you will see a window with the title “JSON OutLine” which could be used to navigate across the ARM .JSON template file.

Expand the JSON Outline window and right click on “resources” element and select “Add New Resource”.

Clicking on the “Add New Resource” will open a new popup which displays the list of all resources which could be created using ARM template as shown below.

For this article, I have selected “Storage Account” as shown above. Now, provide a valid name and click on “Add” button.

As shown in the above screen capture, Visual Studio has created the following items that are required for creating the new resource “Storage Account”.

  • A New Parameter named “armstorageaccountType” in the “parameters” node.
  • A new Variable named “armstorageaccountname” in the “variables” node
  • A new resource in the “resources” node.

Replace the following line of code (I will explain the reason in the upcoming article)

“armstorageaccountName”: “[concat(‘armstorageaccount’, uniqueString(resourceGroup().id))]”

With the following:

The updated view of the JSON template should be something like this.

The updated ARM template file has a good amount of JSON now. I will explain about all the nodes in my next article.

OK, let’s deploy the file to Azure by right clicking on the project and selecting  “Deploy” -> “New Deployment”

Currently there are no resource groups in my subscription. Let’s create a new Resource Group by clicking on “<Create New…>” in the “Resource group” dropdown.

Please provide a name for the new Resource Group in the “Resource group name:” field and also select a location in the “Resource group location” as shown in the above screen shot. Before clicking on the “Create” button, go to “Resource Groups” tab in the Azure Management Portal as shown below.

Currently, there are no resource groups in my subscription and so the above list is empty. Let’s go and click on “Create” button in the Visual Studio.

Clicking on the “Create” button has created the new Resource Group in the selected location as shown below.

Now, click on the “Deploy” button of the “Deploy to Resource Group” window as shown below in the below screen capture.

Below is the screen capture of the “Output” window of the Visual Studio.

That’s it, the storage account named “armstorageaccount” is now successfully created using the ARM template.

You can reuse this ARM template in any of your environments.

Advertisements
 
 

Do you like this article? If you want to get more updates about these kind of articles, you can join my Learning Groups

WhatsApp

Telegram

Advertisements
Advertisements
Advertisements

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
Like Loading...

Related

ARMAzureAzure Resource Manager TemplateStorage Account

Post navigation

Previous Post

Basics Of Azure Resource Manage Template

Next Post

Azure Resource Manager Templates Deployment Mode – Incremental

6 comments

  1. Pingback: Create a Storage Account and learn how to access It Programmatically – Praveen Kumar Sreeram's Blog
  2. Pingback: Azure Storage Account Create Container Programmatically using C#.Net Storage Client Library – Praveen Kumar Sreeram's Blog
  3. Pingback: Azure Storage Account Why Two Access Keys – Praveen Kumar Sreeram's Blog
  4. Pingback: Azure Storage Account – Create Block Blob Programmatically using C#.Net – Praveen Kumar Sreeram's Blog
  5. Pingback: Azure Storage Account Configure CDN End Point – Praveen Kumar Sreeram's Blog
  6. Pingback: Azure Storage Account – Configure Security using Shared Access Signature – Praveen Kumar Sreeram's Blog

Leave a comment Cancel reply

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 151 other subscribers
Follow Praveen Kumar Sreeram's Blog on WordPress.com

Overview of Azure Bicep

Azure Bicep – Hello World

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 151 other subscribers

Azure Serverless Computing Cookbook

Azure Serverless Computing Cookbook by Praveen Kumar Sreeam - Third Edition
  • Azure Data Factory - Implement UpSert using Dataflow Alter Row Transformation
  • Azure - Assign API Permissions to Managed Identity using PowerShell
  • Azure DevOps - Failed to delete branch. Force push permission is required to delete branches
  • Azure Virtual Machines - Interview Questions
  • Azure DevOps – Configure Self Hosted Agent for Azure Pipelines
  • Azure App Service - Interview Questions
  • Azure Storage - Interview Questions
  • Azure DevOps – Tips and Tricks - 12– How to restrict direct commits to a branch using branch Policies
  • Azure SQL Database – Configure Job using Elastic Agents
  • Azure Data Factory - All about publish branch adf_publish
Advertisements

Blog Stats

  • 844,870 hits

Archives

  • February 2025 (1)
  • December 2024 (6)
  • November 2024 (1)
  • October 2024 (1)
  • March 2024 (3)
  • February 2023 (3)
  • November 2022 (7)
  • October 2022 (6)
  • September 2022 (3)
  • June 2022 (1)
  • May 2022 (3)
  • April 2022 (4)
  • February 2022 (6)
  • January 2022 (2)
  • December 2021 (1)
  • August 2021 (1)
  • May 2021 (1)
  • April 2021 (7)
  • February 2021 (1)
  • September 2020 (3)
  • August 2020 (1)
  • July 2020 (5)
  • June 2020 (7)
  • September 2019 (1)
  • October 2017 (1)
  • May 2017 (1)
  • March 2017 (14)
  • February 2017 (1)
  • January 2017 (2)
  • December 2016 (19)
  • November 2016 (31)
  • October 2016 (19)

Categories

  • .Net Core (3)
  • App Service (7)
  • Application Insights (5)
  • ASP.NET Core 3.1 (3)
  • Azure (141)
  • Azure Data FActory (10)
  • Azure DevOps (44)
  • Azure DevOps Interview Questions (1)
  • Azure Functions (8)
  • Azure Interview Questions (1)
  • Sitecore (10)
  • Tips & Tricks (25)
Advertisements

Follow me on Twitter

My Tweets

Blogs I Follow

  • Azure Cloud | John Lokerse
  • Common Man Tips for Power Platform, Dynamics CRM,Azure
  • Thomas Thornton Blog
  • somasundaram82
  • Praveen Kumar Sreeram's Blog
  • Big Data Analytics
  • Cloud and DevOps Space
  • Modern Enterprise IT - Think Hybrid, Think Cloud
  • Exercising Sitecore
  • salt and sitecore
  • Manohara Prasad
  • Sitecore Architecture
  • Kireet Tssk's Blog
  • Srikaracharya's blog
  • Sravani Reddy's Blog
  • ADITYA CIVIL WORKS
  • Karim Vaes
  • Build5Nines

Recent Posts

  • Azure Storage Account – Disaster Recovery: Planned Failover February 13, 2025
  • Azure – Assign API Permissions to Managed Identity using PowerShell December 29, 2024
  • Azure SQL Database – Configure Job using Elastic Agents December 29, 2024
  • Create Database-Scoped Users for Microsoft Entra Security Groups December 27, 2024
  • Implementing Inheritance in Azure Bicep: A Workaround Using Global and Module-Specific Tags December 23, 2024
Advertisements
Advertisements
Advertisements
Website Powered by WordPress.com.
Azure Cloud | John Lokerse

Common Man Tips for Power Platform, Dynamics CRM,Azure

Venkata Subbarao Polisetty - Microsoft MVP,C# Corner MVP

Thomas Thornton Blog

Empowering Developers with Azure, Azure DevOps, GitHub & Terraform Insights

somasundaram82

Praveen Kumar Sreeram's Blog

Azure for developers

Big Data Analytics

Occasional observations from a vet of many database, Big Data and BI battles

Cloud and DevOps Space

This website contains blogs about Microsoft Cloud i.e Azure and DevOps concepts.

Modern Enterprise IT - Think Hybrid, Think Cloud

Azure, Azure AD, Office 365

Exercising Sitecore

Sitecore, Sitecore Personalization, Sitecore Analytics, xDB, WFFM - Sitecore MVP & .NET Developer Blog

salt and sitecore

Don't give up on your dreams.......keep sleeping.

Manohara Prasad

Sitecore Architecture

Grant's Sitecore Rants

Kireet Tssk's Blog

Srikaracharya's blog

It is not about being best.. It is about being better than yesterday.

Sravani Reddy's Blog

It's all about sharing knowlege

ADITYA CIVIL WORKS

Help you in finding

Karim Vaes

The insights of a Quirky Tech Enthousiast on his journey through the fast paced IT landscape.

Build5Nines

Cloud, DevOps & SRE Guidance

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Comment
  • Reblog
  • Subscribe Subscribed
    • Praveen Kumar Sreeram's Blog
    • Join 151 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Praveen Kumar Sreeram's Blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
%d