Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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.