Question

Access an instance in the private subnet from a public instance

Posted February 1, 2018 1.9k views
Server OptimizationNetworkingUbuntu 16.04

Scenario: 2 instances(ubuntu xenial 16.04) in one VPC out of which one is in a public subnet(has an internet gateway) and the other is in a private subnet(has a NAT gateway).

How do I access the instance in the private subnet from the public instance.

A rule for SSH from the public instance’s security group has been included in the private server’s security group.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!