access the ec2 instance using ssh, ssm with iam credentials

0

is it possible to access the ec2 instance using ssh, ssm with iam credentials? This is to log all activities who access the instance.

2 Answers
0
Accepted Answer
profile picture
answered 3 months ago
  • its working but how to use this for multiple users who access the instance?

0

AWS Session manager is also an option https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html CloudTrail will log who logs in, but it will not log what the user does.

Hope it helps!

profile picture
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions