Last active
August 9, 2016 13:33
-
-
Save daveyb/d6fa64433077f9d806301b5e527dfbb0 to your computer and use it in GitHub Desktop.
Revisions
-
daveyb revised this gist
Aug 9, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ azure config mode arm azure login #Select subscription azure account set BizSpark # "BizSpark" is the name of my subscription. Insert yours here. You can find all your subscriptions by running `azure account list` #Create a new resource group azure group create --name livedemo --location westus -
daveyb revised this gist
Aug 9, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ azure login azure account set BizSpark #Create a new resource group azure group create --name livedemo --location westus #Kick off the deployment azure group deployment create --resource-group livedemo --template-file azuredeploy.json -
daveyb created this gist
Aug 8, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ #Admin Powershell Set-ExecutionPolicy Unrestricted #Open Powershell (non-admin, for now) #Register Chocolatey as OneGet package provider Get-PackageProvider -Name Chocolatey #Install Git, node, npm, and vscode Install-Package git, nodejs, npm, visualstudiocode -force ** RESTART POWERSHELL ** #Checkout Example Repo cd ~\Desktop mkdir COAzure cd COAzure git clone https://github.com/daveyb/ubuntu-docker-aspnet-with-loadbalancer.git #Open code in VSCode, edit azuredeploy.parameters.json #Install azurecli npm install -g azure-cli #Put azure cli in ARM mode azure config mode arm #Login to azure cli azure login #Select subscription azure account set BizSpark #Create a new resource group azure group create --name livedemo --region westus #Kick off the deployment azure group deployment create --resource-group livedemo --template-file azuredeploy.json #Grab public IP of LB azure network public-ip list --resource-group livedemo #If something goes wrong, remove your resource group and try again azure group delete livedemo