Skip to content

Connect to AWS S3 for event archiving

Set up a data route that archives all device events to an S3 bucket for long-term storage and batch analysis.

Prerequisites

  • A Blecon network with devices generating events
  • An AWS account with an S3 bucket
  • IAM credentials with write access to the bucket

Step 1: Prepare your S3 bucket

  1. Create an S3 bucket in your AWS account (or use an existing one).
  2. Create an IAM policy that grants s3:PutObject permission on the bucket.
  3. Create IAM credentials (access key + secret) for Blecon to use.

Step 2: Add the S3 route

  1. In the Console, open your network.
  2. Go to Routes and click Add Route.
  3. Select AWS S3 as the destination.
  4. Enter your bucket name, region, and IAM credentials.
  5. Select which event types to archive.
  6. Click Save.

Step 3: Verify

  1. Wait for a device to generate events.
  2. Check your S3 bucket — event objects should appear organized by date.

Querying archived events

Once events are in S3, you can query them using:

  • AWS Athena — Run SQL queries directly on the JSON files.
  • AWS Glue — Build ETL pipelines for data transformation.
  • Custom processing — Download and process files with your own tools.

Questions? Contact Blecon support — we're happy to help.