I modelli di Avvio rapido di Azure sono al momento disponibili in inglese
This template uses the Azure Linux CustomScript extension to deploy an application. This example creates an Ubuntu VM, does a silent install of Python, Django and Apache, then creates a simple Django app. The template also creates a SQL Database, with a sample table with some sample data which displayed in the web browser using a query
Questo modello di Azure Resource Manager è stato creato da un membro della community e non da Microsoft. Ogni modello di Azure Resource Manager viene concesso in licenza ai sensi di un contratto di licenza a cura del proprietario e non di Microsoft. Microsoft non è responsabile dei modelli di Azure Resource Manager forniti e concessi in licenza da membri della community e non ne verifica la sicurezza, la compatibilità o le prestazioni. I modelli di Azure Resource Manager della community non sono supportati nell'ambito di alcun programma o servizio di supporto tecnico Microsoft e vengono resi disponibili COSÌ COME SONO senza garanzie di alcun tipo.
Parametri
Nome parametro | Descrizione |
---|---|
newStorageAccountName | Name of the Storage Account |
adminUsername | Username for the Administrator of the VM |
imagePublisher | Image Publisher |
imageOffer | Image Offer |
imageSKU | Image SKU |
vmDnsName | DNS Name for the Public IP. Must be lowercase. |
administratorLogin | Admin username for SQL Database |
administratorLoginPassword | Admin password for SQL Database |
collation | SQL Collation |
databaseName | Name of your SQL Database |
edition | SQL Database Edition |
maxSizeBytes | Max DB size in bytes |
requestedServiceObjectiveId | Requested Service Objective ID |
serverName | Unique name of your SQL Server |
firewallStartIP | Start IP for your firewall rule, for example 0.0.0.0 |
firewallEndIP | End IP for your firewall rule, for example 255.255.255.255 |
version | SQL Version |
location | Location for all resources. |
authenticationType | Type of authentication to use on the Virtual Machine. SSH key is recommended. |
adminPasswordOrKey | SSH Key or password for the Virtual Machine. SSH key is recommended. |
_artifactsLocation | The base URI where artifacts required by this template are located including a trailing '/' |
_artifactsLocationSasToken | The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. Use the defaultValue if the staging location is not secured. |
vmSize | Default VM Size |
Usa il modello
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstallare e configurare Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/django/sqldb-django-on-ubuntu/azuredeploy.json
Riga di comando
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deploymentInstallare e configurare l'interfaccia della riga di comando multipiattaforma di Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/application-workloads/django/sqldb-django-on-ubuntu/azuredeploy.json