3. Azure Virtual Machine Extension by Techserverglobal
HarpalGohil4
30 views
6 slides
Jun 18, 2024
Slide 1 of 6
1
2
3
4
5
6
About This Presentation
3. Azure Virtual Machine Extension in details
Size: 254.77 KB
Language: en
Added: Jun 18, 2024
Slides: 6 pages
Slide Content
Azure Virtual Machine Extension
Introduction Extensions are small applications that provide post-deployment VM configuration and automation tasks Managed with Azure CLI, PowerShell, Azure Resource Manager Templates, and the Azure Portal Bundled with a new VM deployment or run against any existing system Different for Windows and Linux System
Demo Install Web server in Windows Base machine Install Nginx and set custom index page using Userdata
I nstall Web server in Windows Base machine Command to validate the feature install or not using powershell get-windowsfeature -name web-server Command to install the feature install-windowsfeature -name web-server
Install Nginx and set custom index page using Userdata Below is the shell script to install php and nginx using userdata in ubuntu #!/bin/bash apt-get update apt-get install -y nginx echo "This hostname of the web server is $HOSTNAME" > /var/www/html/index.nginx-debian.html service nginx start