Pre-Requisites
- An Azure Account with a valid subscription
- Azure Pass OR Azure Free Trial OR MSDN OR Pay As You Go
- No production accounts as scripts will be wiping resources from the environment
1. Deploy Windows 10 VM
a. Windows 10 Pro, Version 1803
- Standard_D2S_V3 or Standard_D4_v3 (preferred)
- Name: 20535A-SEA-ARCH
- RG: azurelab-rg
- Username: Add your initials to “admin” E.g. “doadmin”
- In lab instructions, replace “Admin” with this username
- In settings, leave everything as default apart from “inbound” port (select RDP)
- Create
b. Add data disk
- add data disk;
- Name: 20535A-SEA-ARCH-data01
- Size: 102
2. Prepare the machine
a. Attach data disk
- RDP to machine
- New volume
- Volume Label: Allfiles
- Volume Letter: F:
- diskmgmt.msc → Add new disk
- Drive Letter: F
- Volume Label: Allfiles
- download github content → Save As → 20533
- https://github.com/MicrosoftLearning/20535-ArchitectingMicrosoftAzureSolutions/releases
- Download “allfiles-v1.2.0.zip” or the latest version of “allfiles.zip”
- Extract all
- Copy content to “F:”
3. Pre-Requisite software
a. Download and install Visual Studio Code
- Create desktop icon
- Register as editor for supported file types
- Add to Path
- Install VS Code Azure Resource Manager Tools extension
- Install VS Code Azure CLI Tools extension
- Open and pin to taskbar
b. Download and install Azure Powershell
-
- https://docs.microsoft.com/en-us/powershell/azure/install-azurerm-ps
- Pin powershell to taskbar
[code language=”bash”]
# Confirm that PowerShell Get is installed
Get-Module PowerShellGet -list | Select-Object Name,Version,Path
# Install the Azure Resource Manager modules from the PowerShell Gallery
Install-Module AzureRM -AllowClobber
# Load the AzureRM module
Import-Module AzureRM
[/code]
c. Download and install Azure CLI 2.0
d. Download and install the Microsoft Azure Storage Explorer
- https://azure.microsoft.com/en-us/features/storage-explorer/
- Open and pin to taskbar
e. Enable Windows Subsystem for Linux
- The system will restart afterwards
[code language=”bash”]
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
[/code]
- We then need to install a distribution from the store
- https://aka.ms/wslstore
- Select “Ubuntu” → Get → No thanks for signing in
- Enter username “doadmin”
- Enter same password
- Pin to taskbar
- We can also open by opening powershell or cmd and typing “bash”