Prerequisites - Amazon IoT Events
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Prerequisites

If you don't have an Amazon account, create one.

  1. Open https://portal.amazonaws.cn/billing/signup.

  2. Follow the online instructions.

    Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.

    When you sign up for an Amazon Web Services account, an Amazon Web Services account root user is created. The root user has access to all Amazon Web Services and resources in the account. As a security best practice, assign administrative access to a user, and use only the root user to perform tasks that require root user access.

  3. Create two Amazon Simple Notification Service (Amazon SNS) topics.

    This tutorial (and the corresponding example) assume that you created two Amazon SNS topics. The ARNs of these topics are shown as: arn:aws-cn:sns:us-east-1:123456789012:underPressureAction and arn:aws-cn:sns:us-east-1:123456789012:pressureClearedAction. Replace these values with the ARNs of Amazon SNS topics that you create. For more information, see the Amazon Simple Notification Service Developer Guide.

    As an alternative to publishing alerts to Amazon SNS topics, you can have the detectors send MQTT messages with a topic that you specify. With this option, you can verify that your detector model is creating instances and that those instances are sending alerts by using the Amazon IoT Core console to subscribe to and monitor messages sent to those MQTT topics. You can also define the MQTT topic name dynamically at runtime by using an input or variable created in the detector model.

  4. Choose an Amazon Web Services Region that supports Amazon IoT Events. For more information, see Amazon IoT Events in the Amazon Web Services General Reference. For help, see Working with the Amazon Web Services Management Console in the Getting Started with the Amazon Web Services Management Console.