IAM User that can connect to EC2 instance via SSH

0

I am a newbie (still exploring) and on AWS Free tier. I have to perform the following :-

Create IAM users and perform the following functions:-

  1. AWSAdmin- your user that can manage everything in account
  2. EC2Admin user that can connect to your EC2 users via SSH and can`t work with RDS
  3. RDSAdmin user that can manage RDS, but can`t manage EC2

For creating IAM User I am following :- https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html#id_users_create_console

Inorder for EC2Admin user that can connect to EC2 users via SSH and cannot work with RDS I understand I can attach policy which allow EC2 access alone, but how can a user created through IAM perform ssh to EC2 instance?

I would be happy to know if there is any blog or documentation which suggests any steps to follow?

2回答
0

You can explore EC2 Instance Connect and attach necessary IAM permission

AWS
エキスパート
Mike_L
回答済み 5ヶ月前
0

Please if you can clarify, are you talking about a role-based policy or resource-based policy. If to want to restrict your RDS use a resource-based policy on that. For Role based policy, attach that to admin user.

profile picture
回答済み 5ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