Configures Spark cluster & a single node Cassandra on CentOS

上次更新日期: 2016/2/28

成本預估值

$675.3588000000

預估每月成本

了解計算方式以及如何依據需求來自訂

價格計算機

This project configures a Spark cluster (1 master and n-slave nodes) and a single node Cassandra on Azure using CentOS 7.x. The base image starts with CentOS 7.1 and it is updated to the latest version as part of the provisioning steps.

此 Azure Resource Manager (ARM) 範本是由社群成員 (而非 Microsoft) 建立。每個 ARM 範本都是由其擁有者 (而非 Microsoft) 依據授權合約授權給您。Microsoft 並不負責社群成員所提供和授權的 ARM 範本,而不會為了安全性、相容性或效能進行篩選。社群 ARM 範本並未依據任何 Microsoft 支援方案或服務提供支援,而且會在沒有任何擔保的情況下依現況提供。

參數

參數名稱 說明
storageMasterType Storage type that is used for master Spark node. This storage account is used to store VM disks.
storageSlaveType Storage type that is used for each of the slave Spark node. This storage account is used to store VM disks.
storageCassandraType Storage type that is used for Cassandra. This storage account is used to store VM disks.
vmMasterVMSize VM size for master Spark node. This VM can be sized smaller.
vmNumberOfSlaves Number of VMs to create to support the slaves. Each slave is created on it's own VM. Minimum of 2 & Maximum of 200 VMs.
vmSlaveVMSize VM size for slave Spark nodes. This VM should be sized based on workloads.
vmCassandraVMSize VM size for Cassandra node. This VM should be sized based on workloads.
vmAdminUserName Specific an admin username that should be used to login to the VM.
vmAdminPassword Specific an admin password that should be used to login to the VM.

使用範本

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/spark-and-cassandra-on-centos/azuredeploy.json
安裝和設定 Azure PowerShell

命令列

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/spark-and-cassandra-on-centos/azuredeploy.json
安裝和設定 Azure 跨平台命令列介面