Report this

What is the reason for this report?

Access an instance in the private subnet from a public instance

Posted on February 1, 2018

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.



This textbox defaults to using Markdown to format your answer.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.