Security group is stateful. It automatically allows return traffic for any outbound or inbound request that is explicitly allowed, without needing an additional rule to permit the return traffic.
Security groups keep track of the state of network connections. When a connection is initiated (inbound or outbound), the security group remembers the connection state.
Security Group Documentation:
https://docs.aws.amazon.com/vpc/lates...
Watch video Security Group - How the 'stateful' property works? online without registration, duration hours minute second in high quality. This video was added by user Unus AWS 08 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 66 once and liked it 8 people.