block access to ec2 instance

0

one of our developer has quit the organization and he has the original pem file that gives access to our ec2 instance. so what steps can we take to avoid any misdoings by him?

3 Antworten
2

Here are the steps to replace the key, Add or remove a public key on your instance.

You could also restrict SSH via the security group assigned to the instance.

You may want to use Sessions Manager to login to the instance which allows you to control access using IAM instead of SSH keys.

profile pictureAWS
EXPERTE
kentrad
beantwortet vor einem Jahr
0
profile picture
Syd
beantwortet vor einem Jahr
0

Ensure SSH access over the public Internet isnt permitted. If it is, you will need to change the SSH key

Otherwise ensure said developer doesnt have any remote access to the environment.

profile picture
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen