The buffered destination type allows you to save on ingestion costs into AWS IoT SiteWise if you don't need the data in real-time. It enables you to temporarily store your IoT data in an Amazon S3 bucket before importing it into AWS IoT SiteWise. Or, you can simply upload your data to S3 for storage, regardless of whether you plan to import it to AWS IoT SiteWise. This is useful for batching and buffering data from your devices and gateways before ingesting it into AWS IoT SiteWise. With this option, data is uploaded to the specified S3 bucket in Parquet format at a configured frequency. You can then import this data into AWS IoT SiteWise storage for further analysis and processing.
To add a destination buffered using Amazon S3
Use the AWS IoT SiteWise console or AWS CLI to add a destination that buffers data using Amazon S3 to your SiteWise Edge MQTT-enabled, V3 gateway.
Use the AWS Management Console to add an AWS IoT SiteWise destination buffered using Amazon S3.
-
Open the AWS IoT SiteWise console
. -
In the navigation pane, choose Edge gateways.
-
Select the MQTT-enabled, V3 gateway to which you want to add a destination.
-
In the Destinations section, choose Add destination.
-
On the Add destination page, enter Destination details:
-
A name for your destination in the Destination name field.
-
Select AWS IoT SiteWise buffered using Amazon S3 for Destination type. AWS IoT SiteWise buffered using Amazon S3 sends data to Amazon Simple Storage Service in batches, in Parquet format, and then imports the data into AWS IoT SiteWise storage.
-
-
Enter the Amazon S3 URL for the location where you want to store your gateway data. You can browse for the path by choosing Browse S3. Once a bucket is added, you can also view the bucket by choosing View.
-
Specify how often your gateway should upload data to Amazon S3 by entering a time frame and selecting a time increment for Data upload frequency. The frequency value should be greater than 0 and less than or equal to 30 days.
-
In Data storage settings, determine what to do with your gateway data after importing it to AWS IoT SiteWise. There are two decisions to make regarding data storage:
-
If you want to copy imported data into AWS IoT SiteWise storage, select the Copy data to storage check box. This option duplicates the imported data from your configured Amazon S3 bucket into AWS IoT SiteWise storage.
-
If you choose to import your data from your Amazon S3 bucket into AWS IoT SiteWise storage, you can also specify whether the imported data should be deleted after the import is complete. Select the Delete data from Amazon S3 check box to delete the imported date from the configured Amazon S3 bucket after importing it to AWS IoT SiteWise storage.
-
Add path filters to your destination. For more information see, Add path filters to AWS IoT SiteWise Edge destinations.
Add path filters for your destination. For more information, see Add path filters to AWS IoT SiteWise Edge destinations.