First published on MSDN on Mar 21, 2017
In this article, we will discuss 11 possible ways to deploy
R Server on HDInsight
Cluster. Some of these ways will help in automating the cluster creation (using scripts). Majority of them are related to deployment using
Azure Resource Manager Templates
. ARM Templates are very useful and can be deployed in several ways. Here are the 11 ways :
ARM Template + Azure Portal
ARM Template + Powershell
ARM Template + Azure CLI 1.0
ARM Template + Azure CLI 2.0
ARM Template + Ruby
ARM Template + C#
ARM Template + Visual Studio
ARM Template + REST API
Let us discuss the above ways. I am not going into detailed description of all the ways - have provided guidance links and required code snippet wherever possible.
Using the Nuget Package
. The C# program is provided below. Replace with appropriate values for variables and run it. This program will create a Resource Group, a Storage Account and R Server on HDInsight Cluster.
We will be using the following template.json and parameters.json for #3 to #10. Save the following 2 json files in your local disk. Replace values in parameters.json with your own values.