Setting up the bastion server
Create a bastion jump server for running the Azure command-line interface (CLI).
Procedure
- Create a bastion server for your hardware
cluster:
- Centos 8 or Ubuntu
- 2 cores
- 4 GB RAM
For more information, see https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt&view=azure-cli-latest.
- 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
- On CentOS:
- 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