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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南