Setting up the bastion server

Create a bastion jump server for running the Azure command-line interface (CLI).

Procedure

  1. Create a bastion server for your hardware cluster:
  2. Log in to the bastion server and then run this command to install the required packages:
    • On CentOS:
      yum install azure-cli
    • On Ubuntu:
      sudo apt-get update
      sudo apt-get install azure-cli
  3. Verify the Azure CLI version:
    az --version

    The output is similar to the following example:

    username@servername ~ % az --version
    azure-cli                         2.60.0 *
    
    core                              2.60.0 *
    telemetry                          1.1.0
    Dependencies:
    msal                              1.28.0
    azure-mgmt-resource             23.1.0b2
    
    Python location '/opt/homebrew/Cellar/azure-cli/2.60.0/libexec/bin/python'
    Extensions directory '/Users/username/.azure/cliextensions'
    
    Python (Darwin) 3.11.9 (main, Apr  2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.1.0.2.5)]
    
    Legal docs and information: aka.ms/AzureCliLegal