Thực hiện lệnh sudo su
Download và unzip data mẫu:
curl -O https://amazon-dynamodb-labs.com/static/hands-on-labs/sampledata.zip
unzip sampledata.zip
Load data mẫu sử dụng the batch-write-item CLI:
aws dynamodb batch-write-item --request-items file://ProductCatalog.json
aws dynamodb batch-write-item --request-items file://Forum.json
aws dynamodb batch-write-item --request-items file://Thread.json
aws dynamodb batch-write-item --request-items file://Reply.json
Sau mỗi lần tải dữ liệu, bạn sẽ nhận được thông báo này cho biết không có mục nào chưa được xử lý.
{
"UnprocessedItems": {}
}
