Solutions that support Edge compute scenarios
Storage Accounts only provide direct access to single files. Edge compute scenarios may require remote users to access folder structure and files to quickly disseminate information and data.
-
Create storage account and sync it to the Azure Stack Edge.
- This is used to sync the VM image (.vhd) to the Azure Stack Edge.
- Follow the Microsoft Learn guide Tutorial to transfer data to storage account with Azure Stack Edge Pro GPU | Microsoft Learn.
-
Create NFS share and sync it to Azure Stack Edge.
- Follow the Microsoft Learn guide Tutorial to transfer data to shares with Azure Stack Edge Pro GPU | Microsoft Learn.
-
Validate storage is synced between Azure Stack Edge device and Azure Cloud.
- Copy files into the the share in Azure cloud and validate they show up on the Azure Stack Edge.
-
Create VHD and copy it to storage account on the Azure Stack Edge
- Use the Azure PowerShell commands in Ubuntu.ps1 to create a vhd from a managed disk using a Ubuntu image from the Azure marketplace.
-
Create VM running Ubuntu on Azure Stack Edge.
- Follow the Microsoft Learn guide Deploy VMs on your Azure Stack Edge Pro GPU via the Azure portal | Microsoft Learn.
-
Configure the VM
- Use a computer connected locally to the Azure Stack Edge
- Copy Bash commands in Ubuntu-Bash-InstallAndStart_HTTP_Host_FilesAndFolders.sh.
- Replace all locations of
uniqueName
with a unique name for the purpose of your solution. - Replace
ASE_IP_ADDRESS
with the IP Address of the Azure Stack Edge.- There are four ports, it is important to select the IP address of the port that has "compute" enabled.
- Copy and paste each line one by one into Bash on the VM running on the Azure Stack Edge device.
- You CANNOT copy ALL of the code and paste it, Bash doesn't manage sequential execution well.
-
Access the files and folders on the NFS share from a browser
- Using a browser on a device that can access the LAN IP address of the VM, visit
http://ASE_IP_ADDRESS:8080
.
- Using a browser on a device that can access the LAN IP address of the VM, visit