📝 Section Review: Load Balancing & DNS
اہم نکاتKey TakeawaysKey Takeaways
- ALB HTTP/HTTPS ٹریفک کو smartly route کرتا ہے (لیئر 7)؛ NLB ultra fast لیئر 4 ہے static IPs کے ساتھ۔ALB HTTP/HTTPS traffic ko smartly route karta hai (layer 7); NLB ultra fast layer 4 hai static IPs ke saath.ALB routes HTTP/HTTPS traffic smartly (layer 7); NLB is ultra-fast layer 4 with static IPs.
- ہر لوڈ بیلنسر کو healthy ٹارگٹس والا ٹارگٹ گروپ چاہیے — unhealthy ٹارگٹس پر 503 ملتا ہے۔Har load balancer ko healthy targets wala target group chahiye — unhealthy targets par 503 milta hai.Every load balancer needs a target group with healthy targets — unhealthy targets get a 503.
- Route 53 hosted zones + Alias A ریکارڈز آپ کے ڈومین کو لوڈ بیلنسر کی طرف لگاتے ہیں۔Route 53 hosted zones + Alias A records aap ke domain ko load balancer ki taraf lagatay hain.Route 53 hosted zones + Alias A records point your domain at the load balancer.
- CloudWatch میں VPC Flow Logs ACCEPT/REJECT فیصلے دکھاتے ہیں — REJECT بلاکنگ رول کی طرف اشارہ کرتا ہے۔CloudWatch mein VPC Flow Logs ACCEPT/REJECT faislay dikhatay hain — REJECT blocking rule ki taraf ishara karta hai.VPC Flow Logs in CloudWatch reveal ACCEPT/REJECT decisions — REJECTs point at the blocking rule.
- Reachability Analyzer راستہ hop-by-hop trace کرتا ہے اور exact blocker کا نام بتاتا ہے۔Reachability Analyzer rasta hop-by-hop trace karta hai aur exact blocker ka naam batata hai.Reachability Analyzer traces the path hop-by-hop and names the exact blocker.
خود جانچ (مشق)Self-Check (Practice)Self-Check (Practice)
یہ مشقی سوالات ہیں، امتحانی سوالات نہیں۔These are practice questions, not exam questions.These are practice questions, not exam questions.
❓ ALB بمقابلہ NLB ایک لائن میں؟ (پریکٹس سوال)ALB vs NLB ek line mein? (practice sawal)ALB vs NLB in one line? (practice question)
ALB = لیئر 7 (HTTP/HTTPS)، path/host سے سمارٹ روٹنگ۔ NLB = لیئر 4 (TCP/UDP)، ultra fast، static IPs۔ALB = layer 7 (HTTP/HTTPS), path/host se smart routing. NLB = layer 4 (TCP/UDP), ultra fast, static IPs.ALB = layer 7 (HTTP/HTTPS), smart routing by path/host. NLB = layer 4 (TCP/UDP), ultra-fast, static IPs.
❓ ٹارگٹ گروپ کیا ہے؟ (پریکٹس سوال)Target group kya hai? (practice sawal)What is a target group? (practice question)
وہ بیک اینڈز جن کی طرف لوڈ بیلنسر forward کرتا ہے (EC2 انسٹنسز، IPs، Lambda) اور ایک ہیلتھ چیک جو خراب والوں کو نکالتا ہے۔Woh backends jin ki taraf load balancer forward karta hai (EC2 instances, IPs, Lambda) aur ek health check jo kharab walon ko nikalta hai.The backends the load balancer forwards to (EC2 instances, IPs, Lambda) plus a health check that removes unhealthy ones.
❓ Route 53 کیا ہے؟ (پریکٹس سوال)Route 53 kya hai? (practice sawal)What is Route 53? (practice question)
AWS کی managed DNS سروس — hosted zones اور Alias A ریکارڈز سے ناموں کو لوڈ بیلنسر کی طرف لگائیں۔AWS ki managed DNS service — hosted zones aur Alias A records se names ko load balancer ki taraf lagayein.AWS's managed DNS service — use hosted zones and Alias A records to point names at load balancers.
❓ ویب سائٹ down — پہلے کیا چیک کریں گے؟ (پریکٹس سوال)Website down — pehle kya check karenge? (practice sawal)Website down — what do you check first? (practice question)
CloudWatch Logs (REJECT فلٹر کریں)، بلاکس کے لیے سیکیورٹی گروپس اور NACLs، اور hop-by-hop راستے کے لیے Reachability Analyzer۔CloudWatch Logs (REJECT filter karein), blocks ke liye security groups aur NACLs, aur hop-by-hop path ke liye Reachability Analyzer.CloudWatch Logs (filter REJECT), security groups and NACLs for blocks, and Reachability Analyzer for the hop-by-hop path.