AWS S3
Introduction
Amazon S3 (Simple Storage Service) is a scalable, high-speed, web-based cloud storage service designed for online backup and archiving of data and applications. It offers secure, durable, and highly-scalable object storage, making it ideal for a wide range of use cases, from data lakes and mobile applications to backup and restore operations.
Follow the guide below to set up an account and get IAM credentials on AWS S3:
S3 Secret
If your S3 bucket requires authentication for read or write access, set up a secret to store your S3 credentials securely with ByteNite (see 🔐 Setting up secrets)
Here's an example of a request body of the Secrets endpoint for saving S3 keys:
{
"secret": {
"id": "my_aws_secret",
"secretType": "s3",
"expiresAt": "2025-12-29T18:02:27.140Z",
"accessKey": "AKIAXXEXAMPLEEXAMPLEX",
"name": "My AWS Full Bucket Access"
},
"secretKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}
S3 Data Source Object
Set up your data source with S3 using the your previously configured S3 secret and the following params
:
Here is an example S3 data source and destination request body:
{
"dataSource": {
"dataSourceDescriptor": "s3",
"params": {
"@type": "type.googleapis.com/bytenite.data_source.S3DataSource",
"name": "/vids/big_buck_bunny.mp4",
"bucketName": "my-app-data-bucket-12345",
"cloudRegion": "us-east-2",
"secret_id": "my_aws_secret"
}
},
"dataDestination": {
"dataSourceDescriptor": "s3",
"params": {
"@type": "type.googleapis.com/bytenite.data_source.S3DataSource",
"name": "/vids/encoded/",
"bucketName": "my-app-data-bucket-12345",
"cloudRegion": "us-east-2",
"secret_id": "my_aws_secret"
}
}
}
Last updated
Was this helpful?