Skip to content

Latest commit

 

History

History
77 lines (56 loc) · 2.7 KB

environment-setup.md

File metadata and controls

77 lines (56 loc) · 2.7 KB

Environment Setup

Prior to Workshop Day

Option 1: Using Github Codespaces (recommended)

Create a GitHub account

  1. If you don't already have access to a GitHub account, navigate to: https://github.com
  2. Click on sign up.
  3. Use an email of your choice to create an account.
  4. Login to your new account.

Create a fork of this GitHub Repository and create Github codespace

  1. Navigate to this link to create a new fork (must be logged into your github account).
  2. Accept the default values and click on "Create fork" which will take you to the forked repository in the browser.
  3. From your forked repository click on the "<> Code" button. Then click on the "Create codespace on main" button.

Option 2: Using your own computer

The following are pre-requisites before starting the labs:

  • Linux Shell Terminal
  • Azure CLI
  • kubectl
  • Helm
  • Certbot
    • Option 1: using WSL, install using: sudo apt-get install certbot
    • Option 2: using Docker command: docker run -it --rm --name certbot \ -v "/etc/letsencrypt:/etc/letsencrypt" \ -v "/var/lib/letsencrypt:/var/lib/letsencrypt" \ certbot/certbot certonly

During Workshop Day

Login to Azure Portal with your credentials

Using Terminal login to Azure with this command:

az login

You should be prompted to login using browser:

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code <provided> to authenticate.

Navigate to the device login link in a browser, enter the provided code, then enter your Azure username and password.

Return to the terminal and select your subscription from the list.

Install the following Azure CLI extensions:

az extension add -n ssh
az extension add -n azure-firewall

Register the following providers:

az provider register --namespace Microsoft.Storage
az provider register --namespace Microsoft.Compute
az provider register --namespace Microsoft.Network
az provider register --namespace Microsoft.Monitor
az provider register --namespace Microsoft.ManagedIdentity
az provider register --namespace Microsoft.KeyVault
az provider register --namespace Microsoft.Kubernetes