In this post, we’ll learn to create a simple AWS IoT device and connect it to an AWS Lambda Function. This tutorial is AWS beginner friendly and all concepts and terms will be explained. We will use JavaScript, although using other languages is not significantly different. Sections: - What is AWS IoT - Creating a device - Connecting your device to AWS IoT - Subscribing your device to a topic - Triggering an AWS Lambda function when publishing to a topic - Using the MQTT Client for testing What is AWS IoT? AWS IoT is a platform to easily manage “Internet of Things” devices, also called “things”, permitting them to interact with each other. Much like any AWS service, AWS IoT can connect to other AWS cloud applications such as Lambda (explained further down). Any AWS IoT supported device such as a Raspberry Pi or an AWS IoT Button can be....