Azure Architect Lab Series (1) – Setting up the Lab VM

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email


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

3. Pre-Requisite software

a. Download and install Visual Studio Code
b. Download and install Azure Powershell

[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
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”

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Uncategorized

New Azure Container Instance Vulnerability — What to do?

Just yesterday, Microsoft disclosed a new (and yet to be clarified) Azure Container Instance vulnerability — https://msrc-blog.microsoft.com/2021/09/08/coordinated-disclosure-of-vulnerability-in-azure-container-instances-service/. From the information shared in the disclosure, it seems

Protecting against #ChaosDB

Cloud security researchers @sagitz and @nirohfeld who both work at Wiz recently discovered what I think is a major vulnerability that exploits the recent CosmosDB Jupyter notebook feature to

Do You Want To Boost Your Business?

drop us a line and keep in touch