DevOps Classroomnotes 16/Sep/2023

Monitoring

Server Alive or not

  • To check whether server is alive or not we can send ICMP packets using ping command
  • Ensure firewall rules allow you to perform this test. (In class as we have discussed adding rules to security groups and Network Security Groups)

Application Alive or not

  • For this check, lets try to create a web server
  • Web servers respond on HTTP (TCP:80) and to check we need to send the HTTP Request
  • Installing Nginx on Ubuntu
sudo apt update
sudo apt install nginx -y
  • Test using browser http://<public-ip>:80
    Preview
  • Installing Apache on ubuntu
sudo apt update
sudo apt install apache2 -y
  • Test using browser http://<public-ip>:80
    Preview
  • Testing from command line
    Preview
    Preview
  • Overview
    Preview

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner