Reputation: 339
I need that all instances that I launch in a public subnet of a VPC can access via SSH without providing a .pem
, just with its private IP. Additionally, I need to create an OpenVPN server in one of them so anyone that can access to the subnet via VPN can access to any instance via SSH without providing a .pem
using its private IP too.
I do not know if this is possible, but if there is another way to do that I would appreciate it if you could tell me.
Upvotes: 0
Views: 299
Reputation: 17655
Yes, it's possible, you can access your instances without .pem
file by using AWS System Manager.
Use Session Manager service of AWS System manager
through the AWS console page.
Session Manager: Users who want to connect to an instance with just one click from the browser or AWS CLI without having to provide SSH keys.
A user who wants to monitor and track instance access and activity, close down inbound ports on instances or enable connections to instances that do not have a public IP address.
Upvotes: 1