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, 2019 in AWS by Dipti

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, 2019 by Praveen
• 700 points

Related Questions In AWS

+3 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
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
• 57,640 points
0 votes
3 answers
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,150 points
0 votes
1 answer

Create traffic mirror Target - AWS

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

answered Aug 23, 2019 in AWS by anonymous