How to use Azion Object 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 Object 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 Object 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 Object Storage S3 Host. Example:
s3.us-east-005.azionstorage.net
. - On Bucket Name, add the name of your S3 bucket on Object Storage. Example:
mys3bucket
. - On Region, add the region configured on Object Storage. Example:
us-east-005
. - On Access Key, add the access key you created on Object Storage. Example:
ORIA5ZEH9MW4NL5OITY4
. - On Secret Key, add the secret key you created on Object Storage. Example:
+PLjkUWJyOLth3anuWXcLLVrMLeiiiThIokaPEiw
. - On Object Key Prefix (optional), add the prefix for the name of your uploaded object. Example:
user/logs
. - 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 Object Storage in Real-Time Events. To do so, select Data Source > Data Stream and choose the filter options as you wish.
Watch a video tutorial on how to use Object Storage with Data Stream on Azion’s YouTube channel: