These labs are designed for delivery in a classroom setting with the Azure Global Blackbelt Team.
-
For these specific labs, we are assuming you will be using your own Azure subscription, as a relatively small set of Azure resources are required.
-
Setup Azure Cloud Shell:
-
Browse to http://portal.azure.com
-
Click on the cloud shell icon to start your session.
-
Select
Bash (Linux)
-
You will be prompted to setup storage for your cloud shell. Click
Show advanced settings
-
Provide a unique value for Storage account name. This must be all lower case and no punctuation. Use "cloudshell" for File share name. See example below.
-
Click
Create storage
Note: You can also use the dedicated Azure Cloud Shell URL: http://shell.azure.com
-
It is possible to use your own machine outside of the classroom. You will need the following Development, Java, Docker, Azure, and Kubernetes Utilities installed in order to complete these labs:
- Azure subscription
- Linux, Mac, or Windows with Bash
- Docker
- Azure CLI
- Visual Studio Code
- Helm
- Kubernetes CLI (kubectl)
- GitHub account and git tools
- JDK 8
- Maven
- From the Windows Command Prompt, install the Chocolatey Package Manager by running the following command:
powershell.exe -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
- From Powershell (all examples will use Powershell going forward), execute the following command to install the additional developer tooling and utilities
cinst git jdk8 maven visualstudiocode azure-cli docker docker-for-windows kubernetes-cli -y
- When the package installation is complete, close Powershell session and use Desktop Icon to start Docker initialization. You will be prompted to initially logout, just restart the VM. Two restarts will be required to fully initialize the Hyper-V subsystem for Docker to operate. Follow the prompts from Docker.
- After the 2nd VM restart and successful Docker startup, open a Powershell session and execute the following command to verify Docker install
docker run -it centos bash
- You should see something like the following (exit the container as shown)
Unable to find image 'centos:latest' locally
latest: Pulling from library/centos
469cfcc7a4b3: Pull complete
Digest: sha256:989b936d56b1ace20ddf855a301741e52abca38286382cba7f44443210e96d16
Status: Downloaded newer image for centos:latest
[root@e2584d2044c8 /]# exit
exit