hortonworks/cloudbreak-azure-cli-tools

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

Homepage:

Size: 37

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Azure CLI tools

Notes
Configure Azure Resource manager application easily!

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.

Usage
With Docker (recommended)
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.

Without Docker

The script can be run without Docker, but it is not recommended (see Notes - the Docker container has all the required dependencies)

Example:

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
Deploy DASH easily!

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.

Notes
Usage
With Docker (recommended)
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.

Without Docker

The script can be run without Docker, but it is not recommended (see Notes - the Docker container has all the required dependencies)

Example:

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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.