How to create HPC Cluster based on Azure CycleCloud
Installing Azure CLI
- Login to the machine using privileged account.
- Download the latest build of Azure CLI:
- Windows download instruction and location:
- Linux download instruction and location:
Login to the Azure subscription
- Run the command below to login to the Azure subscription:
- az login
- List available subscriptions:
- az account list --output table
- Change the context to a specific Azure subscription:
- az account set --subscription "My Subscription"
- Note: Replace "My Subscription” with the relevant subscription name
- Run the command below to verify the currently selected Azure subscription:
- az account show
Configure CycleCloud pre-requirements
- From a command prompt, run the command below to configure a service principal:
- az ad sp create-for-rbac --name CycleCloudApp-MySubscription --years 1
- Note: Replace CycleCloudApp-MySubscription with a unique name, relevant to the target Azure subscription
- Document the command output (appId, displayName, name, password, tenant)
- From Linux command prompt, run the command below to generate SSH key pair:
- ssh-keygen -f ~/.ssh/id_rsa -m pem -t rsa -N "" -b 4096