Azure Classroom Series – 18/Dec/2021

Monitoring a N-tier Web Application on Azure

  • Let consider the following architecture
  • After creating these architecture we will try to create the monitoring setup
  • Lets create this architecture
    • We need to Create Virtual Network
    • Quick understanding of cidr
    192.168.0.0/16 
    
      x.x.x.x/n
    
      192.168.0.0/16 => 192.168.x.x => 32-16 => 16 bits for ip address
                      => 2^16 => numbers of devices that can be connected
    
      10.0.0.0/8 => 10.x.x.x => 32-8 => 24 => 2^24 
    
      10.0.0.0/24 => 10.0.0.x => 32-24 => 2^8 
    
    
      10.0.0.0 =>
    
      192.168.0.x 
    
      192.168.0.0/16 => Smaller networks
          192.168.0.x/24
          192.168.1.x/24
      .......................
      192.168.255.x/24
    
    • Creating a Virtual Network
    • Lets create a Windows VM in the Business Tier Subnet
    • Lets create a Linux VM in the Web Tier Subnet
  • Exploring Basic Monitoring Available for Windows and Linux VMs
    • Windows VM:
    • Linux VM: Almost similar
  • Lets create two alert rules
    • When your virtual machine has excessive cpu usage
      • Lets assume Percentage CPU > 85 for last 5 minutes => excessive usage
    • When your virtual machine has low cpu usage
      • Lets assume Percentage CPU < 10 for last 5 minutes => low cpu usage
    • Navigate to Montior => Alerts and Create
    • After you create alerts wait for the alert to happen, once the alert is triggered you would see the alert information in the alerts section and also recieve an email

Leave a ReplyCancel reply

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%