Create Azure VM and install NGINX on VM via Azure CLI – Practice Lab



Create Azure VM and install NGINX on VM via Azure CLI – Practice Lab

Create Azure VM and install NGINX on VM via Azure CLI - Practice Lab

In this video, we will learn about how to create an azure VM and its resources from scratch via Azure CLI.
This is a beginner’s video. In this, you will learn
1. Create a Resource group via the azure CLI command.
2. Create a virtual machine via the azure CLI command.
3. Run Shell Script to install NGINX via the azure CLI command.
4. Create a Network security group rule(NSG) Inbound rule to Access NGINX via azure CLI command.
5. Access the NGINX web server via public IP in your own browser.

Getting Started with Azure: Deploy Azure VM via Azure CLI
How to Setup VNET and VM in Azure using Azure CLI
Azure CLI Tutorial for Beginners Complete Step-by-Step Guide
Beginners Tutorial for Azure CLI
#DevOps #azure #azurecloud #infrastructureascode #beginners
#handsonlearning

๐Ÿ’› Follow us on IG : โ–บ https://www.instagram.com/beginner.academy/
๐Ÿ’š Follow us on FB : โ–บ https://www.facebook.com/groups/580314426414395/
๐Ÿงก Follow us on TG : โ–บ https://t.me/beginner_academy
๐Ÿ’› Follow us on YT : โ–บ https://www.youtube.com/beginneracademy?sub_confirmation=1

In case, if you want to connect via linked in , My linked in id is https://www.linkedin.com/in/sangamesh-kotni-4b92989/

az group create –name myResourceGroup –location eastus

az vm create –resource-group myResourceGroup –name myVM –image Debian –admin-username azureuser –generate-ssh-keys

az vm create –resource-group NewVMGroup –name nginxVM –image Debian –admin-username azureuser –ssh-key-values ~/.ssh/id_rsa.pub

az vm run-command invoke -g NewVMGroup -n nginxVM –command-id RunShellScript –scripts “sudo apt-get update && sudo apt-get install -y nginx”

az vm open-port –port 80 –resource-group NewVMGroup –name nginxVM

If you are a beginner or individual who wants to switch to/learn IT DevOps/cloud/Kubernetes. Then please join.
Youtube: https://www.youtube.com/beginneracademy?sub_confirmation=1
Telegram : https://t.me/beginner_academy
FB: https://www.facebook.com/groups/580314426414395/
Insta : https://www.instagram.com/beginner.academy/

https://beginner.academy/

Comments are closed.