Create a storage account using the Azure Resource Manager (ARM) Portal. The differences between a blob and a general purpose blob will be discussed.
- [Woman] Now that we spent some time learning about storage accounts and getting a little bit into the weeds, let's go ahead and actually create a storage account using Azure. As you can see, I've logged in Azure and I've already created a resource group called storage overview. Currently, there is nothing in this resource group at all, to add a storage account, I'm going to go ahead and click add. I could go ahead and search for storage, but I can see it's right down here. I'm just going to go ahead and click it. Now be for warned, there are two icons for storage accounts.
One is green, one is blue. You're looking for the green one, the blue one is for the classic portal. I'm going to go ahead and click create. I'm going to move this a little over on our screen, just a little easier to see. First of all, if we're going to provide a name for our storage account, this must be a unique name. Next, we're going to pick our deployment model. Everything we'll cover off in this course will be in the ARM or the Azure research manual template, but you can go ahead and still use the classic portal if you need to do so.
Next, we have different kinds of storage accounts. We have a general purpose storage account, we use this for blobs, files, tables and cues, or we have blob storage. And this is a special account for storing data, but it does not support page blobs. You will notice when I select the blob storage, we have two tiers, a cool tier and a hot tier. A cool tier is best for data that's used infrequently, such as long term backups. The hot tier will be data that you do access on a frequent basis.
Microsoft now recommends using blob storage for applications requiring only blob independent page storage, and again, this is only available in ARM and does not support page blobs. The other thing you'll notice with this storage is we don't have a choice on performance, it is standard only. If I go back to general purpose, I have the option to go into premium storage if I wish. And one thing that Microsoft has updated fairly recently is the SLA for virtual machines that use premium storage.
These machines now qualify for a 99.09% SLA, even if they're not configured in an availability set. As Microsoft is now recommending blob storage, I'm going to go ahead and choose blob. My performance will be standard and now I can choose the replication for this blob, locally redundant storage, meaning there are three copies within the local data center. Geo-redundant storage, meaning there are six copies across two data centers across regions, and then read-access geo-redundant storage.
I'm going to go ahead and just choose LRS for our demonstration. I'll leave it here as hot. Next, we can go ahead and choose encryption for our data at rest, if you wish to do so. I'm going to leave it disabled. We have a subscription. I'm going to use my pay as you go subscription. Because I created this within the research group, the resource group drop-down will automatically populate with that resource group. That's my preference, it'll be totally up to you. You may want to create your research groups on the fly, and then my location is the east US.
I'm going to go ahead and click create. And that's it. After a couple of moments you'll now have a storage account that you can start using. We can also create storage accounts using PowerShell. I have longed into PowerShell ISE, in administrative mode. I've already logged into my Azure account, and now I'm going to go ahead and create a new storage account. We're going to use the command new Azure RM storage account. We're going to provide a name for our storage account, specify the research group, the type, in this example, I'm going to go ahead and create a general purpose blob.
And I'm going to use a standard LRS and now I'm going to specify the location, which'll be in the east US too. Go ahead, click enter. And this'll take a few moments. Our account has now been provisioned, let's pop back into Azure and as you can see, our storage overview account, the first one we created, is now provisioned. I'm going to go ahead and refresh. And now our second account is also available to us. I'm going to go ahead and click into this account and take a look at some of the details.
You'll notice that we have blobs, files, tables and cues available to us. If we'd like to go ahead and add a container to our blob, we can easily do so. I'm going to click on container, we're going to call it demo container and I probably have the capital, it doesn't like that. That is exactly what it is. Here we are, and then we do have a three access types as well, private blob and container. A private is nobody can access it. The blob will allow public read access and the container will allow public read and list access to the entire container.
I'm going to go ahead and keep mine private. I'm going to go ahead and click create. I now have a container. I can upload files to this container, I can delete this container if I wish, and I can take a look at the access policy for it as well, if I wanted to change that. I'm going to scroll back over a little bit. Next thing I want to show you is files. This happens to be one of my favorite services within Azure. This is using Azure as a file share. Very similar to what we do on premise, where we'd have a server or a hard drive or a storage repository that we could then allow our users to access.
Typically, we'd mount that. In this case, I'm going to go ahead and click file share. Again, I know my naming is not very exciting. And then we can assign a quota to this file share as well. I'm going to limit it to five gig, and then click create. Now within this file share, we can create and add directories. So I can go ahead and add a directory, so let's say we have maybe HR. And then go ahead and add another one and let's just call it finance, create that. And then scroll back over a little bit.
And now we can go ahead and upload files to this directory if we wish to do so. One last thing I want to point out here is the open and explore. Microsoft has released, and is still in preview, the Azure Storage explorer. This is a great way to manage your storage accounts. I already have it open, so I'm going to go ahead and launch explorer. I'm going to go ahead and do a refresh, because I've added some new accounts. And you'll notice here that I have the two new accounts that I just created.
The storage overview, again, it'll have its blob containers. We don't have anything in there quite yet, and then this storage overview too, which is the one I created using PowerShell. If I go ahead and look at my containers, I have my demo container. I can go ahead and upload files to here, I can create a new folder if I wish, and then the file shares. So we've created an Azure account with containers and file shares within the portal and we created the storage account itself using PowerShell.
- Implementing storage blobs and Azure files
- Managing access
- Configuring diagnostics, monitoring, and analytics
- Enabling and viewing logs
- Implementing Azure SQL databases
- Implementing recovery services
- Creating an Azure Backup vault
- Configuring the Azure Backup agent
- Backing up and restoring files
- Backing up an Azure virtual machine