In this lab, you will run a simple IoT device simulator on Amazon EC2. The device simulator will generate and publish sample sensor data to an AWS device gateway. You will then build a simple rule that will publish a notification to an AWS SNS topic when the temperature of the device is within a defined threshold. By connecting your email address with the SNS topic, you will receive an email notification when the threshold is met. Finally, you will update the device shadow, instructing the device to “turn on the air conditioning”, resulting in lowering temperatures.