How to enable access to a set of users to linux EC2 instance

0

I have a Linux EC2 instance running in an AWS account. I have this requirement Build an IAM group that enables ABC Organization's users to login into the EC2 instance, which contains following users : a_user, b_user, c_user, d_user, e_user, f_user

Also make the following users sudoers on the instance a_user (sudo) b_user (sudo)

Which approach is best, Since I am blank on how to approach this. Any ideas?

Everone has their own home directory and we don't want it to handle it manually by configuring SSH access for every user.

1개 답변
0

Create a group in IAM and give it a name, give the group permissions relating to EC2 and the level you require, then add the users to the group. Don't worry about making the users sudo. You can just type that in when you get to the command line. Example: sudo yum update -y

https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups_create.html

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