スキップしてコンテンツを表示

About public subnet

0

When every one can access the public subnet resources, what is the use of network ACL at public subnet level?

質問済み 3年前360ビュー

3回答
2

You can use NACLs to block services in a course way. i.e. Block all SSH/RDP in from the public or perhaps you only use your public subnet to host HTTPS based workload, you can allow 443 in and high-level ports out but not other services.

NACLs are for course grain filtering (on per subnet basis).
Security Groups are for fine grained filtering (on per resource basis).

AWS
エキスパート

回答済み 3年前

エキスパート

レビュー済み 3年前

1
承認された回答

Simple answer and the Main one, ONLY in NACL you can create DENY rule lets say you want whole world to access the services (eg, your website)in the subnet however you want to deny some suspicious IP? ONLY in NACL you can create DENY rule, you cant create a DENY in SG. other features are; NACL Works at subnet level and applies to all instances in the subnet. They are stateless, SG is stateful. rules are evaluated in order of rule number when comes to NACL

AWS

回答済み 3年前

エキスパート

レビュー済み 2年前

1

Instances on the public subnet are routable through the internet, instances have public IP address and can access the internet, and other can reach it if the traffic is allowed in the security group + Network ACL. NACLs would control who is allowed to establish a connectivity through Network ACL rules. https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#nacl-rules

AWS

回答済み 3年前

エキスパート

レビュー済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