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 Answers
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
EXPERT
kentrad
answered a year ago
0
profile picture
Syd
answered a year ago
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
EXPERT
answered a year 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