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 Antwort
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

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen