Reputation: 11
If we create a instance without public IP, if we don't have public key how can we connect to that instance.
I am best practice in creating and connect to the instance.
Upvotes: 1
Views: 188
Reputation: 11632
if we don't have public key how can we connect to that instance.
You can use aws systems manager service Note:- ssm agent should be installed in the instance or the role should be attached to the instance with proper permissions.
here its the aws knowledge centre blog which clearly mentioned using aws systems manager is one of the best practices which ideally fits for your use case. https://aws.amazon.com/premiumsupport/knowledge-center/ec2-ssh-best-practices/
Upvotes: 5