내용으로 건너뛰기

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?

질문됨 일 년 전310회 조회

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.

전문가

답변함 일 년 전

전문가

검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.