Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Task 03: Upload data to the litwareuc storage account

Introduction

Before Fabric and Databricks can work with Litware’s data, the data must be uploaded into Azure Data Lake Storage. In this task, you’ll create a container and upload the source datasets that will be used throughout the lab.

Description

In this task, you’ll create a container in the litwareuc@lab.LabInstance.Id storage account. Then, you’ll upload data to the container.

Example scenario

Litware has shared historical sales, product, and website data with Zava. This data needs to be stored centrally so it can be accessed by Fabric lakehouses and Databricks pipelines.

Success criteria

The Litware storage account contains all required folders and files, and the data is visible in the storage container.

Learning resources

  • Azure Storage Explorer overview
  • Azure Data Lake Storage Gen2 fundamentals

Key tasks

01: Get the access key for the storage account

  1. On the Azure home page, in the Search field, search for and select Storage accounts.

    dz2xd7cr.jpg

    [!alert] Be sure to use Storage accounts and not Storage accounts (classic). The instructions and screenshots will not be correct if you use Storage accounts (classic).

  2. On the Storage Accounts page, select litwareuc@lab.LabInstance.Id.

    hadzz3th.jpg

  3. In the left pane, select Security + networking and then select Access keys.

    ipy0kikn.jpg

  4. In the key1 section, in the Key field, select Show.

    xugcfbd5.jpg

  5. Copy the key and paste it into the following text field. You’ll use the key later in the workshop to create a shortcut from the Fabric workspace to the data.

    @lab.TextBox(LitWareDataAccessKey)


02: Upload files to the storage account

  1. On the virtual machine taskbar, select the shortcut to launch Azure Storage Explorer.

  2. Select Sign in with Azure.

  3. In the Select Azure environment dialog, select Azure and then select Next.

    w8qjliw5.jpg ckmso6g2.jpg

  4. Sign in by using the following credentials:

    Setting Value
    Username @lab.CloudPortalCredential(User1).Username
    Temporary Access Pass (TAP) token @lab.CloudPortalCredential(User1).AccessToken
  5. On the Account Management pane, select Open Explorer.

    41szw8yh.jpg

  6. In the Explorer pane, expand the folder with the key symbol and then expand Storage Accounts.

    tosmdwnx.jpg

  7. Expand litwareuc@lab.LabInstance.Id.

    am1v4uml.jpg

  8. Right-click Blob Containers and then select Create Blob Container.

    7jh7sa1m.jpg

  9. In the text field, enter litwaredata and then select Enter.

    xcxa94s3.jpg

  10. On the new tab that opens, on the command bar, select Upload and then select Upload Folder.

    xdhoby8r.jpg

  11. In the Upload Folder dialog, in the Selected folder field, select the ellipses ().

    0zjzzeiq.jpg

  12. In the Choose folder to upload dialog, go to C:\Lab Assets\LitwareData. Select data and then select Select folder.

    5rp8q391.jpg

  13. Select Upload.

    tgna4wk4.jpg

  14. Wait while the files upload.

  15. Repeat Steps 10-14 to upload the litwaredata and Products folders.

  16. In the litwaredata pane, verify that all three folders are listed and that there are files in each folder.

    q4wmpgeu.jpg

  17. Close Azure Storage Explorer.