sai
sai

Reputation: 11

i created a instance without public ip, if i dont have public key how can i connect to that instance

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

Answers (1)

Jatin Mehrotra
Jatin Mehrotra

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

Related Questions