Lab 4: Azure storage (Blobs, Table, File and Queue)

Azure Step by Step Training Lab 4: Azure storage (Blobs, Table, File and Queue)
23 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€66.52
List Price:  €95.03
You save:  €28.51
£55.40
List Price:  £79.15
You save:  £23.74
CA$97.77
List Price:  CA$139.67
You save:  CA$41.90
A$107.48
List Price:  A$153.55
You save:  A$46.07
S$94.07
List Price:  S$134.39
You save:  S$40.32
HK$544.73
List Price:  HK$778.22
You save:  HK$233.49
CHF 61.85
List Price:  CHF 88.36
You save:  CHF 26.51
NOK kr773.61
List Price:  NOK kr1,105.21
You save:  NOK kr331.59
DKK kr496.19
List Price:  DKK kr708.87
You save:  DKK kr212.68
NZ$119.31
List Price:  NZ$170.45
You save:  NZ$51.14
د.إ257.07
List Price:  د.إ367.26
You save:  د.إ110.19
৳8,370.95
List Price:  ৳11,959.01
You save:  ৳3,588.06
₹5,916.42
List Price:  ₹8,452.40
You save:  ₹2,535.97
RM312.50
List Price:  RM446.45
You save:  RM133.95
₦117,624.49
List Price:  ₦168,042.19
You save:  ₦50,417.70
₨19,473.08
List Price:  ₨27,819.88
You save:  ₨8,346.79
฿2,426.48
List Price:  ฿3,466.55
You save:  ฿1,040.07
₺2,418.28
List Price:  ₺3,454.83
You save:  ₺1,036.55
B$406.67
List Price:  B$580.99
You save:  B$174.31
R1,268.60
List Price:  R1,812.36
You save:  R543.76
Лв130.09
List Price:  Лв185.85
You save:  Лв55.76
₩98,070.61
List Price:  ₩140,106.88
You save:  ₩42,036.26
₪261.37
List Price:  ₪373.41
You save:  ₪112.03
₱4,133.88
List Price:  ₱5,905.80
You save:  ₱1,771.92
¥10,806.63
List Price:  ¥15,438.71
You save:  ¥4,632.07
MX$1,423.91
List Price:  MX$2,034.25
You save:  MX$610.33
QR255.44
List Price:  QR364.93
You save:  QR109.49
P956.94
List Price:  P1,367.12
You save:  P410.17
KSh9,046.20
List Price:  KSh12,923.70
You save:  KSh3,877.50
E£3,475.04
List Price:  E£4,964.56
You save:  E£1,489.51
ብር8,733.50
List Price:  ብር12,476.97
You save:  ብር3,743.46
Kz63,853.79
List Price:  Kz91,223.61
You save:  Kz27,369.81
CLP$68,157.66
List Price:  CLP$97,372.26
You save:  CLP$29,214.60
CN¥506.84
List Price:  CN¥724.09
You save:  CN¥217.25
RD$4,224.90
List Price:  RD$6,035.83
You save:  RD$1,810.93
DA9,349.94
List Price:  DA13,357.64
You save:  DA4,007.69
FJ$158.89
List Price:  FJ$226.99
You save:  FJ$68.10
Q540.76
List Price:  Q772.55
You save:  Q231.78
GY$14,655.30
List Price:  GY$20,937.04
You save:  GY$6,281.74
ISK kr9,679.61
List Price:  ISK kr13,828.61
You save:  ISK kr4,149
DH699.78
List Price:  DH999.72
You save:  DH299.94
L1,274.52
List Price:  L1,820.82
You save:  L546.30
ден4,093.48
List Price:  ден5,848.08
You save:  ден1,754.59
MOP$561.60
List Price:  MOP$802.33
You save:  MOP$240.72
N$1,270.52
List Price:  N$1,815.10
You save:  N$544.58
C$2,577.69
List Price:  C$3,682.57
You save:  C$1,104.88
रु9,455.06
List Price:  रु13,507.81
You save:  रु4,052.75
S/265.82
List Price:  S/379.77
You save:  S/113.94
K281.99
List Price:  K402.86
You save:  K120.87
SAR262.75
List Price:  SAR375.38
You save:  SAR112.62
ZK1,938.58
List Price:  ZK2,769.51
You save:  ZK830.93
L331.04
List Price:  L472.94
You save:  L141.89
Kč1,685.42
List Price:  Kč2,407.85
You save:  Kč722.43
Ft27,354.11
List Price:  Ft39,078.98
You save:  Ft11,724.86
SEK kr771.99
List Price:  SEK kr1,102.90
You save:  SEK kr330.90
ARS$70,181.20
List Price:  ARS$100,263.16
You save:  ARS$30,081.95
Bs485.08
List Price:  Bs693
You save:  Bs207.92
COP$308,906.07
List Price:  COP$441,313.30
You save:  COP$132,407.23
₡35,572.52
List Price:  ₡50,820.06
You save:  ₡15,247.54
L1,770.13
List Price:  L2,528.86
You save:  L758.73
₲548,589.81
List Price:  ₲783,733.33
You save:  ₲235,143.51
$U2,994.50
List Price:  $U4,278.05
You save:  $U1,283.54
zł289.22
List Price:  zł413.19
You save:  zł123.97
Already have an account? Log In

