Difference between SecurityGroup and NACL?

0 votes
While going through the VPC, came across that both SG and NACL can be used to allow/restrict traffic. When do we use what?
Aug 23 in AWS by Dipti
16 views

1 answer to this question.

0 votes
As mentioned both SG and NACL allow/restrict inbound and outbound traffic. When the traffic comes into the VPC, then it must go through the rules of NACL and go through the rules of SG, finally reach the AWS resource like EC2, RDS etc.

The SG is called the 1 st line of defense as it close to the AWS resource and the NACL is called the 2 nd line of difference. For more details about the differences between the SG and NACL, check out the official documentation from AWS here.
answered Aug 23 by Praveen
• 700 points

Related Questions In AWS

+2 votes
10 answers

Difference between s3n, s3a and s3?

S3 Native FileSystem (URI scheme: s3n) A ...READ MORE

answered Oct 25, 2018 in AWS by Rishab rohan
6,529 views
0 votes
1 answer
0 votes
1 answer

What is the difference between Amazon Cloudfront and S3

major difference is that cloudfront allows you ...READ MORE

answered Jul 9, 2018 in AWS by Priyaj
• 56,540 points
165 views
0 votes
2 answers

What is the difference between Amazon ECS and Amazon EC2?

EC2 allows you to launch individual instances ...READ MORE

answered Jul 11, 2018 in AWS by Priyaj
• 56,540 points
1,681 views
0 votes
1 answer

Difference between AWS S3 and Amazon Storage Gateway

Basically AWS S3 is a file system. It ...READ MORE

answered Aug 4, 2018 in AWS by Archana
• 4,090 points
168 views
0 votes
1 answer

Create traffic mirror Target - AWS

Follow these steps: Open Amazon VPC console Select the ...READ MORE

answered Aug 23 in AWS by anonymous
15 views