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.

已提问 2 年前303 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则