Transcript

So, welcome to lab for as your storage. So, this is a 25 minutes of video and in this 25 minutes in a we will see that how to create a simple as your storage account what are the different data types like blobs, files queues and tables you know which are supported in as your storage. We will also talk about different configuration for storage like v one v two blob hot access cold access, we will also see you know that how as your provides different services like device services like standard and premium, you know, wherein we have HDD and SGD We will also talk about different disaster recovery mechanism or replication mechanism. You know, like LRS, LRS, GRS and ra GRS. And also we'll talk about a nice tool here called as as your Storage Explorer, which can make our as your storage things very easy. So 25 minutes of video.

So first let us start with what exactly is as your storage As your storage is a sophisticated mechanism, you know, wherein you can go and store your data, depending on different kinds of data types. Now, before I go to as your storage, let us try to understand that in our normal life, you know, in our normal computer, when you say you want to go and store data into your hard disk, right, what kind of thought process or what kind of things you know, does the end user do? For example, now, if someone comes to me and says, Okay, see, please go and create a document, then I automatically pick the Word document. If somebody says, create a presentation, then I pick a PowerPoint. So depending on the data type, I first choose my mechanism, my software, you know, by which I can handle that data type.

So that's the first step. The second step is when I say I want to store that data type, when I want to store that file, I store it in some kind of a physical drive. So this physical drive or this device, you know, can be an SGD can be an HDD. So, depending on what kind of drive you have, this data is stored. The third thing is in order that you know, we do not have problems later on, we go and we backup the data. So, we do have some must be some USB or we have a magnetic tape you know in which we keep a backup of the data, so, that we do not have problem.

So, in other words, we go through these three DS You know, when you actually go and store data normally. So, you first identify the data type accordingly you take action, then you go and you store that data type on some kind of a physical medium and then you actually go and you backup you know that you know that data right. So, now when it comes to store data in a car, it also follows the same 3d life cycle. So, first is you identify the data type, then you define what kind of device you want. And then the finally you define how your disaster and backup would be. So, in order to first add data As you're right, you need to go and create them as your storage account.

So you first create an Azure storage account. And then inside that storage account, you go and you add your data types. So you can see I've clicked on the plus new here and you can see there is something called a storage you click on this and there is something called as a storage account. So, first thing is let us give a name to this storage account. Now, remember that whenever you are working on a car, right, you will always find this small sign over here this information sign. So in case if you are confused about some fields that you can always click on this sign and read about it.

So you can see here, it says that this is the name which is given to the storage account in order to identify uniquely, right. So anytime you have a problem, just move your mouse on this and read this one small paragraph so that you understand what that field is. So let us first give a name here to the storage account. So I'll give a name here shave storage account, right so safe storage. dot co dot windows dotnet or don't see me that there is a ship storage account available there. Okay, see I'm famous right my store shave Okay, there it is.

