-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from YikaiHu/main
Update to version v2.6.0
- Loading branch information
Showing
93 changed files
with
2,829 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
[English](./USING_PREFIX_LIST_EN.md) | ||
|
||
# 使用前缀列表完成多个指定前缀中数据的传输 | ||
# 使用前缀列表文件过滤数据传输任务 | ||
|
||
## Step 1: 创建前缀列表 | ||
## 第1步:创建前缀列表文件 | ||
|
||
请将前缀列表写入纯文本格式文件,每行一个前缀。 | ||
请将前缀列表以纯文本格式写入文件,每行一个前缀。 | ||
|
||
示例如下: | ||
![Prefix List File](images/prefix_list_file.png) | ||
例如: | ||
![前缀列表文件](images/prefix_list_file.png) | ||
|
||
## Step 2: 上传前缀列表文件到源数据桶 | ||
## 第2步:将前缀列表文件上传到您的存储桶 | ||
> **注意**:在第3步指定位置时,请确保输入前缀列表文件的精确路径。 | ||
您可以将前缀列表文件放在源存储桶中的任何位置。 | ||
> 注意: 请记住在步骤3填写Prefix List File的位置时填入它的实际路径。 | ||
### 选项1:将前缀列表文件上传到您的源存储桶 | ||
|
||
您可以在源存储桶内的任何位置存储前缀列表文件。 | ||
![prefix_list_file_in_s3](images/prefix_list_file_in_s3.png) | ||
|
||
## Step 3: 配置 Cloudformation 的堆栈模板 | ||
### 选项2:将前缀列表文件上传到与数据传输中心同一区域和账户的第三个存储桶 | ||
|
||
将Prefix List File的路径写入堆栈模板的指定参数中。 | ||
您可以在第三个存储桶的任何位置放置前缀列表文件。重要的是,这个第三个存储桶必须与Data Transfer Hub处于同一区域和账户。 | ||
![prefix_list_file_in_third_s3](images/prefix_list_third_s3.png) | ||
|
||
![cloudformaiton](images/cloudformation_prefix_list.png) | ||
对于使用 Data Transfer Hub 控制台的用户,只需点击提供的链接即可直接导航至第三个存储桶。 | ||
![prefix_list_file_from_portal](images/prefix_list_portal.png) | ||
|
||
## 第3步:配置CloudFormation堆栈模板 | ||
|
||
在提供的输入框中输入前缀列表文件的路径。 | ||
如果您的前缀列表文件位于源存储桶中,请将`Bucket Name for Source Prefix List File`参数留空。 | ||
|
||
![cloudformation](images/cloudformation_prefix_list.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
| Date | Description| | ||
|----------|--------| | ||
|----------------|--------| | ||
| January 2021 | Initial release of version 1.0 | | ||
| July 2021 | Released version 2.0 <br> 1. Support general OIDC providers, including Authing, Auth0, okta, etc.<br> 2. Support transferring objects from more Amazon S3 compatible storage services, such as Huawei Cloud OBS.<br> 3. Support setting the access control list (ACL) of the target bucket object<br> 4. Support deployment in account A, and copying data from account B to account C<br> 5. Change to use Graviton 2 instance, and turn on BBR to transfer S3 objects to improve performance and save costs<br> 6. Change to use Secrets Manager to maintain credential information | | ||
| December 2021 | Released version 2.1 <br> 1. Support custom prefix list to filter transfer tasks<br> 2. Support configuration of single-run file transfer tasks<br> 3. Support configuration of tasks through custom CRON Expression timetable<br> 4. Support manual enabling or disabling of data comparison function | | ||
| July 2022 | Released version 2.2 <br> 1. Support transfer data through Direct Connect| | ||
| March 2023 | Released version 2.3 <br> 1. Support embedded dashboard and logs <br> 2. Support S3 Access Key Rotation <br> 3. Enhance One Time Transfer Task monitoring| | ||
| April 2023 | Released version 2.4 <br> 1. Support payer request S3 object transfer| | ||
| September 2023 | Released version 2.5 <br> 1. Added support for transferring ECR assets without tags <br> 2. Optimize stop task operation, add new filter condition to view all history tasks <br> 3. Enhanced transfer performance by utilizing cluster capabilities through parallel multipart upload for large file transfers <br> 4.Added automatic restart functionality for the Worker CLI <br> 5.Enabled IMDSv2 by default for Auto Scaling Groups | | ||
| September 2023 | Released version 2.5 <br> 1. Added support for transferring ECR assets without tags <br> 2. Optimize stop task operation, add new filter condition to view all history tasks <br> 3. Enhanced transfer performance by utilizing cluster capabilities through parallel multipart upload for large file transfers <br> 4.Added automatic restart functionality for the Worker CLI <br> 5.Enabled IMDSv2 by default for Auto Scaling Groups | | ||
| January 2024 | Released version 2.6 <br> 1. Added support for Amazon S3 destination bucket being encrypted with Amazon S3 managed keys <br> 2. Provided the optional Amazon S3 bucket to hold prefix list file <br> 3. Added the feature of deleting KMS Key automatically after the solution pipeline status turns to stopped <br> 4. Added the feature that Finder Instance enables DTH-CLI automatically after external reboot <br> 5. Increased Finder capacity to 316GB&512GB <br> 6. Added three supported Regions: Asia Pacific (Melbourne), Canada (Calgary), Israel (Tel Aviv) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
# Set up credentials for Amazon S3 | ||
|
||
## Step 1: Create an IAM policy | ||
|
||
1. Open AWS Management Console. | ||
|
||
2. Choose IAM > Policy, and choose **Create Policy**. | ||
|
||
3. Create a policy. You can follow the example below to use IAM policy statement with minimum permissions, and change the `<your-bucket-name>` in the policy statement accordingly. | ||
|
||
!!! Note "Note" | ||
For S3 buckets in AWS China Regions, make sure you also change to use `arn:aws-cn:s3:::` instead of `arn:aws:s3:::`. | ||
|
||
### Policy for source bucket | ||
|
||
``` | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "dth", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"s3:GetObject", | ||
"s3:ListBucket" | ||
], | ||
"Resource":[ | ||
"arn:aws:s3:::<your-bucket-name>/*", | ||
"arn:aws:s3:::<your-bucket-name>" | ||
] | ||
} | ||
] | ||
} | ||
``` | ||
|
||
|
||
### Policy for destination bucket | ||
|
||
``` | ||
{ | ||
"Version": "2012-10-17", | ||
"Statement": [ | ||
{ | ||
"Sid": "dth", | ||
"Effect": "Allow", | ||
"Action": [ | ||
"s3:PutObject", | ||
"s3:ListBucket", | ||
"s3:PutObjectAcl", | ||
"s3:AbortMultipartUpload", | ||
"s3:ListBucketMultipartUploads", | ||
"s3:ListMultipartUploadParts" | ||
], | ||
"Resource": [ | ||
"arn:aws:s3:::<your-bucket-name>/*", | ||
"arn:aws:s3:::<your-bucket-name>" | ||
] | ||
} | ||
] | ||
} | ||
``` | ||
|
||
To enable S3 Delete Event, you need to add `"s3:DeleteObject"` permission to the policy. | ||
|
||
Data Transfer Hub has native support for the S3 source bucket which enabled SSE-S3 and SSE-KMS. If your source bucket enabled *SSE-CMK*, please replace the source bucket policy with the policy in the link [for S3 SSE-KMS](./S3-SSE-KMS-Policy.md). | ||
|
||
## Step 2: Create a user | ||
|
||
1. Open AWS Management Console. | ||
1. Choose IAM > User, and choose **Add User** to follow the wizard to create a user with credential. | ||
1. Specify a user name, for example, *dth-user*. | ||
1. For Access Type, select **Programmatic access** only and choose **Next: Permissions**. | ||
1. Select **Attach existing policies directly**, search and use the policy created in Step 1, and choose **Next: Tags**. | ||
1. Add tags if needed, and choose **Next: Review**. | ||
1. Review the user details, and choose **Create User**. | ||
1. Make sure you copied/saved the credential, and then choose **Close**. | ||
|
||
![Create User](../images/user.png) |
Oops, something went wrong.