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

EC2 VPC Block Public Access settings should block internet gateway traffic

0

We have a NAT Gateway configured for our private subnet with a route table entry 0.0.0.0/0 → NAT Gateway. Security Hub recommends enabling the EC2 VPC Block Public Access settings to block Internet Gateway traffic. Will enabling this setting impact our current setup, where private instances access the internet via the NAT Gateway?

質問済み 1年前313ビュー

1回答
1

Before blocking the public access you should read this https://aws.amazon.com/blogs/networking-and-content-delivery/vpc-block-public-access/ explaing how it works and what options you have. In short, if you would just block all public access it would also block access via existing NAT gateway (not what you want). But you can block public ingress or make exceptions for resources that need to be accessible from the internet. And don't start with your production VPC but test first somewhere where you can affort some trial & errors.

エキスパート

回答済み 1年前

エキスパート

レビュー済み 1年前

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

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

関連するコンテンツ