Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Setting up AWS IoT

Focus mode
Setting up AWS IoT - AWS IoT Core

To complete this tutorial, you need to create the following resources. To connect a device to AWS IoT, you create an IoT thing, a device certificate, and an AWS IoT policy.

  • An AWS IoT thing.

    A thing represents a physical device (in this case, your Rasberry Pi) and contains static metadata about the device.

  • A device certificate.

    All devices must have a device certificate to connect to and authenticate with AWS IoT.

  • An AWS IoT policy.

    Each device certificate has one or more AWS IoT policies associated with it. These policies determine which AWS IoT resources the device can access.

  • An AWS IoT root CA certificate.

    Devices and other clients use an AWS IoT root CA certificate to authenticate the AWS IoT server with which they are communicating. For more information, see Server authentication.

  • An AWS IoT rule.

    A rule contains a query and one or more rule actions. The query extracts data from device messages to determine if the message data should be processed. The rule action specifies what to do if the data matches the query.

  • An Amazon SNS topic and topic subscription.

    The rule listens for moisture data from your Raspberry Pi. If the value is below a threshold, it sends a message to the Amazon SNS topic. Amazon SNS sends that message to all email addresses subscribed to the topic.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.