Certified Security - Specialty

Sign Up Free or Log In to participate!

connecting to private from public

Concerning private and public servers. How do you connect to your private server after you have created NAT Gateway, assuming that you did not copy your private key into you public server. Thanks. Please what are the steps

Vijay Yadav

You can use a bastion server and launch it in public subnet. From that server you login into your private server.

1 Answers

A pvt instance can only be accessed either by a VPN connection or another instance in the same VPC (using the default local route).

DMZ/Bastion- You dont necessarily need DMZ – it is just a specific use case of access.

NAT Gtwy has nothing to do with inbound (or even pvt) access – it is only for outbound.

Pvt Key (used only for key based access – recommended approach) – your key should be installed in the target (pvt) server.

There are other advanced scenarios – peering connection, pvt interface etc.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?