What is Inbound and Outbound rule in aws

+2 votes

Hi everyone,

Can anybody tell me what are inbound rule and outbound rule in aws? How it works?

Thank You

Mar 3, 2020 in AWS by akhtar
• 38,230 points

1 answer to this question.

0 votes


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.

For a detailed, You can even check out the details of Inbound and Outbound with the help of AWS Cloud Migration.

Hope this will clear your doubt.

Check out here to become AWS solutions architect today!

Thank You

answered Mar 4, 2020 by MD
• 95,440 points

edited Sep 6 by Khan Sarfaraz
1.you gave example for outbound rule that to connect internet or any browser you have to add outbound rule

2.but for the inbound rule i want example will you please give me???


The inbound rule means incoming traffic. Say you have an EC2 instance. Now you want to do SSH into the instance. For that, you need to add one inbound rule on port 22.

Related Questions In AWS

+1 vote
1 answer

What is the difference between an Instance, AMI and Snaphots in AWS?

AMI is the Amazon Machine Image which provides ...READ MORE

answered May 24, 2019 in AWS by ArchanaNagur
• 2,360 points
0 votes
0 answers
0 votes
3 answers

What is CPU Credit Balance in EC2 for AWS?

When you use fewer CPU resources then ...READ MORE

answered Nov 30, 2018 in AWS by Aniket
+4 votes
1 answer