Microsoft Azure has a capability named Azure Container Service (ACS) that allows you to choose DC/OS as the orchestrator of the virtual machines group created. This section walks you through step-by-step on how to provision DC/OS on Azure using the Azure Container Service capability.
Step 1: Login to portal.azure.com using your Microsoft Azure credentials. If you are new or don't have credentials you can sign-up for Azure here and try it out.
Step 2: Click the 'New' button in the left hand menu.
Step 3: Type 'Azure Container Service'
Step 4: Click the 'Azure Container Service' result that has the purple icon.
Step 5: Review the 'Azure Container Service' description and click the 'Create' button.
Step 6: Create a SSH key that will enable you to access the 'Azure Container Service' once it has been created.
- for more info see the Azure ssh doc.
- ssh-keygen -t rsa -b 2048 -f azureuser -C "azureuser@linuxvm"
Step 7: Fill in the 'Basic' information needed to create the 'Azure Container Service' including:
- SSH user name & public key, more ~/.ssh/azureuser.pub and very carefully cut (without any extra whitespace) and paste the public key contents.
- select the Azure subscription you wish to associate this Azure Container Service with.
- create a new 'Resource Group' and enter a new unique name, e.g. esri40.
- select the 'Location'/region you wish this Azure Container Service to run in.
Step 8: In the 'Framework configuration' section choose 'DC/OS' as the Orchestrator configuration and click the 'OK' button.
Step 9: Fill in the 'Azure Container service settings' information needed to create the 'Azure Container Service' including:
- Set the 'Agent count' to the number of private agents you desire for your cluster. For the purposes of this demo app we will create 10 private agents.
- Click on 'Agent virtual machine size' to choose the VM size you would like your private agents to be.
- Click the 'View all' link to browse through all available VM sizes.
- Select the VM size you desire and click the 'Select' button. For the purposes of this demo app we will choose 'D4_V2 Standard' (8 cores, 28GB memory, 400GB local SSD storage)
- Set the 'Master count' to the amount you desire. For the purpose of the demo you can choose '1' or '3', either will work.
- Specify a new unique value for the 'DNS prefix for container service' field and hit the 'OK' button.
Step 10: Review the 'Summary' section, make sure that the 'Validation passed', and hit the 'OK' button.
Step 11: Carefully review the 'Buy' section and if you are ok with the pricing & terms of use hit the 'Purchase' button.
Step 12: Wait patiently for between 10-15 minutes for your 'Azure Container Service' to be provisioned.
Step 13: You will know your 'Azure Container Service' has been succefully created when you see the 'Resource group' appear.
Step 14: Scroll down in the 'Resource group' to find the entry marked 'Public IP address' for the DC/OS master(s) and click it.
Step 15: Wait a few seconds for it to appear, then hover the 'DNS name' and click the copy to clipboard icon.
Congratulations: You now have an 'Azure Container Service' in place on Microsoft Azure that is configured to orchestrate using DC/OS.