AWS Classroomnotes 02/Apr/2022

Understanding Load Balancers

  • Activity:
    • Create the following vpc with two ubuntu ec2 instances
    • ensure 80 port is open to all, icmp is open, 22 port
    • Login into ec2 instance and install lamp stack
    • Execute the following steps
      “`bash

    ubuntu

    sudo apt update
    sudo apt install apache2 -y
    sudo apt install php libapache2-mod-php php-mysql -y

    create a file at /var/www/html/info.php with content

    <?php
    phpinfo();
    ?>
    ``
    * Now access
    http:///info.php`
    * Steps:



    * Now install the lamp following the above mentioned steps



  • Now lets understand OSI Model for networking
  • understand layer 4 and layer 7 LB
  • Layer 4 LB













  • Now lets Navigate using http://<lb-dns>/info.php
  • When we try to access enterprize applications our urls will definetly not be http://ntierqt4-19ba2b1e1b642aa7.elb.ap-south-1.amazonaws.com/info.php rather they would be http://<domainname>/info.php
  • Lets create a DNS record for the already purchased domain awsbykhaja.online, so we would be using Route 53





  • Note: Ensure Aws CLI is installed on your system Refer Here
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel 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

Exit mobile version
%%footer%%