Get started with Azure Data Lake Store using the Azure portal
Learn how to use the Azure portal to create an Azure Data Lake Store account and perform basic operations such as create folders, upload, and download data files, delete your account, etc. For more information, see Overview of Azure Data Lake Store.
Before you begin this tutorial, you must have the following items:
- An Azure subscription. See Get Azure free trial.
Create an Azure Data Lake Store account
- Sign on to the new Azure portal.
- Click Create a resource > Storage > Data Lake Store.
In the New Data Lake Store blade, provide the values as shown in the following screenshot:
- Name. Enter a unique name for the Data Lake Store account.
- Subscription. Select the subscription under which you want to create a new Data Lake Store account.
- Resource Group. Select an existing resource group, or select the Create new option to create one. A resource group is a container that holds related resources for an application. For more information, see Resource Groups in Azure.
- Location: Select a location where you want to create the Data Lake Store account.
Encryption Settings. There are three options:
- Do not enable encryption.
- Use keys managed by Data Lake Store. if you want Azure Data Lake Store to manage your encryption keys.
Use keys from your own Key Vault. You can select an existing Azure Key Vault or create a new Key Vault. To use the keys from a Key Vault, you must assign permissions for the Azure Data Lake Store account to access the Azure Key Vault. For the instructions, see Assign permissions to Azure Key Vault.
Click OK in the Encryption Settings blade.
For more information, see Encryption of data in Azure Data Lake Store.
Click Create. If you chose to pin the account to the dashboard, you are taken back to the dashboard and you can see the progress of your Data Lake Store account provisioning. Once the Data Lake Store account is provisioned, the account blade shows up.
Assign permissions to Azure Key Vault
If you used keys from an Azure Key Vault to configure encryption on the Data Lake Store account, you must configure access between the Data Lake Store account and the Azure Key Vault account. Perform the following steps to do so.
If you used keys from the Azure Key Vault, the blade for the Data Lake Store account displays a warning at the top. Click the warning to open Encryption.
The blade shows two options to configure access.
- In the first option, click Grant Permissions to configure access. The first option is enabled only when the user that created the Data Lake Store account is also an admin for the Azure Key Vault.
- The other option is to run the PowerShell cmdlet displayed on the blade. You need to be the owner of the Azure Key Vault or have the ability to grant permissions on the Azure Key Vault. After you have run the cmdlet, come back to the blade and click Enable to configure access.
You can also create a Data Lake Store account using Azure Resource Manager templates. These templates are accessible from Azure QuickStart Templates:
- Without data encryption: Deploy Azure Data Lake Store account with no data encryption.
- With data encryption using Data Lake Store: Deploy Data Lake Store account with encryption(Data Lake).
- With data encryption using Azure Key Vault: Deploy Data Lake Store account with encryption(Key Vault).
Create folders in Azure Data Lake Store account
You can create folders under your Data Lake Store account to manage and store data.
- Open the Data Lake Store account that you created. From the left pane, click All resources, and then from the All resources blade, click the account name under which you want to create folders. If you pinned the account to the startboard, click that account tile.
In your Data Lake Store account blade, click Data Explorer.
From Data Explorer blade, click New Folder, enter a name for the new folder, and then click OK.
The newly created folder is listed in the Data Explorer blade. You can create nested folders upto any level.
Upload data to Azure Data Lake Store account
You can upload your data to an Azure Data Lake Store account directly at the root level or to a folder that you created within the account.
- From the Data Explorer blade, click Upload.
In the Upload files blade, navigate to the files you want to upload, and then click Add selected files. You can also select more than one file to upload.
If you are looking for some sample data to upload, you can get the Ambulance Data folder from the Azure Data Lake Git Repository.
Actions available on the stored data
Click the ellipsis icon against a file, and from the pop-up menu, click the action you want to perform on the data.
Secure your data
You can secure the data stored in your Azure Data Lake Store account using Azure Active Directory and access control (ACLs). For instructions on how to do that, see Securing data in Azure Data Lake Store.
Delete Azure Data Lake Store account
To delete an Azure Data Lake Store account, from your Data Lake Store blade, click Delete. To confirm the action, you'll be prompted to enter the name of the account you wish to delete. Enter the name of the account, and then click Delete.