Custom Script extension on a Ubuntu VM

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure Deploy To Azure US Gov Visualize

CustomScript Extension allows the owner of the Azure Virtual Machines to run customized scripts in the VM.

This template shows a simple example to run scripts which are stored in public storage(e.g. GitHub).

Deploy

  1. Using Azure CLI

https://azure.microsoft.com/documentation/articles/xplat-cli-azure-resource-manager/

  1. Using Powershell

https://azure.microsoft.com/documentation/articles/powershell-azure-resource-manager/

  1. Using Azure Portal Click the "Deploy to Azure" button.

Tags: Microsoft.Network/publicIPAddresses, Microsoft.Network/virtualNetworks, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, Microsoft.Compute/virtualMachines/extensions, CustomScript