- Learning AWS IoT
- Agus Kurniawan
- 211字
- 2021-06-30 19:26:06
Setting up the development environment
After we have registered all the IoT devices for AWS IoT, we can set up our development environment. Depending on your kind of IoT device, you can install AWS IoT SDK for your device. You can review the details at https://aws.amazon.com/iot/sdk/.
For testing, we use a computer that acts as an IoT thing. The computer will access AWS IoT. To simplify our case, I use JavaScript SDK for AWS IoT, available at https://github.com/aws/aws-iot-device-sdk-js. Since JavaScript SDK for AWS IoT needs Node.js to run the program, your computer should install Node.js runtime. You can download and install Node.js for your platform from https://nodejs.org/.
To install AWS IoT SDK for JavaScript, do so through the npm package. You should install Node.js runtime for your platform. You can type the following command to install AWS IoT SDK for JavaScript:
$ npm install aws-iot-device-sdk
You can probably run this command at an administrator level if you get an error message due to a security issue.
For the development tool, you can use any text editor to write JavaScript scripts. For instance, you can use Visual Studio Code at https://code.visualstudio.com. You can see my sample JavaScript scripts on Visual Studio Code IDE in the following screenshot:

- MATLAB 2020中文版從入門到精通
- Excel函數與公式標準教程(實戰微課版)
- Excel 2016表格、公式、函數與圖表應用傻瓜書
- 21天精通 Windows 7+Office 2010電腦辦公
- AutoCAD 2018中文版室內裝潢設計從入門到精通
- Excel+PPT+Word+PS+短視頻剪輯+PDF+思維導圖+居家辦公+辦公設備9合1
- 快·易·通:2天學會PPT幻燈片設計與制作(2016版)
- Office 2007辦公軟件應用立體化教程
- OpenCV Essentials
- PPT制作事半功倍
- Excel技術與應用大全
- 中文版Office2016大全
- Office 2021辦公應用實戰從入門到精通
- Excel公式與函數大辭典
- Access VBA活用范例手冊