VPC - Public/Private Subnets - Unable to access from internet

0

Hi,
I have setup a new VPC, with a Public and Private subnet using the VPC wizard.
In the public subnet I have a reverse proxy server.
In the private subnet an Application server/DB.
All security groups have been configured.
I can access all instances inside the VPC from within the VPC (on 10.0.0.* addresses).
I can ssh into reverse proxy ec2 in public subnet, and from there to the instances in the private subnet.
The above has been configured using the AWS guide - https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Scenario2.html#VPC_Scenario2_Implementation

The only thing I cannot do is browse to the elastic ip address on the NAT Gateway. It eventually times out with 'The requested URL could not be retrieved'.

Does anyone have any ideas where to start looking? Hope so :-)

Thank you,
Craig

Craig-W
질문됨 5년 전535회 조회
2개 답변
0

Hi Craig-W,
you can use a NAT gateway to allow your private instances to access Internet resources but this is strictly un-directional that means that the NAT GW will prevent the internet from initiating connections with the instances.

More information here [1] and here [2].

[1] https://docs.aws.amazon.com/appstream2/latest/developerguide/managing-network-internet-manual.html
[2] https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat.html

AWS
답변함 5년 전
0

Hi Craig, was this resolved? What kind of proxy server was deployed? Was routing and NAT enabled on the proxy? I have a similar issue and interested to know the outcome. Thanks.

답변함 2년 전

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

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

질문 답변하기에 대한 가이드라인

관련 콘텐츠