Challenge 00 - Prerequisites - Ready, Set, GO!
January 7, 2025 ยท View on GitHub
Introduction
Thank you for participating in the Data Science in Microsoft Fabric What The Hack. Before you can hack, you will need to set up some prerequisites.
Common Prerequisites
We have compiled a list of common tools and software that will come in handy to complete most What The Hack Azure-based hacks!
You might not need all of them for the hack you are participating in. However, if you work with Azure on a regular basis, these are all things you should consider having in your toolbox.
Additionally, please refer to the Hack Introduction for more information about licensing requirements.
Description
Now that you have the common pre-requisites installed on your workstation, there are prerequisites specific to this hack.
To get started, download and unzip the Resources folder here. This folder contains the notebooks you will be working with, as well as a shell script that you will use to deploy some needed Azure resources.
NOTE: The Resources folder also includes the heart.csv file. You can upload this data directly to the Fabric Lakehouse if you decide you want to go through this hack without needing an Azure subscription. However, this will skip half of Challenge 1 and the important concept of using shortcuts in Fabric, as well as all of Challenge 6. If you are going to be setting up the Azure resources and using the shortcut, ignore the heart.csv file.
First, head to Microsoft Fabric.
- Create a new workspace by clicking on 'Workspaces' in the vertical menu on the left side of the screen. Use the 'New Workspace' button at the bottom of the list.
- Once you are inside your new workspace, select the Data Science experience using the button on the bottom left corner of the screen.
- At the top of the Data Science experience menu, check that you are still in the new workspace and select 'Import Notebook' from the top row of options.
- Follow the prompts to upload the 4 notebook
.ipynbfiles contained within the resources folder.
(Skip if working only on Fabric) To begin setting up your Azure subscription for this hack, you will run a bash script that will deploy and configure a list of resources. You can find this script as the deployhack.sh file in the resources folder you downloaded.
- Go to the Azure portal and click on the cloud shell button on the top navigation bar, to the right of the Copilot button.
- Once the cloud shell connects, make sure you are using a Bash shell. If you are not, click on the button on the top-left corner of the cloud shell to switch to bash.
- Click on the Manage Files button on the shell's navigation bar and select upload. Select the
deployhack.shfile from your computer. - Run the
sh deployhack.shcommand in your cloud shell. - Follow the prompts in the shell.
Success Criteria
To complete this challenge successfully, you should be able to:
- Verify that you have a Fabric workspace where your 4 notebooks are available
- Verify that you have a storage account with the heart.csv data in a container (unless uploading data directly to Fabric)
- (Optional) Verify that your Azure ML workspace has correctly deployed (if completing Challenge 6)