The second thing is we have something here called SM deployment model. Now remember that we'll talk about the new as your which has which is which has which is there for past two years right in that you know we have the concept of resource group, but if you go to the old as your like you know, which was in 2008 2009 right, they did not have the concept of resource group. So, at that time you know, they had the classic model. So, in case you you have an old as your storage account and you are migrating to the new as your into the new version of a car, then you need to switch to classic or else you can just keep the resource manager because resource manager helps you to group the resources. It helps for better accounting. It helps you to you know assign security at the group level, so that it gets assigned to all the resources in that group and so on, right, so I'm going to go and click on this resource manager for now.

So, now, remember those three DS which I talked about. So, first thing is that you need to go and identify the data types right. So, you can see that this is the account kind and in this account kind you know, we can store different data types like blobs, files, tables, queues and so on. So, it says here that tell me you know, what kind of data you have. So, there are there are basically two categories in this one is there is something called as a storage and one is there is something called as a blob storage. Now, as your in general has three kind of data types, so, you can see, there is something called as a blob, there is something called as a file, there is something called as a tables and queues.

So, let us go through each one of them first. So, what I'll do is I'll switch back to my Word document out here and let us try to understand the difference. data types which are supported by OCR, okay. So, as your supports four kinds of data types the first one is the file a file means just a physical file which can be a Word file, a PowerPoint presentation, Excel file and so on right. So, this is one kind of data type. The second kind of data with support is of queues You know, sometimes we want data to be like first in first out.

So, if you are looking for that kind of data types, you know, then you can go and select queues and then we have binary data like you know, like an XC or must be a huge image file right. So, in that case, you can select the blob data type and in case you just have a name value pair, you know columns and rows right then you can you can select table. So, over here you can see that they have created a storage and a blob storage. So, storage means that in this, you will be storing blobs, files, tables, queues, all the four data types, but if you select blob then in this one the blobs will be stored okay. So, both of these accounts are different. So, in case you just want general purpose seeing that I am not looking only for blobs but I have to also store tables, I have to also store files, then you can select the first one, but if you say no like I am interested to one only store raw data binary data, then you can select the blob storage.

Now, also quickly, we have this general purpose v one and then we have the general purpose v two and then we have the blob storage. And if you see, when you are on v one, you would see that some things are not senior, but as soon as I switch to v2, you can see I see something called as access to cool and hot. If I switch to blob, I see I see this access tier, but if I switch to v one, I don't see it. So what exactly is this access tier this access DSC is that how how much is your data accessed for example, If you select hot you know that means that this data is access to frequently and must be that we can do some caching and you know increase your performance right. If it is cool you know that means that this data is not access too much.

So, must be we can disable caching we can look into a less ram kind of a thing and so on. So, in case if you are selecting the blob storage and if you are selecting the storage v2 right, you will see that there is something called as an access tier but that is not present in v1. But please note that if you're selecting this v2 and blob, you are charged accordingly remember in as your for everything that you select right you will be charged. So, please note that whenever you are selecting something select you know as per your need. Now you must be asking So, what is the difference between a storage v one and v two right and blob. So first thing storage v one is the most normal one in this you can still block us files but it does not have the access tier also it does not have the facility of archiving and also the throughput is less.

So, in case you're looking for very very basic thing then definitely General V one is good general purpose v one is good general purpose v two also stores exactly same like v one, but it has this access tier. Also it has the facility of archiving. If you read the as your online or online docs and it says that if you know rather than selecting Blob Storage, they are encouraging people to select storage v2. So, I would suggest that rather than selecting this blob storage in case you want to store blobs and you own the cool and hot feature, you can go and use this storage we do. So storage v one is general purpose, but it does not have the access tier it does not have archiving, storage we do it is again general purpose but it has cool it has access to here and also it has the archiving feature.

So now again, let us continue with our 3d flow. What we have what we have described previously. So remember, this is the first D in a where we have defined the data type. So what I'll do is I'll just select the general purpose v one because I don't want to get charged at this moment. The second thing is we need to now go and select the disk type. So, you can see there is something called as performance and in this we have standard and premium.

