- Learning AWS IoT
- Agus Kurniawan
- 304字
- 2021-06-30 19:26:05
Configuring security access for AWS IoT
Since AWS IoT applies security to protect its system, we should also comply to configure our AWS IoT security. Some steps are taken to configure our AWS IoT security. We will perform the following tasks:
- Create a policy
- Attach a policy to the IoT device certificate
- Attach the IoT thing to the certificate
To create a policy on AWS IoT, perform the following steps:
- Click the Policies sub-menu from the Secure menu, as shown in the following screenshot:

- Then, you should see a Create a policy button. Click on this button.
- Fill in your policy name. You should add three policy statements, as follows:
-
- iot:Connect
- iot:Subscribe
- iot:Publish
- Don't forget to check the Allow checkbox for all the preceding policy statements:

- When done, save your AWS IoT policy. You should see your created policy on the Policies form, as shown in the following screenshot:

- The next step is to add our created policy into the IoT device certificate. You can open Secure | Certificates on AWS IoT Management Console. Click on the ellipsis (…) link so you get a context menu that is shown in the following screenshot. Click on the Attach policy option:

- Then, you get a dialog box. Select your created policy. When done, click on the Attach button to execute this task:

- The last step is to add our IoT device into a security certificate. Click on the ellipsis (…) on your certificate so you get a context menu. Select the Attach thing option on context menu:

- Select your IoT device and then click on the Attach button to perform this task:

Now your IoT device has a certificate and policy. You can access AWS IoT through the IoT device.
推薦閱讀
- 虛擬桌面移動(dòng)辦公技術(shù)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)Office 2010實(shí)踐指導(dǎo)
- Excel 2016辦公應(yīng)用從入門到精通
- OpenCV Computer Vision Application Programming Cookbook Second Edition
- Excel 2010高效辦公:市場與銷售管理
- 和秋葉一起學(xué):秒懂Word(全彩版)
- 新編Word/Excel/PPT 2016高效辦公三合一(全彩版)
- Minecraft創(chuàng)客制作:用樂高、3D打印、Arduino等創(chuàng)建Minecraft真實(shí)世界
- Office 2003辦公軟件實(shí)用教程
- Excel 2007表格·數(shù)據(jù)·圖表完全自學(xué)手冊
- 文秘辦公自動(dòng)化培訓(xùn)教程
- Excel公式與函數(shù)大辭典
- 掌中寶:Word辦公應(yīng)用技巧
- 新編PowerPoint 2016從入門到精通
- iLike蘋果Office 2011 for Mac辦公應(yīng)用