سیکیورٹی گروپس ورچوئل فائر وال ہیں جو AWS وسائل (جیسے EC2 انسٹینسز) کو inbound اور outbound ٹریفک کو کنٹرول کرتے ہیں — یہ تعریف کرتے ہیں کہ کون سے پورٹس، پروٹوکول، اور ذرائع کی اجازت ہے۔ وہ AWS نیٹ ورک سیکیورٹی کے لیے بنیادی ہیں۔
سیکیورٹی گروپس کیا کرتے ہیں
A SECURITY GROUP is a virtual firewall attached to resources (EC2, RDS, etc.):
→ INBOUND rules — what traffic can REACH the resource (port, protocol, source)
→ OUTBOUND rules — what traffic the resource can SEND OUT
→ only ALLOW rules (no explicit deny); everything not allowed is DENIED by default
→ STATEFUL — if inbound is allowed, the response is automatically allowed back
