Azure Classroom Series – 18/Dec/2021

Monitoring a N-tier Web Application on Azure

  • Let consider the following architecture Preview
  • 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 Preview Preview
    • Lets create a Windows VM in the Business Tier Subnet Preview
    • Lets create a Linux VM in the Web Tier Subnet Preview Preview
  • Exploring Basic Monitoring Available for Windows and Linux VMs
    • Windows VM: Preview
    • Linux VM: Almost similar Preview
  • 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 Preview Preview Preview Preview Preview Preview
    • 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 Preview Preview

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 Responsive Web Designing 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