Skip to content

How to Stop someone from accessing the lightsail Instance.

0

someone is able to access lightsail instances using a non-existent username how to resolve this problem? (the username used is "admin-d" ?) I was able to check it through cloudtrail logs. This user name doesn't exist in the aws iam users and I am concerned that there might be leaks within my account. How to resolve any security lapses within my account.

1 Answer
0

Hi, If you have not received any notifications from AWS stating that there has been unintended access to your AWS resources, then you may have resources within your account that have been inadvertently created with LightSail permissions.

As you have stated that this may not be the case, best practices state that you may need to Rotate and delete all your AWS access keys, rotate any potentially unauthorized IAM user credentials, delete unrecognized/unauthorized resources, and/or Verify the security of your account information.

Create an IAM policy that grants access to LightSail, then create an IAM group and attach the policy to the group. Then you can create IAM user you want to give access and make them members of a group which gives them access to LightSail.

You can also refer to these articles for detailed information: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-access-for-an-iam-user https://aws.amazon.com/premiumsupport/knowledge-center/potential-account-compromise/

For future reference: If you believe that there has been potentially unwanted activity on your AWS account, you can enable Amazon GuardDuty for monitoring and detecting any unrecognized activity within your AWS account.

answered 3 years 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.