Serverless Architectures with Amazon DynamoDB and Amazon Kinesis Streams with AWS Lambda Ulasan

Serverless Architectures with Amazon DynamoDB and Amazon Kinesis Streams with AWS Lambda Ulasan

2137 ulasan

Kwassi Omer Fulgence D. · Diulas sekitar 7 tahun lalu

Daifu y. · Diulas sekitar 7 tahun lalu

I really wished that this lab would have been without issues. Alas, there were role permission issues at the end with creating a trigger (see message below) as well as when I tried to update and execute the Lambda function (see below that). Please update your lab for future usage to grant the proper permissions to roles so no issues are encountered. "There was an error creating the trigger: Cannot access stream arn:aws:dynamodb:us-west-2:012153456100:table/GameScoreRecords/stream/2017-02-15T15:46:18.976. Please ensure the role can perform the GetRecords, GetShardIterator, DescribeStream, and ListStreams Actions on your stream in IAM." "User: arn:aws:sts::012153456100:federated-user/m-nuzzo is not authorized to perform: lambda:InvokeFunction on resource: arn:aws:lambda:us-west-2:012153456100:function:AggregateScoresByUser"

Mark N. · Diulas sekitar 7 tahun lalu

Stephen H. · Diulas sekitar 7 tahun lalu

Chris T. · Diulas sekitar 7 tahun lalu

There was one bug in the role setting. Doc error.

Byungjoon L. · Diulas sekitar 7 tahun lalu

Was challenged with a login in Putty - unable to connect to the EC2 environment Also, instructions are incorrect in second portion of lab: "lamba_basic_execution_dynamodb" must be selected as the role, not "lamba_basic_execution" as the lab instructions state

Joseph D. · Diulas sekitar 7 tahun lalu

Sylvester K. · Diulas sekitar 7 tahun lalu

siddharth s. · Diulas sekitar 7 tahun lalu

Tomoya O. · Diulas sekitar 7 tahun lalu

James B. · Diulas sekitar 7 tahun lalu

Tyler J. · Diulas sekitar 7 tahun lalu

Jhen-Wei H. · Diulas sekitar 7 tahun lalu

Du S. · Diulas sekitar 7 tahun lalu

Lambda does NOT work with Microsoft Edge - Recommend including a warning or getting that fixed. Have to restart. Glad I have a subscription. Additionally: the lab has IAM role lambda_basic_execution_dynamo but you are never explicitly instructed to utilize it. At one point you will need it to continue.

Brian C. · Diulas sekitar 7 tahun lalu

Didn't really see the Kinesis point

LIsa K. · Diulas sekitar 7 tahun lalu

This lab was really great BUT, step 85 is wrong. It should be For existing role, click lambda_basic_execution_dynamodb not For existing role, click lambda_basic_execution otherwise the lambda won't have permissions to write to DynamoDB

Nicholas H. · Diulas sekitar 7 tahun lalu

Marchello M. · Diulas sekitar 7 tahun lalu

Kyle M. · Diulas sekitar 7 tahun lalu

Khoa T. · Diulas sekitar 7 tahun lalu

not sure how it was started?

Mitch D. · Diulas sekitar 7 tahun lalu

not sure how it was started?

Mitch D. · Diulas sekitar 7 tahun lalu

Kyle O. · Diulas sekitar 7 tahun lalu

START RequestId: 3833b76e-ec9e-11e6-ae69-f1c6d216fbae Version: $LATEST 2017-02-06T18:58:17.373Z 3833b76e-ec9e-11e6-ae69-f1c6d216fbae DynamoDB Record: {"Keys":{"RecordID":{"S":"2"}},"NewImage":{"RecordID":{"S":"2"},"Username":{"S":"Jane Doe"},"Score":{"N":"100"},"Nickname":{"S":"JaneD"}},"StreamViewType":"NEW_IMAGE","SequenceNumber":"111","SizeBytes":26} 2017-02-06T18:58:17.479Z 3833b76e-ec9e-11e6-ae69-f1c6d216fbae { [AccessDeniedException: User: arn:aws:sts::766811638652:assumed-role/lambda_basic_execution/AggregateScoresByUser is not authorized to perform: dynamodb:UpdateItem on resource: arn:aws:dynamodb:us-west-2:766811638652:table/GameScoresByUser] message: 'User: arn:aws:sts::766811638652:assumed-role/lambda_basic_execution/AggregateScoresByUser is not authorized to perform: dynamodb:UpdateItem on resource: arn:aws:dynamodb:us-west-2:766811638652:table/GameScoresByUser', code: 'AccessDeniedException', time: Mon Feb 06 2017 18:58:17 GMT+0000 (UTC), requestId: '6NKL1FDHHOBPB0RVE9NQQ1P7EJVV4KQNSO5AEMVJF66Q9ASUAAJG', statusCode: 400, retryable: false, retryDelay: 0 } 'AccessDeniedException: User: arn:aws:sts::766811638652:assumed-role/lambda_basic_execution/AggregateScoresByUser is not authorized to perform: dynamodb:UpdateItem on resource: arn:aws:dynamodb:us-west-2:766811638652:table/GameScoresByUser at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:43:27) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:105:20) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:77:10) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:668:14) at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10) at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12) at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10 at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9) at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:670:12) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:115:18)' END RequestId: 3833b76e-ec9e-11e6-ae69-f1c6d216fbae REPORT RequestId: 3833b76e-ec9e-11e6-ae69-f1c6d216fbae Duration: 123.54 ms Billed Duration: 200 ms Memory Size: 128 MB Max Memory Used: 25

Jason V. · Diulas sekitar 7 tahun lalu

The provided test code did not work. (which screwed up the rest of the lab)

Karen M. · Diulas sekitar 7 tahun lalu

Kami tidak dapat memastikan bahwa ulasan yang dipublikasikan berasal dari konsumen yang telah membeli atau menggunakan produk terkait. Ulasan tidak diverifikasi oleh Google.