Name: cloudbreak-azure-cli-tools
Owner: Hortonworks Inc
Description: Command line tool to deploy the MicrosoftDX/DASH project to a cloud service and create its storage accounts or create a Microsoft Azure Resource Manager application.
Created: 2015-08-14 15:23:17.0
Updated: 2017-07-11 09:00:18.0
Pushed: 2017-12-19 14:36:39.0
Size: 37
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The project first creates an Active Directory application with the configured name and password and adds the permissions that are needed to call the Azure Resource Manager API.
er run -it sequenceiq/azure-cli-tools:1.3 configure-arm --app_name myapp --app_password password123 --subscription_id 1234-abcd-efgh-5678 --username example@company.onmicrosoft.com --password password123
Options:
–app_name: Your application name. Default is app.
–app_password: Your application password. Default is password.
–subscription_id: Your Azure subscription ID.
–username: Your Azure username.
–password: Your Azure password.
The script can be run without Docker, but it is not recommended (see Notes - the Docker container has all the required dependencies)
git clone https://github.com/sequenceiq/azure-xplat-cli.git
release-0.9.8
branch in the azure-xplat-cli
directory: git checkout release-0.9.8
npm install
in the azure-xplat-cli
directoryAZURE_CLI_LOCATION
environment variable to the azure-xplat-cli
directoryExample:
E_CLI_LOCATION=../azure-xplat-cli ./cli_tools configure-arm --app_name myapp --app_password password123 --subscription_id 1234-abcd-efgh-5678 --username example@company.onmicrosoft.com --password password123
DASH deployer is a small project that can be used to easily deploy Microsoft's DASH project to an Azure cloud service. The project first creates the namespace account and the scaleout storage accounts, builds the .cscfg configuration file based on the created storage account names and keys, generates an Account Name and an Account Key for the DASH service and finally deploys the cloud service package file to a new cloud service.
er run -it sequenceiq/azure-cli-tools:1.3 deploy_dash --accounts 5 --prefix dash --location "West Europe" --instances 3 --username example@company.onmicrosoft.com --password password123
Options:
–accounts: The number of scaleout storage accounts to create. The number specified here doesn't include the namespace storage account. Default is 5.
–prefix: The name prefix of the storage accounts and cloud service that will be created by the tool. Must be between 1 and 10 characters, only numbers and lowercase letters are accepted. Default is dash.
–location: The Azure region where the resources will be created. Default is West Europe.
–instances: The number of virtual machines to create in the cloud service. Default is 1.
–username: Your Azure username.
–password: Your Azure password.
The script can be run without Docker, but it is not recommended (see Notes - the Docker container has all the required dependencies)
git clone https://github.com/sequenceiq/azure-xplat-cli.git
release-0.9.8
branch in the azure-xplat-cli
directory: git checkout release-0.9.8
npm install
in the azure-xplat-cli
directoryAZURE_CLI_LOCATION
environment variable to the azure-xplat-cli
directoryCSCONFIG_FILE
variable to a local path, where the .cscfg
file will be createdExample:
E_CLI_LOCATION=../azure-xplat-cli CSCONFIG_FILE=./ServiceConfiguration.Cloud.cscfg ./cli_tools deploy_dash --accounts 5 --prefix dash --location "West Europe" --instances 3 --username example@company.onmicrosoft.com --password password123