Layer 7 load balancing in AWS
- Layer 7 loadbalancers are aware of http i.e. they are aware of
- headers
- urls
- domain names
- So we can loadbalance the requests based on
- path:
- if path contains /orders/* forward it to orders target group
- if path contains /cart/* forward it to cart target group
- header:
- if path contains /orders/* forward it to orders target group
- if path contains /orders/* and header contains appVersion = v2 forward it to ordersv2 target group
- name:
- if the domain name is orders.qt.com forward to orders target group
- if the domain is cart.qt.com forward to cart target group
- path:
Setup
- Create an ami which serves at /analytics Refer Here and /fashion Refer Here
- Exercise: Watch recording and reiterate what i did.
