Back to Browse

AWS - Application Load Balancer: Path based Routing

36.1K views
Mar 11, 2019
18:14

See how to configure Application Load Balancer for Path based routing. Useful contents: 1. Userdata for webserver 1. #!/bin/bash yum install httpd -y service httpd start chkconfig httpd on mkdir /var/www/html/hi echo "Hi there..you reached to right backend ec2" REPLACE_THIS_WITH_GREATER_THAN_SIGN /var/www/html/hi/index.html echo "Configured successfully" 2. Userdata from Webserver 2 #!/bin/bash yum install httpd -y service httpd start chkconfig httpd on mkdir /var/www/html/bye echo "Bye from ec2" REPLACE_THIS_WITH_GREATER_THAN_SIGN /var/www/html/bye/index.html echo "Configured successfully" If you are interested in learning AWS Networking in depth visit this course of mine: https://www.awswithchetan.com/courses/AWS-VPC-and-Networking Regards, Chetan Email: [email protected]

Download

1 formats

Video Formats

360pmp426.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

AWS - Application Load Balancer: Path based Routing | NatokHD