Serverless Architectures with Amazon DynamoDB and Amazon Kinesis Streams with AWS Lambda avaliações

Serverless Architectures with Amazon DynamoDB and Amazon Kinesis Streams with AWS Lambda avaliações

2137 avaliações

Kwassi Omer Fulgence D. · Revisado há about 7 years

Daifu y. · Revisado há about 7 years

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. · Revisado há about 7 years

Stephen H. · Revisado há about 7 years

Chris T. · Revisado há about 7 years

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

Byungjoon L. · Revisado há about 7 years

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. · Revisado há about 7 years

Sylvester K. · Revisado há about 7 years

siddharth s. · Revisado há about 7 years

Tomoya O. · Revisado há about 7 years

James B. · Revisado há about 7 years

Tyler J. · Revisado há about 7 years

Jhen-Wei H. · Revisado há about 7 years

Du S. · Revisado há about 7 years

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. · Revisado há about 7 years

Didn't really see the Kinesis point

LIsa K. · Revisado há about 7 years

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. · Revisado há about 7 years

Marchello M. · Revisado há about 7 years

Kyle M. · Revisado há about 7 years

Khoa T. · Revisado há about 7 years

not sure how it was started?

Mitch D. · Revisado há about 7 years

not sure how it was started?

Mitch D. · Revisado há about 7 years

Kyle O. · Revisado há about 7 years

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. · Revisado há about 7 years

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

Karen M. · Revisado há about 7 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.