Hello and welcome back to Cyber Aires. Microsoft Azure, Administrator A. Z one of three course I'm Will Carlson. And this is Episode 19 Blob Storage. In today's episode, we're going to talk about the different types of blobs, how you access your blob blob storage over the public Internet,
a little bit about blob containers and just generally about some of the options available for blobs here in the azure portal.
First, I'm gonna talk about the blob types available here in Azure, and thankfully, this is not one of the blob types. It's going to be available in Azure. But if I wanted to store this image as a blob, a blob of a blob, if you would hear an azure, I could do so with a block blob
and a block blob is simply going to be a file that's meant to be read or written in its entirety. Think an image or a video
that's gonna be stored here in Azure. An alternative to a block blob would be a page block, and Paige blobs are used for virtual hard disks, and this blob storage is optimized. Port random reads and writes before manage hard disks were a part of azure blocked blocked page blobs. Excuse me,
Page blobs were how you stored virtual hard disks. Here in the azure environment,
the third and final type of blob is going to be in a pen blob, and it's basically a block blob. But it's gonna be optimized for things to be added or appended to the end of the file. Pen blobs are gonna be really useful for log files.
We're gonna go ahead and get started here in port, although by going to the storage account that we created in the previous episode
and coming down here to blob service,
we're gonna click on blobs and see that there's not a whole lot going on here other than my ability to create a container. Now the container is essentially a folder here for blob storage. I'm gonna give this a name
and we can see that there's a problem with the name that I've selected. I go ahead and mouse over. It's gonna give me a tool tip is to what I need to do to fix the naming convention for this container.
I'm gonna go ahead and fix that, and then we are good to go.
There are three access levels here for blobs and private is gonna mean no anonymous access.
Blob means that anonymous users can access specific blobs, but they cannot look at all of the blobs in the folder and see them all at once.
Container is going to mean they can enumerate the entire folder and see all of the blobs that air in that folder and click on the ones that they want. And ultimately read the files individual.
I'm gonna go ahead, though, and leave this on private and select. Okay?
And that's created my container here in blob storage. If I click on this container,
I can go ahead and upload an image ride from here, or a video or whatever file I want up. Look,
gonna go ahead and click here.
Gonna upload a Nikon.
We're gonna blow that. And that's all there is to it. It uploaded a blob
while we're here in the blob container. You can see that we can also change the access level of the blob container that we set when we created it. But we can change it at any given point in time if we need to. I'm still gonna leave That is private for now.
Now, if I select on this particular file, I have a couple of other options that come up is well and just for reference. Acquire. Lease is basically putting a lock on this particular file. For example, if I wanted to do something with it and then I was gonna re commit it. But I didn't want anybody making changes until I was done
programmatically or when you're coding and using blobs
as your storage for applications, that's likely what you would do programmatically acquire a lease on the file, make the changes right it back, and then break the lease. But you can do that here manually as well. You can also create a snapshot of that particular blob
for basically a snapshot as a backup. You can view those snapshots here as well.
Something else that we see here in the container is that our current authentication method is access key and we can change access policy. We're not gonna talk about those in this episode, but we will be talking about securing storage in an upcoming episode as well.
One other thing while we're in the container level. If I go ahead and click on this particular blob
and view and edit. I have a couple of options here so I can edit the Blob if I want to. Clearly this is an image is a little bit difficult to do. But if this was text based Blob, I could edit that here
I can see the snapshots. And here in the overview, I can go in and change the access to your. Now, when we set up this storage account, we set the access tear. We set it too hot. Our other option was cool and those were the only two options when we configure the storage account.
But now that we are in the individual blob level,
I could go ahead and set this blob into the archive a tear.
Now again, that's going to keep this for long term retention. The S L A. On actually getting this file back as anything up to 15 hours. And the access fees for archival blobs are going to be much higher than on some of the other access to your options. But the storage cost is going to be much west.
You set the archived here on the blob level on the specific blob itself. We're gonna go ahead and leave this here, and we'll talk about generating SAS keys, access policies and some other security measures about blobs in an upcoming video. So in today's video, we talked about Paige about lobs, block blobs
We also talked about the earl strings that we use to access those blobs and the fact that we can create some custom domains to make those your girls a little more attractive for end users.
We also talked about containers that help us contain the blob so that it doesn't get out of control. Coming up next, we're gonna move on from talking about blobs and begin talking about files here in Azure. Thanks for joining me today. I hope to see you in the next video.