First deploy scripts
This commit is contained in:
parent
952bd41e39
commit
9661b2c047
5
deploy/az/create-resources.cmd
Normal file
5
deploy/az/create-resources.cmd
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
REM az group create --name eShopOnAzureDev --location westus
|
||||||
|
|
||||||
|
az group deployment create --resource-group eShopOnAzureDev --parameters @mvparams.json ^
|
||||||
|
--template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/docker-simple-on-ubuntu/azuredeploy.json
|
||||||
|
|
6
deploy/az/mvparams.json
Normal file
6
deploy/az/mvparams.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"newStorageAccountName": { "value": "eshopsrvmvstorage" },
|
||||||
|
"adminUsername": { "value": "eshop" },
|
||||||
|
"adminPassword": { "value": "Pass@word" },
|
||||||
|
"dnsNameForPublicIP": { "value": "eshop-srv" }
|
||||||
|
}
|
16
deploy/readme.md
Normal file
16
deploy/readme.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Deploying Resources On Azure
|
||||||
|
|
||||||
|
## Pre-requisites
|
||||||
|
1. [Azure CLI 2.0 Installed](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)
|
||||||
|
2. Azure subscription created
|
||||||
|
|
||||||
|
## Deploying using CLI
|
||||||
|
|
||||||
|
1. Run `az login` to login into your Azure subscription (note that you maybe need to use `az account set` to set the subscription to use)
|
||||||
|
2. Edit the file `mvparams.json` with your desired values
|
||||||
|
3. Run the file `create-resources.cmd` from command-line to create the Linux-based VM with Docker installed
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user