Work with blobs in storage accounts
1. Work with blobs in storage accounts
In this demo, we will use the previously created Azure storage account to work with blobs which are cloud based files. One of the primary benefits of storage accounts, and a commonly employed functionality in practice, is the capability to upload, download, and even edit files. We navigate to Azure portal and open the existing storage account. We proceed to upload a file to the cloud. This file must be placed in an existing container or we can create a new one. Since this is a new storage account, we don't have any containers yet and we will create a new one. A container is similar to a folder and lets us organize blob files in Azure. Once everything is configured, we choose "Upload". After the "successfully uploaded" message, we can navigate to "Blob service" and search for the "datacamp" container. By accessing the container, we'll find the recently uploaded file. Selecting the file name provides various options, including options like "Download". For generic text-based files and images, there's an option to view and edit them directly in the browser. The file we've uploaded is the DataCamp logo. Since the file is an image, it can only be previewed without the ability to make any changes to it. Let's upload another file. But first, we will create another container to put the file in. After the new container is created, we upload a text file from our local drive. If we now edit this file we will be able to change and save its content. Here's the list of file types we can edit directly in Azure cloud blob storage. Editing these files directly in Azure eliminates the need for constantly switching between local changes and re-uploading. It also provides a simple collaborative process when necessary. We've prepared some hands-on exercises on working with Azure blobs for you to explore next.2. Let's practice!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.