AWS dynamodb Data Export to S3

Source: Internet
Author: User
Tags dynamodb aws data pipeline amazon dynamodb

This section describes how to export data from one or more dynamodb tables to S3 buckets. Before you perform the export, you need to create S3 buckets in advance. NoteIf you haven't used AWS Data Pipeline before, you'll need to create two IAM roles before executing the process below. For more information, please visit creating IAM Roles for AWS Data Pipeline. export data from Dynamodb to S3
  1. Log in to the AWS Administrator console and open the Dynamodb console. https://console.aws.amazon.com/dynamodb/.
  2. On the Amazon DynamoDB Tables page, click export/import.
  3. On the export/import page, select the table you want to export and click Export from DynamoDB.
  4. On the Create Export Table Data Pipeline (s) page, follow the process below:
    1. fill in the Amazon S3 URI in the  s3 Output folder   text box, and the exported file will be stored in the appropriate folder in S3. For example: s3://mybucket/exports
      The rule for this URI should be this way  < Code style= "font-family: ' Courier New ', Courier,mono" >s3://bucketname /
      • bucketname   is the name of the bucket in S3
      • folder   Represents the name of the folder under this bucket. If this folder does not exist, it will be created automatically. If you do not specify this name, it will be automatically granted a name, the rule of the name is: s3:// bucketname / region / Span style= "Color:rgb (255,0,0)" >tablename .
    2. Enter a S3 URI in the S3 log Folder text box and the log of the export process will be stored in the corresponding Folder. For example:s3://mybucket/logs/
      S3 Log Folder The format of the URI is the same as the format of the S3 Output Folder .
    3. You can select a percentage in the throughput rate text box. This ratio indicates that the upper limit of read throughput is consumed during the export process. For example, suppose you want to export a table with a read throughput of 20, and you set the percentage to 40%. Then the throughput consumed by the export will not exceed 8.
      If you are exporting multiple tables, this throughput rate will be applied to each table.
    4. Execution Timeout text box, enter the time-out for the export task. This task fails if the export task does not complete within this length of time.
    5. Send notifications to text box, enter an email address. After pipeline is created, you will receive an email invitation to subscribe to Amazon SNS, and if you accept this invitation, you will receive an email notification each time you perform an export operation.
    6. Schedule option, select one of the following:
      • one-time Export-the exported task will be executed immediately after pipeline is created.
      • Daily Export-the exported task will be executed at the moment you specify, and will be repeated at that time of day.
    7. Data Pipeline Role, select datapipelinedefaultrole.
    8. Resource Role, select datapipelinedefaultresourcerole
  5. Confirm the above settings and click Create Export Pipeline.
Your pipeline will now be created, and this process may take several minutes to complete. To view the current status, move to managing export and Import pipelines. If the schedule you selected is one-time export, the export task executes immediately after the pipeline creation succeeds. If you select Daily Export, the export task will be executed at the specified time, and the export task will be performed at that time of day. When the export task ends, you can go to Amazon S3 console to view the export file. This file will be in a folder named after your table name, and the filename will be this format: YYYY-MM-DD_HH.MM。文件内部结构会在Described in Verify Data Export File.

AWS dynamodb Data Export to S3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.