Question
Access an instance in the private subnet from a public instance
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.