iT邦幫忙

2021 iThome 鐵人賽

DAY 7
0
Security

你用雲端,還敢談資安?AWS資安服務佈署之路系列 第 7

Day7: IAM users、group建立

上一篇定義了IAM裡面會看到的名詞,今天我們來看一下AWS Console裡面要怎麼建置IAM User 以及IAM User Group。

如何建立一個IAM User?
1.在AWS Console搜尋IAM,右上角的Region(區域)會變成Global,代表IAM的規則是套用於您所建置的所有服務。
https://ithelp.ithome.com.tw/upload/images/20210919/20124610zKPXO3Aecd.png

2.點選旁邊列表的users
https://ithelp.ithome.com.tw/upload/images/20210919/201246102ZrByD20Xc.png

3.按Add user
https://ithelp.ithome.com.tw/upload/images/20210919/20124610WTybw7JyWc.png

4.輸入user名稱,下面選擇user登入方式是要透過access key/secret access key或是用密碼方式登入,為了降低資安風險我們選擇前者
https://ithelp.ithome.com.tw/upload/images/20210919/20124610LNiEPkTF9R.png

5.這裡有三個選項
(1)加入到群組(Add user to Group)
(2)從另外一個user複製permission過來(Copy permissions from existing user)
(3)直接加上已經存在的Policy(Attach existing policy directly)
https://ithelp.ithome.com.tw/upload/images/20210919/20124610QXRPFK15CZ.png

6.加上tag(可加可不加)
https://ithelp.ithome.com.tw/upload/images/20210919/20124610631YwFHMys.png

7.檢查完資訊就按Create user
https://ithelp.ithome.com.tw/upload/images/20210919/20124610pi48cjtCQw.png

8.完成後會顯示這組帳號的access key/secret access key,你也可以下載成csv檔,記得要小心保存
https://ithelp.ithome.com.tw/upload/images/20210919/20124610uWf0clQJ6c.png

如何建立一個IAM User Groups?
1.側邊選單選User Groups
https://ithelp.ithome.com.tw/upload/images/20210919/20124610RdwtfAWMwY.png

2.按Create group
https://ithelp.ithome.com.tw/upload/images/20210919/20124610ajfntu8ylD.png

3.輸入Group名稱、選擇user加入group、選擇要不要附上policy
https://ithelp.ithome.com.tw/upload/images/20210919/20124610Us6ilcWGW0.png
https://ithelp.ithome.com.tw/upload/images/20210919/201246106j8njIW50H.png
https://ithelp.ithome.com.tw/upload/images/20210919/20124610CouFsVyZe8.png

這樣就完成IAM User 以及User Group的建立拉,下一篇我們再來看role以及Policy的建立。


上一篇
Day6: IAM簡介
下一篇
Day 8:IAM role、Policy建立
系列文
你用雲端,還敢談資安?AWS資安服務佈署之路30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言