user1556186
user1556186

Reputation: 1

Internet access for EC2 private instance

We would like to know if its possible to make our on-premise firewall the NAT instance for the private instance in AWS VPC for outbound internet access (to get updates for example)?

We currently have AWS VPC scenario 4 implemented.

Thanks!!

Upvotes: 0

Views: 622

Answers (1)

helloV
helloV

Reputation: 52393

For Scenario 4: VPC with a Private Subnet Only and Hardware VPN Access, all outbound (non-VPC) traffic has to go through the customer gateway to on-prem. So if you want to access internet, the traffic goes through on-prem and then outbound from on-prem/corporate network.

In short: From AWS VPC, if you want to access any AWS endpoint, you have to go through the corporate/customer network. You have to allow outbound in your on-prem firewall. There is no other option.

If you really want to access internet through NAT, you should have created Scenario 3: VPC with Public and Private Subnets and Hardware VPN Access

enter image description here

Upvotes: 2

Related Questions