You will need the cli in order to interact with Auzre. Install nodejs and then execute npm install -g azure-cli
You will also need ssh in your system. If you are a Windows user the easier way to install it is git for Windows.
If you don't have a keypair stored in your system you can generate them using ssh-keygen -t rsa -b 2048 -C "email@dominio.com". DON'T OVERWRITE ANY PREVIOUSLY CREATED KEYS.
Lastly you can download this project by typing git clone https://github.com/capside/azure-mesos-pokemon.git and cd azure-mesos-pokemon
Cluster creation
CLI configuration
azure config mode arm
azure login
Ensure your subscription is correctly activated
azure account list
azure account set<subscription_number>
If this is your first time with that account you will need to register the needed services
set ADMIN_USERNAME=<you_username>set RESOURCE_GROUP=<a_logic_name>set DEPLOYMENT_NAME=<name_of_the_deployment>set ACS_NAME=containerservice-%RESOURCE_GROUP%
set LOCATION=westeurope
set TEMPLATE_URI=https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-acs-dcos/azuredeploy.json
set PARAMFILE=azuredeploy.parameters.json
EDIT azuredeploy.parameters.json and set the desired params
Deploy the cluster in the resource group
cd azure-arm
azure group create -n %RESOURCE_GROUP% -l %LOCATION% --template-uri %TEMPLATE_URI% -e %PARAMFILE% --deployment-name %DEPLOYMENT_NAME%
azure group deployment show %RESOURCE_GROUP% %DEPLOYMENT_NAME% | grep State
Manage the cluster using the web IU
Stablish a ssh tunnel between your laptop and one master
set MASTER=%RESOURCE_GROUP%mgmt.westeurope.cloudapp.azure.com
set AGENTS=%RESOURCE_GROUP%agents.westeurope.cloudapp.azure.com
start ssh -L 80:localhost:80 -N %ADMIN_USERNAME%@%MASTER% -p 2200