Page tree

Michael O'Brien

Skip to end of metadata
Go to start of metadata

Quickstart

Microsoft Azure

Azure CLI Installation

https://docs.microsoft.com/en-us/azure/guides/developer/azure-developer-guide

Azure CLI on Windows

For machines where the option to install docker is n/a - we will use kubectl to run against a remote kubernetes cluster (in this case AKS)

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest

install the msi, run "az login", when the popup comes up in chrome - switch to IE as you will likely want to test on a separate microsoft account

Don't navigate to https://aka.ms/devicelogin - copy/paste the url generated by az login into another browser and use your other account

PS F:\> az login
You have logged in. Now let us find all the subscriptions to which you have access...

[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "bc...",
    "id": "f4b..",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Pay-As-You-Go",
    "state": "Enabled",
    "tenantId": "bcb...",
    "user": {
      "name": "mic...g",
      "type": "user"
    }
  }
]





Bastion Jump Box

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest

 


OSX

Windows

Follow https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest by installing the MSI https://aka.ms/installazurecliwindows as of 20200119 azure-cli-2.0.80.msi.

az login

PS C:\WINDOWS\system32> az login
You have logged in. Now let us find all the subscriptions to which you have access...
[{
    "cloudName": "AzureCloud",
    "id": "f4b7...70e8b",
    "isDefault": true,
    "name": "Pay-As-You-Go",
    "state": "Enabled",
    "tenantId": "bc....4f",
    "user": {
      "name": "mi...org",
      "type": "user"
    }}]

# verify
PS C:\WINDOWS\system32> az account list-locations
[
  {
    "displayName": "East Asia",
    "id": "/subscriptions/f4b79...e8b/locations/eastasia",
    "latitude": "22.267",
    "longitude": "114.188",
    "name": "eastasia",
    "subscriptionId": null
  },



Requirements

Azure Subscription


  • No labels