If you select standard that means that you will be getting an HDD drive and if you select premium, you will be getting an HDD drive. Now, in case you are not aware of the difference between SSD and HDD, let me explain you in HDD drive, you know, you have a mechanical arm and that mechanical arm actually reads the data from the disk. So it is it is bit slow as compared to HDD. While in SSD we do not have any kind of physical moment and we mostly have chips and through the chips and the mechanism of flash. We read the data and we store the data. So definitely the HDD In terms of efficiency is less than SGD.

But remember that SGD is comes at a cheaper cost. So, HDD drives are cheaper as compared to SGD okay. So, here again if you want better performance, you will select the SGD that is premium and if you say no like I just want to have a basic thing you can select as gd. So, we have defined the data type, we have defined the drive Now, it is time to go and define the disaster and backup So, you can see there is something called as replication and in this we have a lot of options like LRS, LRS, GRS and ra GRS. So, let us let us try to understand that what all these three options are in terms of data backup and disaster. Now, when we talk about disaster recovery, one of the most important thing in disaster recovery is that how do you create your backup plan so, We know that as your is a cloud service and at the end of the day when you say you are a cloud service, you have to be available in a lot of geographical location, right.

So, you can see, we have this something called as as your regions and as your is available in these geographical areas, what you see on the map. So, we have as your data centers in these areas. So, now, when you say that you want to create a backup and recovery plan a proper data replication plan, you would like to have the facility saying that Okay, my data center is in us, but I would like to make a replica copy into India. So, that in case if something happens in us, right, my India copies still there. So, you would like to actually have data backups and recoveries across the geographical location. So, from that perspective, you know, they have given us options here LRS, LRS, GRS and so on, right.

So, let us try to understand these options. So, here is the block diagram or I'll say a diagram which explains you know, how LRS clrs GRS and ra GRS work. So, let's first talk about LRS. Now, when you talk about backup, right, there will be two kinds of backups if you remember in our data types, you know, we said that we are seeing there are two kinds of data types one is we are seeing a general storage and another one is we are very specifically for blob right. So, here as your also classifies data into two types, one is the general data and another one is a blob data. So, if you say general data and if you select LRS right, if you say LRS then the backup copies are created in the same data center.

So in other words, for example, you have an India Chennai data center. So in that in India, Chennai data center, if I select this option here LRS that is locally redundant storage, then what it does is it actually creates a backup in that same data center. So it creates three copies of the backup in the same data center. But if something happens in that data center, then your backup is lost. Right. The second kind of option what we have here is GRS.

I will talk about GRS later on GRS. In GRS, what happens is the backup is done locally as well as it is done in some other region. So for example, if you have a US Texas data center, in that you know you can have so here you can have backup one backup to backup three, then again, you know, because of GRS you also have backup for backup five and backup six. So geographically you know they are located somewhere else as well. So in other words, here you have six backup copies, three locally and three in some other region. Now there is a third option here called as ra GRS.

This ra GRS here stands for read Access geo redundant storage. So if you see this array GRS is same like GRS but it has some extra things here that you can go and also read from the backup. So while the backup is happening, you can also read this backup. So LRS stores locally three backup copies GRS store six backup copies, three locally and three in the US data center or some other geographical data center, region wise they are far away and our GRS goes further one step then GRS it does make six copies but also you can read from the backup copies. So you can read from these copies as well. And also from the from your main copy as well and also from the backup copies.

Also we have a separate option here called a Zed Rs, which is very specially for blob data type. So we can see here, there is something called as a zone redundant storage, Zed RS which especially Typically for blob data storage. So, if you choose Sedaris right, then blob data's can be replicated either in some other geographical location or either in the same region. Center in a For example, I have an India China data center, I have an India Puna data center. Now these both are in the same region. So by clrs, you know, there will be a backup data copy here as well and as well as that'd be backup data copy and puni.

Also in GRS, it is possible that the data copies can also go into some other location. So clrs for blobs LRS for local data GRS geographically different, while ra GRS is geographically different, as well as you can read the data from those backup right. Now remember that if you're choosing the higher end options like Zed, RS and GRS, you will be charged for it. So please note that if you're making a choice, then ensure that you really need it right. So for now, I will not do it. I will just select LRS and it also says that we want to transfer this securely in other words by using SSL I will say no and I will create this in one resource group here saying resource one location I will keep at this moment same central us right and we'll talk about this virtual networks later on.

