AzureStack-QuickStart-Templ.../101-vm-linux-create
vikasnav e038e8f32b
Revert back removal of bootDiagnostics
2019-04-17 17:03:50 -07:00
..
README.md Update README.md (#272) 2017-08-25 13:15:07 -07:00
azuredeploy.json Revert back removal of bootDiagnostics 2019-04-17 17:03:50 -07:00
azuredeploy.parameters.json Changed the Linux templates so more Linux flavors can be added. (#251) 2017-07-18 11:25:19 -07:00
centos.6.9.azuredeploy.parameters.json Update and rename centos.6.azuredeploy.parameters.json to centos.6.9.azuredeploy.parameters.json (#384) 2018-10-03 22:33:45 -07:00
centos.7.3.azuredeploy.parameters.json Changed the Linux templates so more Linux flavors can be added. (#251) 2017-07-18 11:25:19 -07:00
centos.7.4.azuredeploy.parameters.json Add new param file for CentOS 7.4 (#324) 2018-01-08 15:36:11 -08:00
centos.7.5.azuredeploy.parameters.json Adding new parameter file for CentOS 7.5 (#365) 2018-08-15 13:18:51 -07:00
debian.8.azuredeploy.parameters.json Adding Debian support to simple linux VM. (#253) 2017-07-19 22:12:29 -07:00
metadata.json Adding 2 templates that use managed disks and updating the updated date (#399) 2018-11-07 10:45:44 -08:00
suse.11sp4.azuredeploy.parameters.json Adding more flavors of SUSE. (#292) 2017-08-29 11:43:32 -07:00
suse.12sp2.azuredeploy.parameters.json Adding more flavors of SUSE. (#292) 2017-08-29 11:43:32 -07:00
suse.12sp3.azuredeploy.parameters.json Product VHD for SUSE 12 SP3 changed in marketplace feed. (#318) 2017-12-14 16:48:04 -08:00
ubuntu.14.04.azuredeploy.parameters.json Changed the Linux templates so more Linux flavors can be added. (#251) 2017-07-18 11:25:19 -07:00
ubuntu.16.04.azuredeploy.parameters.json Changed the Linux templates so more Linux flavors can be added. (#251) 2017-07-18 11:25:19 -07:00

README.md

[IaaS Linux VM]

This template deploys a simple Linux VM such as ubuntu 14.04, ubuntu 15.10, sles 12 SP1, CentOS 6.7, CentOS 7.2

Tags: [Linux]

Endpoint Version Validated
Microsoft Azure Stack - yes

Prerequisites

Follow the below links to create/download a Linux Image and upload the same to Azure Stack's Platform Image Repository

  1. https://azure.microsoft.com/en-us/documentation/articles/azure-stack-linux/
  2. https://azure.microsoft.com/en-us/documentation/articles/azure-stack-add-image-pir/ Note: please use the default values for linuxPublisher, linuxOffer, linuxSku, linuxVersion found in azuredeploy.json or parameters.json while creating the manifest.json in PIR

Deployment steps

  1. Deploy to Azure Stack portal using custom deployment
  2. Deploy through Visual Studio using azuredeploy.json and azuredeploy.parameters.json. Note: for other Linux versions deployment, rename the *.azuredeploy.parameters.json to the default name before deploying via VisualStudio
  3. Deploy the solution from PowerShell with the following PowerShell script
## Configure the environment with the Add-AzureRmEnvironment cmdlt 
Follow the below link to configure the Azure Stack environment with Add-AzureRmEnvironment cmdlet and authenticate a user to the environment
https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-powershell-configure


# Set Deployment Variables
$myNum = "001" #Modify this per deployment
$RGName = "myRG$myNum"
$myLocation = "local"

$templateFile= "azuredeploy.json"
$templateParameterFile= "azuredeploy.parameters.json"
# For Suse $templateParameterFile= "suse.12.sp1.azuredeploy.parameters.json"
# For CentOS 6.7 $templateParameterFile= "centos.6.7.azuredeploy.parameters.json"
# For CentOS 7.2 $templateParameterFile= "centos.7.2.azuredeploy.parameters.json"

# Create Resource Group for Template Deployment
New-AzureRmResourceGroup -Name $RGName -Location $myLocation

# Deploy Template 
New-AzureRmResourceGroupDeployment `
    -ResourceGroupName $RGName `
    -TemplateFile $templateFile `
    -TemplateParameterFile $templateParameterFile