Azure
Create Azure Service Principal
To know how to create your Azure Service Principal, refer to Creating Azure Service Principal. This helps in setting the variables client_id
, tenant
and secret
.
To know your subscription id check out https://blogs.msdn.microsoft.com/mschray/2016/03/18/getting-your-azure-subscription-guid-new-portal/ |
The application should have |
Variables
Variable Name | Description | Default value |
---|---|---|
client_id |
Azure Client ID or Application Id |
|
secret |
Azure Client Secret Key |
|
subscription_id |
Your Azure Subscription ID . More info here |
|
tenant |
Azure Tenant ID |
|
location |
The Azure Regions. Examples: southindia, eastus, northeurope |
|
cloud_user |
The user to SSH into the instances, this will be created during instance creation. For Linux instances this user will have |
centos |
private_key_file |
The SSH private key file will be required to SSH into the instances, if the file does not exists it will created |
$PROJECT_HOME/keys/azure_id_rsa |
public_key_file |
The SSH Public Key of the |
$PROJECT_HOME/keys/azure_id_rsa.pub |
resource_group |
The resource group a.k.a logical group name under which all the resources of the |
OpenShift |
cloud |
The Azure Cloud Environment to use, possible values are AzurePublicCloud or AzureChinaCloud or AzureUSGovernment |
AzurePublicCloud |
vm_size |
The Azure VM sizes |
Standard_D4_v3 |
image |
The Azure VM OS Image, defaults to CentOS offered by Rogue Wave (OpenLogic) |
|
security_group |
Azure Network Security Group that will be by default attached to the network, by default allows Port 22, 80,443 and 8443 |
openshift-nsg |
vm_net_name |
The virtual private connection (VPC) name |
openshift-net |