Configuring Amazon DataSync transfers with an object storage system
To transfer data to or from your object storage system, you must create an Amazon DataSync transfer location. DataSync can use this location as a source or destination for transferring data.
Prerequisites
Your object storage system must be compatible with the following Amazon S3 API operations for DataSync to connect to it:
-
AbortMultipartUpload
-
CompleteMultipartUpload
-
CopyObject
-
CreateMultipartUpload
-
DeleteObject
-
DeleteObjects
-
DeleteObjectTagging
-
GetBucketLocation
-
GetObject
-
GetObjectTagging
-
HeadBucket
-
HeadObject
-
ListObjectsV2
-
PutObject
-
PutObjectTagging
-
UploadPart
Creating your object storage transfer location
Before you begin, you need an object storage system that you plan to transfer data from.
To create an object storage location by using the console
Open the Amazon DataSync console at https://console.amazonaws.cn/datasync/
. -
In the left navigation pane, expand Data transfer, then choose Locations and Create location.
-
For Location type, choose Object storage.
You configure this location as a source or destination later.
-
For Agents, choose one or more DataSync agents.
During the transfer, the agents securely connect to your object storage server.
-
For Server, provide the domain name or IP address of the object storage server.
-
For Bucket name, enter the name of the object storage bucket involved in the transfer.
-
For Folder, enter an object prefix.
DataSync only copies objects with this prefix.
-
To configure the connection to the object storage server, expand Additional settings and do the following:
-
For Server protocol, choose HTTP or HTTPS.
-
For Server port, use a default port (80 for HTTP or 443 for HTTPS) or specify a custom port if needed.
-
For Certificate, if your object storage system uses a private or self-signed cegrtificate authority (CA), select Choose file and specify a single
.pem
file with a full certificate chain.The certificate chain might include:
-
The object storage system's certificate
-
All intermediate certificates (if there are any)
-
The root certificate of the signing CA
You can concatenate your certificates into a
.pem
file (which can be up to 32768 bytes before base64 encoding). The following examplecat
command creates an
file that includes three certificates:object_storage_certificates
.pemcat
object_server_certificate
.pemintermediate_certificate
.pemca_root_certificate
.pem >object_storage_certificates
.pem -
-
-
If credentials are required to access the object storage server, select Requires credentials and enter the Access key and Secret key for accessing the bucket.
The access key and secret key can be a user name and password, respectively.
-
(Optional) Choose Add tag to tag your object storage location.
Tags are key-value pairs that help you manage, filter, and search for your locations. We recommend creating at least a name tag for your location.
-
Choose Create location.