So you can see that I have covered all the three DS Firstly, I have defined my data type that I'm going to go and store in this files, blobs right. Second, I have defined my desktop I have said that I need an HDD disk. So a standard one and then also I have defined my disaster recovery. So all these three these are provided. Now I can go and create my storage account here my stewardship, so I'm going to go and hit on create over here. So you can see that I've said created and once you Go and see create, it will actually start creating the necessary services at the background.

So you can see at the right hand side it says, deployment of this group is in progress. So we can see now there my storage account is. So if you want to see the storage account, you can go and click on all resources. And you can see my store shift. And we can go here now and then you can start adding things. So for example, if you want to add a blob, then you need to add a container.

So you can go and you can add a container here. And in this you can go and upload blobs. You can see that if you want to add a file, you can go and you can add a file. So file share, we can give some name to it, allocate some, one quarter of one GB of hard disk, and in this I can now go and I can start uploading files, right? In the same way. I can also Go and start creating queues I can go and start creating tables and so on right.

Now definitely, when you talk about creating these things like files queues and so on right you need a better Management Studio for example, if I want to go and create a table it is difficult because in table the structures are in row and column and so on. So, if you see I add a table, you know, you will see that in this to create a column etc, they have not provided good user interface, you can see I have this table out here. Right. But you know, to this table, if I want to add data, then I really don't have anything right. So for that, you know, we have a nice software called as the Microsoft as your Storage Explorer. So you can get Microsoft Storage Explorer, you know, from this link, you know, which I have shown on the video, right?

So you can see that link. You can That link and you can get the Storage Explorer. And even if you google you will get this Microsoft Storage Explorer download right. So, you can go to the Storage Explorer and you can directly connect to your storage account and then you can start doing things. So, you can see here I am connecting to my Storage Explorer. So, my ID my correspond interview questions at interview questions@gmail.com whatever it is, right.

So I need to take that and I need to put it in my as your Storage Explorer. And then it gives a nice interface, you know, by which I can go and create tables, I can go and create queues, it helps me also to query and so on, right. So in order to connect to the storage account, you need to go and you need to add a connection, right you can see add an account. So if you click on Add Account, you need to sign in. So you can see that it asks for a sign in go ahead and sign in over here. Once you sign in, you can see at the left hand side, I can zoom zoom on that.

So you can see that he has been showing me that small icon that you know from where I can go and I can see, this is my stewardship, you can see my stewardship. And inside this my stewardship at this moment, I have created some file share, if you remember, I have created a file share, right? In the same way I can go and create queues. I can also go and create tables, right? So I can go and I can create a table here. Now look at this.

This is table. Let's say, I think I created already a table called as test if you remember, from my UI, from my online portal, I created a test. So in this test, now I can go and I can start adding data so I can see okay, some kind of identifier here. We'll talk about tables, queues, blobs in more detail later on right at this moment. My goal is to just explain you that how as your storage is created. And what are the different factors you need to take into account right?

So do not worry about this partition key row key, I will talk about it everything later on. Because I think we need separate dedicated videos for tables, queues, blobs, and files. Okay? But for now, just understand, you know, so I'll add a property here saying this is a name. So in this I will store shift, right and sort. So in case if you're looking at manipulating the data, creating, you know, the objects like blobs, files and shares and files, and queues, right, the Microsoft as your Storage Explorer is awesome.

Right. Great. So that brings us to the end of this video. In this video, my main goal was to make you acquainted with something called as Microsoft storage and what are the different data types you know how to go into the configuration, how to go and define your recovery plan, you know, and the different options you know, which are needed while you're creating the storage account. Now the next thing what we'll look into is something called as your Cosmos DB because now that we have started with with the storage things right, let us also go and cover Cosmos dB. Actually, I was planning to cover Cosmos dB, you know, in this lab in this current lab, but then I found that, you know, if I directly go to Cosmos dB, you know, I would be doing injustice to as your storage.

So, that's why I first take on the basics of Azure Storage. So in the next video, I will try to cover Cosmos dB. So I hope that you enjoyed this video. And next video is on as your Cosmos dB. Thank you so much.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.