Blob storage

Blob stands for binary large object. This type of service can store almost everything, since it stores unstructured data, such as documents, files, images, VHDs, and so on.

Using the Azure Blob storage service allows you to store everything that we have just mentioned, and you can access anything from anywhere using different access methods, such as URLs, REST APIs, or even one of the Azure SDK storage client libraries, which will be covered later in this chapter.

There are three types of Blob storage:

  • Block blobs: They are an excellent choice to store media files, documents, backups, and so on. They are good for files that are read from A-Z (sequential reading).
  • Page blobs: They support random access for files stored on them. That is why they are commonly used for storing VHDs of Azure virtual machines.
  • Append blobs: They are similar to block blobs, but are commonly used to append operations. For example, each time a new block is created, it will be added to the end of the blob. One of the most common use cases within which append blobs can be used is logging, where you have multiple threads that need to be written to the same blob. This is an excellent solution that will help you to dump the logs in a fast and safe way.