Access an instance in the private subnet from a public instance

February 1, 2018 1.2k views
Server Optimization Networking Ubuntu 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.

Be the first one to answer this question.