How to use Azion Edge Storage to receive data from Data Stream
While configuring streams, you need to set up a specific endpoint to stream your Azion data.
Continue reading for a step-by-step guide on configuring an Azion Edge Storage connector to receive data from Data Stream.
Requirements
- Create an S3 credential via API and configure access to the bucket through s3cmd.
- Save the Access Key and Secret Key linked to your credential. You’ll need them later.
- Create an Edge Storage bucket, or use an existing one.
Configuring the connector in Data Stream
Next, follow these steps to configure the new connector in your Azion Data Stream.
You can find detailed steps for the entire configuration in the How to use Data Stream guide.
- On the Connector dropdown menu, select Simple Storage Service (S3).
- On URL, add the URL of the Azion Edge Storage S3 Host. Example:
s3.us-east-005.azionstorage.net
. - On Bucket Name, add the name of your S3 bucket on Edge Storage. Example:
mys3bucket
. - On Region, add the region configured on Edge Storage. Example:
us-east-005
. - On Access Key, add the access key you created on Edge Storage. Example:
ORIA5ZEH9MW4NL5OITY4
. - On Secret Key, add the secret key you created on Edge Storage. Example:
+PLjkUWJyOLth3anuWXcLLVrMLeiiiThIokaPEiw
. - On Object Key Prefix (optional), add the prefix name of your uploaded object.
- The objects’ names are composed of Prefix + Timestamp + UUID.
- Example: if you use waf_logs as the prefix, one of the sent objects will be saved as
waf_logs_1622575860091_37d66e78-c308-4006-9d4d-1c013ed89276
- On Content Type, add the format of the object that’ll be created in your S3 bucket. It can be
plain/text
orapplication/gzip
. - Make sure the Active switch is on.
- Click the Save button.
After saving the configurations, your data will be streamed to the newly configured endpoint.
You can keep track of the calls made by Data Stream to Edge Storage in Real-Time Events. To do so, select Data Source > Data Stream and choose the filter options as you wish.