3. Azure Virtual Machine Extension by Techserverglobal

HarpalGohil4 30 views 6 slides Jun 18, 2024
Slide 1
Slide 1 of 6
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6

About This Presentation

3. Azure Virtual Machine Extension in details


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

Thank You
Tags