Azure Classroom notes 15/Nov/2023

Azure Compute – Virtual Machines

  • Virtual Machine Life Cycle (States): This is for on-demand instances. Refer Here
    Preview
  • In Azure when we stop the vm from portal or from cli we are deallocating

Azure Virtual Machine connectivity

  • In the last session we had spoken about ssh and rdp
  • Azure allows to connect to Azure VMS using
    • Native SSH or RDP
    • SSH using Azure CLI
    • Bastion
  • Bastion is considered to be safe as we need not expose RDP and SSH Ports to all ips
    Preview
  • Enterprise Clients prefer using Bastion for connecting vms’s securely
  • Note: Refer Here for using Bastion over native clients
  • After deploying bastion
    Preview
    Preview

Azure Virtual Machine – Extra’s

  • Reset Passwords: Help -> Reset Passwords
    Preview
  • We can run the commands in Azure VMs directly without credentials if you have virtual machine administrator rights by using run command
    Preview
    Preview
    Preview
  • Azure Vms have agents which make this possible
  • Auto Shutdowns

Exercise

  • Create an Azure Virtual Machine and then
    • Reset Password
    • Install java into ubuntu from Run command sudo apt update && sudo apt install openjdk-17-jdk -y
  • Create an Azure Billing estimate for running
    • 1 vm with ubuntu linux for 1 month
    • disk size is 64 GB

Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube