Hi@akhtar,
Inbound means incoming traffic coming to your EC2 instances. For that you have to add inbound rule. For web server generally we use port 80.
Outbound means outgoing traffic from your EC2 instances. To connect internet or any browser you have to add outbound rule.
Check out Edureka's AWS solution architect certification Training program today!
Thank You