Question: issues Node.js hello world running core 1.9.2

"I have an issue where the Node HelloWorld example behaves differently than the python version. I have tested this with core 1.9.2 on two different hardware platforms (both armv7l - one is raspi). The issue are:MQTT messages from cloud to core are received three times by the HW lambda( only sent once)Lambda receives SIGTERM after even+ timeoutlambda is configured with heaps of RAM (100MB), longlived, timeout 30 secondscould be explained by QoS, but I'm not sure how to configure this - wasn't an issue with pythonthis related to timeout, but python HelloW did't have this issue.Only one mqtt message was sent by test interface, but lambda received it three times.[2019-09-12T14:46:47.791+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:46:47.797+01:00][INFO]-Work posted with invocation ID [8d5d5ef1-4464-4468-5c34-b367a29cd6e9][2019-09-12T14:46:47.798+01:00][INFO]-null[2019-09-12T14:46:47.799+01:00][INFO]-8d5d5ef1-4464-4468-5c34-b367a29cd6e9[2019-09-12T14:46:49.972+01:00][INFO]-Got work item with invocation id [52b9df8c-d6d1-4f8e-5624-a8d29108db4e][2019-09-12T14:46:49.981+01:00][INFO]-START RequestId: 52b9df8c-d6d1-4f8e-5624-a8d29108db4e[2019-09-12T14:46:49.984+01:00][INFO]-EVENT: {[2019-09-12T14:46:49.984+01:00][INFO]- "message": "msg1"[2019-09-12T14:46:49.984+01:00][INFO]-}[2019-09-12T14:46:49.984+01:00][INFO]-End RequestId: 52b9df8c-d6d1-4f8e-5624-a8d29108db4e[2019-09-12T14:46:57.801+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:46:57.801+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:46:57.807+01:00][INFO]-Work posted with invocation ID [3f5ccd05-1c1e-42d1-563c-562cb3e57ecc][2019-09-12T14:46:57.807+01:00][INFO]-null[2019-09-12T14:46:57.808+01:00][INFO]-3f5ccd05-1c1e-42d1-563c-562cb3e57ecc[2019-09-12T14:47:07.814+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:47:07.814+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:47:07.82+01:00][INFO]-Work posted with invocation ID [91c9c396-b3e7-40c4-5567-7db36a5ccfd7][2019-09-12T14:47:07.822+01:00][INFO]-null[2019-09-12T14:47:07.822+01:00][INFO]-91c9c396-b3e7-40c4-5567-7db36a5ccfd7[2019-09-12T14:47:17.826+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:47:17.827+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:47:17.833+01:00][INFO]-Work posted with invocation ID [3132ce31-3509-4ea4-50f4-237606a8c74f][2019-09-12T14:47:17.834+01:00][INFO]-null[2019-09-12T14:47:17.835+01:00][INFO]-3132ce31-3509-4ea4-50f4-237606a8c74f[2019-09-12T14:47:19.972+01:00][INFO]-Caught SIGTERM. Stopping runtime.[2019-09-12T14:47:20.745+01:00][INFO]-Running [arn:aws:lambda:us-east-1:886556155174:function:NodeHelloW:9][2019-09-12T14:47:20.797+01:00][INFO]-Getting work for function [arn:aws:lambda:us-east-1:886556155174:function:NodeHelloW:9] from /2016-11-01/functions/arn:aws:lambda:us-east-1:886556155174:function:NodeHelloW:9/work[2019-09-12T14:47:20.837+01:00][INFO]-Got work item with invocation id [52b9df8c-d6d1-4f8e-5624-a8d29108db4e][2019-09-12T14:47:20.845+01:00][INFO]-START RequestId: 52b9df8c-d6d1-4f8e-5624-a8d29108db4e[2019-09-12T14:47:20.848+01:00][INFO]-EVENT: {[2019-09-12T14:47:20.849+01:00][INFO]- "message": "msg1"[2019-09-12T14:47:20.849+01:00][INFO]-}[2019-09-12T14:47:20.849+01:00][INFO]-End RequestId: 52b9df8c-d6d1-4f8e-5624-a8d29108db4e[2019-09-12T14:47:30.768+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:47:30.774+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:47:30.789+01:00][INFO]-Work posted with invocation ID [7b398182-e1b9-43bd-4bba-e89caa272d76][2019-09-12T14:47:30.793+01:00][INFO]-null[2019-09-12T14:47:30.794+01:00][INFO]-7b398182-e1b9-43bd-4bba-e89caa272d76[2019-09-12T14:47:40.791+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:47:40.791+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:47:40.799+01:00][INFO]-Work posted with invocation ID [0dcd71b8-38fa-426e-483a-30ff1d1433d2][2019-09-12T14:47:40.8+01:00][INFO]-null[2019-09-12T14:47:40.801+01:00][INFO]-0dcd71b8-38fa-426e-483a-30ff1d1433d2[2019-09-12T14:47:50.796+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:47:50.796+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:47:50.802+01:00][INFO]-Work posted with invocation ID [17b39082-17fc-49da-42a1-807569f76dc4][2019-09-12T14:47:50.803+01:00][INFO]-null[2019-09-12T14:47:50.804+01:00][INFO]-17b39082-17fc-49da-42a1-807569f76dc4[2019-09-12T14:47:50.831+01:00][INFO]-Caught SIGTERM. Stopping runtime.[2019-09-12T14:47:51.766+01:00][INFO]-Running [arn:aws:lambda:us-east-1:886556155174:function:NodeHelloW:9][2019-09-12T14:47:51.817+01:00][INFO]-Getting work for function [arn:aws:lambda:us-east-1:886556155174:function:NodeHelloW:9] from /2016-11-01/functions/arn:aws:lambda:us-east-1:886556155174:function:NodeHelloW:9/work[2019-09-12T14:47:51.856+01:00][INFO]-Got work item with invocation id [52b9df8c-d6d1-4f8e-5624-a8d29108db4e][2019-09-12T14:47:51.865+01:00][INFO]-START RequestId: 52b9df8c-d6d1-4f8e-5624-a8d29108db4e[2019-09-12T14:47:51.868+01:00][INFO]-EVENT: {[2019-09-12T14:47:51.868+01:00][INFO]- "message": "msg1"[2019-09-12T14:47:51.868+01:00][INFO]-}[2019-09-12T14:47:51.868+01:00][INFO]-End RequestId: 52b9df8c-d6d1-4f8e-5624-a8d29108db4e[2019-09-12T14:48:01.789+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:48:01.795+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:48:01.811+01:00][INFO]-Work posted with invocation ID [f3aa5543-8ca8-427a-58a8-d782b893f65d][2019-09-12T14:48:01.814+01:00][INFO]-null[2019-09-12T14:48:01.815+01:00][INFO]-f3aa5543-8ca8-427a-58a8-d782b893f65d[2019-09-12T14:48:11.812+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:48:11.813+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:48:11.819+01:00][INFO]-Work posted with invocation ID [c484d3e1-4042-49dc-7adc-8bd44fe0164f][2019-09-12T14:48:11.821+01:00][INFO]-null[2019-09-12T14:48:11.821+01:00][INFO]-c484d3e1-4042-49dc-7adc-8bd44fe0164f[2019-09-12T14:48:21.825+01:00][INFO]-Publishing message on topic "hello/world" with Payload "{ "message": "Hello world!!! Sent from Greengrass Core running on platform: linux-4.14.79-v7+ using NodeJS" }"[2019-09-12T14:48:21.826+01:00][INFO]-Posting work for function [arn:aws:lambda:::function:GGRouter] to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter[2019-09-12T14:48:21.832+01:00][INFO]-Work posted with invocation ID [4f9493c4-94f5-424e-447e-9a302f7d436c][2019-09-12T14:48:21.833+01:00][INFO]-null[2019-09-12T14:48:21.834+01:00][INFO]-4f9493c4-94f5-424e-447e-9a302f7d436c[2019-09-12T14:48:21.851+01:00][INFO]-Caught SIGTERM. Stopping runtime.Edited by: KidIT on Sep 12, 2019 7:34 AMEdited by: KidIT on Sep 12, 2019 7:36 AMFollowComment"

Answer: "0Hi KidIT,What does it say in your Lambda logs? You may need to enable lambda logging and redeploy.https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-troubleshooting.html#troubleshooting-logsTo your first question, that's expected. The lambda will be triggered up to three times attempting to get a successful execution. If the lambda crashes it will try again.You're having this issue on a Raspberry Pi, correct? What's the output of the following?cat /etc/os-releaseuname -aIs this the hello world example at https://github.com/aws/aws-greengrass-core-sdk-js/blob/master/greengrassExamples/HelloWorld/index.jsOr have you made changes?Thanks,KR-AWSCommentShareKR-AWSanswered 4 years ago0Hey,I tried this again with different settings:previously, I had a symlink from nodejs.8.10 to node ( AWS SDK github pages says not to do this)I was using master branch of aws-greengrass-node-sdk moved to tag 1.4I thought I had posted my lambda logs. I had enabled cloudwatch logs to capture "user lambda" logs.What are the other lambda logs ?So the lambda is crashing? I though the sigterm was triggered by the timeout since it's always roughly what I have the timeout set for.PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"NAME="Raspbian GNU/Linux"VERSION_ID="9"VERSION="9 (stretch)"ID=raspbianID_LIKE=debianHOME_URL="http://www.raspbian.org/"SUPPORT_URL="http://www.raspbian.org/RaspbianForums"BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/LinuxEdited by: KidIT on Sep 26, 2019 12:49 PMCommentShareKidITanswered 4 years ago0Hello again,Here are logs from a different platform. The lambda is the Hello World example from the SDK with two changes.the HW message interval was changed from 5 to 15 seconds. The HW message was shortenedThe event object is serialized before it is console.log'd.The settings are for long lived. the timeout is 30 seconds. In the log, you can see that the sigterm comes roughly after the duration of the timeout after a message is received.I am sending the "message": "test1" only once. - it's received three times.This was with tag 1.4 of the AWS greengrass js SDK.2019-09-27T11:06:44.637Z  -Running  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:22019-09-27T11:06:44.893Z  -Getting work for function  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2  from /2016-11-01/functions/arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2/work2019-09-27T11:06:59.797Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:06:59.897Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:07:00.321Z  -Work posted with invocation ID  a77bb319-f84a-4cbb-71d0-3a3c09c308522019-09-27T11:07:00.464Z  -null2019-09-27T11:07:00.526Z  -a77bb319-f84a-4cbb-71d0-3a3c09c308522019-09-27T11:07:14.995Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:07:14.999Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:07:15.041Z  -Work posted with invocation ID  94e9e190-cf16-43eb-7a98-a72b112ea4642019-09-27T11:07:15.048Z  -null2019-09-27T11:07:15.052Z  -94e9e190-cf16-43eb-7a98-a72b112ea4642019-09-27T11:07:17.396Z  -Got work item with invocation id  a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:07:17.429Z  -START RequestId: a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:07:17.438Z  -EVENT:2019-09-27T11:07:17.438Z  -{2019-09-27T11:07:17.438Z  - "message": "test1"2019-09-27T11:07:17.438Z  -}2019-09-27T11:07:17.438Z  -End RequestId: a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:07:30.008Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:07:30.017Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:07:30.039Z  -Work posted with invocation ID  4e659245-d554-47d2-75d7-43fd6cac6bf72019-09-27T11:07:30.043Z  -null2019-09-27T11:07:30.046Z  -4e659245-d554-47d2-75d7-43fd6cac6bf72019-09-27T11:07:45.029Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:07:45.03Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:07:45.058Z  -Work posted with invocation ID  8d204065-101d-460f-42f4-a3d7a1204c682019-09-27T11:07:45.061Z  -null2019-09-27T11:07:45.063Z  -8d204065-101d-460f-42f4-a3d7a1204c682019-09-27T11:07:47.393Z  -Caught SIGTERM. Stopping runtime.2019-09-27T11:07:58.057Z  -Running  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:22019-09-27T11:07:58.206Z  -Getting work for function  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2  from /2016-11-01/functions/arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2/work2019-09-27T11:07:58.499Z  -Got work item with invocation id  a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:07:58.561Z  -START RequestId: a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:07:58.597Z  -EVENT:2019-09-27T11:07:58.597Z  -{2019-09-27T11:07:58.597Z  - "message": "test1"2019-09-27T11:07:58.597Z  -}2019-09-27T11:07:58.597Z  -End RequestId: a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:08:13.135Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:08:13.153Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:08:13.21Z  -Work posted with invocation ID  b77f1c98-1328-4332-6dab-ac4428ed144c2019-09-27T11:08:13.221Z  -null2019-09-27T11:08:13.225Z  -b77f1c98-1328-4332-6dab-ac4428ed144c2019-09-27T11:08:28.19Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:08:28.194Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:08:28.225Z  -Work posted with invocation ID  3be706ff-00fc-4478-516c-3d3b1c59046e2019-09-27T11:08:28.229Z  -null2019-09-27T11:08:28.232Z  -3be706ff-00fc-4478-516c-3d3b1c59046e2019-09-27T11:08:28.43Z  -Caught SIGTERM. Stopping runtime.2019-09-27T11:08:39.297Z  -Running  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:22019-09-27T11:08:39.443Z  -Getting work for function  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2  from /2016-11-01/functions/arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2/work2019-09-27T11:08:39.701Z  -Got work item with invocation id  a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:08:39.763Z  -START RequestId: a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:08:39.785Z  -EVENT:2019-09-27T11:08:39.785Z  -{2019-09-27T11:08:39.785Z  - "message": "test1"2019-09-27T11:08:39.785Z  -}2019-09-27T11:08:39.785Z  -End RequestId: a3346363-f423-4404-790a-7785c45b5f7c2019-09-27T11:08:54.375Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:08:54.394Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:08:54.451Z  -Work posted with invocation ID  52583486-308f-442f-5856-516c7a6dbf322019-09-27T11:08:54.462Z  -null2019-09-27T11:08:54.466Z  -52583486-308f-442f-5856-516c7a6dbf322019-09-27T11:09:09.432Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:09:09.436Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:09:09.468Z  -Work posted with invocation ID  1124077e-9c57-40f3-64f9-e89b6733327e2019-09-27T11:09:09.472Z  -null2019-09-27T11:09:09.475Z  -1124077e-9c57-40f3-64f9-e89b6733327e2019-09-27T11:09:09.657Z  -Caught SIGTERM. Stopping runtime.2019-09-27T11:09:20.597Z  -Running  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:22019-09-27T11:09:20.715Z  -Getting work for function  arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2  from /2016-11-01/functions/arn:aws:lambda:us-east-1:886556155174:function:nodeHello:2/work2019-09-27T11:09:21.011Z  -Got work item with invocation id  368f4813-b6e7-442d-4381-87e3fc39d87e2019-09-27T11:09:21.072Z  -START RequestId: 368f4813-b6e7-442d-4381-87e3fc39d87e2019-09-27T11:09:21.094Z  -EVENT:2019-09-27T11:09:21.094Z  -{2019-09-27T11:09:21.094Z  - "message": "test2"2019-09-27T11:09:21.094Z  -}2019-09-27T11:09:21.094Z  -End RequestId: 368f4813-b6e7-442d-4381-87e3fc39d87e2019-09-27T11:09:35.667Z  -Publishing message on topic "hello/world" with Payload "{"message": "Hello! Greengrass Core running on platform: linux-4.19.19 using NodeJS"}"2019-09-27T11:09:35.685Z  -Posting work for function  arn:aws:lambda:::function:GGRouter  to /2016-11-01/functions/arn:aws:lambda:::function:GGRouter2019-09-27T11:09:35.748Z  -Work posted with invocation ID  c740ebb7-fe38-4269-6904-0aa2dbab880f2019-09-27T11:09:35.759Z  -nullCommentShareKidITanswered 4 years ago0I found the solution. The handler in the example wasn't calling the the callback function.See thread 3073088https://forums.aws.amazon.com/thread.jspa?threadID=307308&tstart=25CommentShareKidITanswered 4 years ago"


Question: Debug ECS Fargate Healthchecks

"How do I debug failed healthcheck errors on ECS.The question is very vague because I don't get much from AWS in terms of error logs.The only information I have is when I run my Fargate service task, I get:Task failed ELB health checks in (target-group TARGET_GROUP_NAME)In the target group the status is: Request timed out.The logs in the container aren't much more useful:4/10/2023, 7:04:52 PM[2023-04-10 15:04:52 +0000] [1] [INFO] Handling signal: termbackend4/10/2023, 7:04:28 PM[2023-04-10 15:04:28 +0000] [67] [INFO] Booting worker with pid: 67backend4/10/2023, 7:04:28 PM[2023-04-10 15:04:28 +0000] [1] [WARNING] Worker with pid 63 was terminated due to signal 9backend4/10/2023, 7:04:27 PM[2023-04-10 15:04:27 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:63)backend4/10/2023, 7:03:57 PM[2023-04-10 15:03:57 +0000] [63] [INFO] Booting worker with pid: 63I'm certain of my ports/ALB configuration/Target group configuration since my task was running perfectly fine before I deployed my latest changes for my docker container.My docker works on my local machine. There weren't even any major changes.I am also unable to ping my endpoint.I understand this is vague, I'm not looking for a resolution just looking for how do I even start to debug this as there are absolutely no useful logs anywhere.FollowCommentAWS-Harrison a month agoBased on the container logs you provided, I don't believe this is an ECS or ELB issue. The ELB health checks will fail if the application doesn't respond. It looks to me like your container itself is failing which then cascades up to the ELB. You say your container changes were not major. First, I would try reverting and make sure the last version of your container still works. A common cause of those signals is running out of memory.Share"


Question: "HideDisabled" field in ListIdentities

"Hi, according to the List Identities documentation, the field HideDisabled hints that we can disable identities within an identity pool but I couldn't find further information how to accomplish this.Is my understanding correct, can we disable an identity within an identity pool and if so what are the steps?FollowComment"

Answer: "0Hello Robert,It appears that within identities pools, there is an option to specify if you would like to have unauthenticated identities enabled or disabled. 1) Select the name of the identity pool for which you want to enable or disable unauthenticated identities. The Dashboard page for your identity pool appears. 2) In the top-right corner of the Dashboard page, select Edit identity pool. The Edit identity pool page appears. 3) Scroll down and select Unauthenticated identities to expand it. 4) Select the check box to enable or disable access to unauthenticated identities. 5) Select Save Changes.  More about this can be read on our Using identity pools wiki page https://docs.aws.amazon.com/cognito/latest/developerguide/identity-pools.html  Please let us know if you have any more questions. We are happy to assist you!CommentShareIssac_Aanswered 10 months ago"


Question: Running Bash Shell on AWS Lamda

"Hi, I have a task on running some bash scripts on lambda. However, I can't find bash as part of AWS Lambda runtime.I will be glad if you can provide alternative suggestions accordingly.FollowComment"

Answer: "1You can follow the following tutorial that guides how to create a custom Lambda runtime. In your case, just place your code in function.sh.CommentShareEXPERTUrianswered a year ago"


Question: CloudShell data is still scheduled for deletion after I launch CloudShell in that region

"Got an email that says my AWS CloudShell data haven't been used for 110 days in us-east-1 Region and I need to launch it to stop the deletion. I clicked the link in the email and followed the instructions, I was in the correct region, a blank slide showed and it said "preparing your terminal..." then a few lines appeared and then it stopped. I thought that mean I have launched it, but when I went back to the health dashboard, the message about CloudShell data is still there. My ex set up everything for me as he works in IT and I have no IT background. I use shopify to sell candles online and the domains are registered with AWS. Can someone please kindly shed some lights and tell me if this deletion will effect my shopify website and why launching CloudShell data didn't change anything? Did I miss something? I only have a few days left before deletion happens...THANK YOU SO MUCH!FollowComment"

Answer: "0Accepted AnswerI was in the correct region, a blank slide showed and it said "preparing your terminal..." then a few lines appeared and then it stopped.For this one, you need to wait until you can execute the command in the CloudShell terminal.Also, CloudShell may take several minutes to start up.https://docs.aws.amazon.com/cloudshell/latest/userguide/limits.htmlCan someone please kindly shed some lights and tell me if this deletion will effect my shopify website and why launching CloudShell data didn't change anything?The loss of CloudShell data does not affect the domain configuration.When CloudShell data disappears, files stored on CloudShell disappear.CommentShareEXPERTRiku_Kobayashianswered a month agorePost-User-2944627 a month agoHi Riku, thank you so much for answering my question. Just want to confirm, do you mean even the screen stays like with just one line "[cloudshell-user@ip-10-6-180-32 ~]$ ", I keep it open for a few minutes and it will be considered "launched"? Or I have to type a particular command to "launch"? If so, what command should I type? I have zero programming background and any help will be highly appreciated !!ShareRiku_Kobayashi EXPERTa month ago"[cloudshell-user@ip-10-6-180-32 ~]$" is displayed, it is activated.This is the state in which the shell user is displayed, so Linux commands can also be executed.Share"


Question: AWS LoRaWAN - DownLink Issues

"HelloI am working with IOT Wireless with LoRaWANI have 868 MHz - Class C devices with confirmed messages.Messages are not always being actioned by my devices.I can see the message in the Downlink message queue.Its my understanding that if the message is confirmed it should either arrive at the device or there should be some indication it failed.I some times see the following CloudWatch Log:{     "timestamp": "2022-03-21T07:44:03.2699141Z",     "resource": "WirelessDevice",     "wirelessDeviceId": "xxxxxxxxxxxxxxxxx",     "wirelessDeviceType": "LoRaWAN",     "devEui": "xxxxxxxxxxxxxxx",     "event": "Downlink_Data",     "logLevel": "ERROR",     "messageId": "9114ba31-84af-44eb-ab1b-a92b67addbbb",     "message": "Downlink message failed. MessageId: 9114ba31-84af-44eb-ab1b-a92b67addbbb" }But why did it fail ?How can I find out more on what the cause is?In additon to this I have tried Multi-Cast but that also doesn't work with all devices stuck as: Package attemptingNote I have tried the devices / gatways with TTN and I have no issues.Thank youJTFollowComment"

Answer: "0Hi JT. Please take a look at our AWS IoT Core for LoRaWAN workshop, particularly the new downlink and multicast downlink sections as they may help you: https://catalog.us-east-1.prod.workshops.aws/workshops/b95a6659-bd4f-4567-8307-bddb43a608c4/en-US/470-downlinkFor debugging the unicast downlink, in addition to the CloudWatch logs, have you used the Network Analyzer? https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-network-analyzer-overview.htmlFurthermore, if you have access to the Basics Station logs on your gateway, you can see the uplink and downlink messages there: https://doc.sm.tc/station/tcproto.html#Finally, in regards to multicast downlink, AWS IoT Core for LoRaWAN implements the LoRaWAN Remote Multicast Setup Specification: https://lora-alliance.org/resource_hub/lorawan-remote-multicast-setup-specification-v1-0-0/ . Your device must implement this too for it to be able to participate in multicast sessions with AWS IoT Core for LoRaWAN. From https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-multicast-status.html :Package attemptingAfter your devices have been associated with the multicast group, the device status is Package attempting. This status indicates that AWS IoT Core for LoRaWAN has not yet confirmed whether the device supports multicast setup and operation.CommentShareEXPERTGreg_Banswered a year agofabltd a year agoThanksI have reached out to our vendor to see if that multicast method is supported. I suspect its not. That will answer why it doesn't work.I have enabled extra loging now via the CLI for cloud watch - Thank you for the link.Is there anyway to retry a failed delivery ? Some times some network issue might mean the command needs to be sent again.JTShare"


Question: AWS FW manager policy cost to manage common SG

"Hello,I m exploring to use AWS FW manager to manage common security group deployment and other technical capabilities as well. When i was exploring the cost, i came across two data sources one is through blog post/AWS pricing page which says per policy (per region) it would cost customer 100USD and other source is AWS Cost calculator, in the cost calculator it resulting pretty much zerowhat is the right pricing ? is it 100USD per policy/per region or the cost calculator ? and what am i missing in cost calculator or there no metrics added in cost calculatorFollowComment"

Answer: 0The pricing $100USD per/policy. In the calculator it's a little hard to get just the policy price as it's factoring in general usage of other Firewall Manager features and not just the policy compliance itself.CommentShareEXPERTRob_Hanswered 2 months ago


Question: Can I change the directory of a workspace ?

I created initially my workspace with a simple AD directory. but now I want to use FSx (file server) and that requires an AWS Managed directory. I have created this new directory. So how do I switch ? and what happens with the workdocs I was using and the data in it ?FollowComment

Answer: "0WorkSpaces are subordinate to the Directory they are created in. You must created the new Directory and a new WorkSpace in the new Directory. As for WorkDocs, you can continue to use the old Directory but it would be extra overhead managing two Directory identities. Otherwise, you can create WorkDocs in the new Directory and transfer over the files (using FSx to stage between them).CommentShareEXPERTStevieStetsanswered 5 months ago"


Question: "500 Error from API Gateway URL on Lambda Integration, Works Fine from AWS Console"

"I'm working on an API Gateway -> Lambda integration for a client.Everything works fine from the AWS Console.  I can click on test, paste the JSON payload into the window, and it submits just fine and runs the lambda function.When I try using Postman to the URL, I get a 500 error and CloudWatch says "Execution failed due to a configuration error:  Invalid permissions on Lambda function."The function has policy attached that allows access from Principal apigateway.amazon.com, with a Source ARN filter that is of the format arn:aws:execute-api:us-east-1:{acctid}:{apiid}/*/POST/{path}From what I can tell, it should be valid.  I've tried removing the source arn filter completely, or putting *'s in the method and path to no avail.What makes it worse is I did get it to work for a few seconds after tweaking the Source ARN filter, ran into a payload parsing issue in the Lambda, redeployed and I'm back to where I was.  I can't reproduce my momentary success.I have no idea how it is possible at this point for the ARN format to actually be wrong.  I've validated it numerous times, I can see what the SourceArn is in the CloudWatch logs.Is it possible that there is some sort of an AWS Organizations that can specifically block inbound API Gateway requests from reaching a Lambda?  (And if so, why would it momentarily fail and have allowed some access?)Other than that, I am completely out of ideas.   I'm beating my head against the wall on this one. Does anyone have suggestions on what else to check?FollowComment"

Answer: "0Certainly the permission looks correct; and as you say you can substitute POST with * and it should still work. Going into API Gateway and re-selecting the Lambda function as a target will replace the permissions so that's worth a try.is it possible there are some guardrails in your account that are "remediating" your configuration? Yes. But from this distance it's not possible to tell for sure. CloudTrail will show changes in the account so it might be worth looking there to see if any changes are showing up.Other than that: Create a support ticket. The support team has the ability to see what is running in the account and what is happening.CommentShareEXPERTBrettski-AWSanswered a year ago0Yes the source ARN looks correct.Just to be sure, you are running out of us-east-1 right? As that is in your ARN. Also the action is set to lambda:InvokeFuction?CommentShareJimmyDanswered a year ago"


Question: Create security policy before creating new collection?

""https response error StatusCode: 400, RequestID: ****, ValidationException: No matching security policy of encryption type found for collection name: test. Please create security policy of encryption type for this collection.I'm getting the above error when trying to create a collection in OpenSearch serverless (via the Go SDK)I'm sure I'm doing something wrong, but am confused by this error message. In the input:https://docs.aws.amazon.com/opensearch-service/latest/ServerlessAPIReference/API_CreateCollection.htmlthere isn't a field where you can specify a security policy that the collection should have.Am I missing a step before I try creating the collection?FollowComment"

Answer: "2Accepted AnswerEncryptionPolicy should be created prior to creating the collection. Can you try creating an encryption policy first using https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/opensearchserverless#Client.CreateSecurityPolicy and then create collection.I think it's not mentioned on API docs, but seems to be mentioned here in the product page: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html#:~:text=Create%20a%20collection%20(CLI)CommentSharePrashant Agrawalanswered 4 months agorePost-User-2237608 4 months agoThanks that was itShare"


Question: Sun Shafts Disappear Based On Viewpoint

"I have sun shafts in my scene that I've tweaked using the Time of Day editor. When staring at the sun, they look nice; however, if I try to view them from the side (perpendicular to the sun) they disappear. Is there a way to get them to display the entire time?Follow"

Answer: "0Accepted AnswerSun shafts are a screen space effect if you look at a world space one you may try to activate volumetric fog in the console and then tune it in the time of day editor.There is a button to search for console variables in the console down left then write volumetric and you get the right one to activate.SharerePost-User-7621041answered 6 years ago0There is also in the project dir a cfg file where you can set default console commands to execute at start to not have to enter it all the time.SharerePost-User-7621041answered 6 years ago0Awesome, thanks! I didn't know you had to turn on volumetric fog through the console. I was messing with its settings in the Time of Day editor and nothing was happening.SharerePost-User-5046793answered 6 years ago0I was having trouble locating this file, what is it called?SharerePost-User-5046793answered 6 years ago"


Question: Human Task Failed - Sagemaker ground truth labelling jobs

"I have setup the pdf labelling task in Sagemaker groud truth following this link - https://github.com/aws-samples/amazon-comprehend-semi-structured-documents-annotation-toolsAfter sometime, the job is failed saying  "Complete with labeling errors". I found the below log in cloudwatch logs{    "event-name": "HUMAN_TASK_FAILED",    "event-log-message": "ERROR: Human task failed for line 694.",    "labeling-job-name": "resume-labeling-job-20221201T182336"}Not sure what happened. Does anyone have any way to identify the root cause behind this failure ?FollowComment"

Answer: "0Accepted AnswerSince I didn't get answer here, I reached out to tech support to seek guidance. It looks like the job duration is elapsed."failure-reason": "ClientError: Annotation tasks expired.Reasons are TaskAvailabilityLifetimeInSeconds parameter is too small.You can validate this configuration by running the following AWS CLI command from your environment:aws sagemaker describe-labeling-job --labeling-job-name resume-labeling-job-20221212T094103—References—[1] https://docs.aws.amazon.com/sagemaker//latest/APIReference/API_HumanTaskConfig.html#API_HumanTaskConfig_ContentsCommentShareG V Navinanswered 5 months ago"


Question: Why is Windows MTU set to 9001 for some instances and 1500 for others ?

I noticed that booting Windows 2019 Base AMI on a:t3.large (Nitro-based) resulted in having "Ethernet 3" configured with a 1500 bytes MTU.t2.large (Xen-based) resulted in having "Ethernet" configured with a 9001 bytes MTU.FollowComment

Answer: "1Accepted AnswerAs of the time of posting, Windows may use any of 3 different network adapters (and corresponding drivers) on EC2 depending on the the instance type in use and whether or not Enhanced Networking is available/enabled. Loosely, these are as follows:AWS PV: All Xen types where Enhanced Networking is not available or not enabledIntel 82599VF: Some Xen types (C3, C4, D2, I2, M4 excluding m4.16xlarge, and R3) where Enhanced Networking (SriovNetSupport : Simple) is enabledENA : All Nitro instance types (C5, M5, R5, T3, etc) and a few Xen types (R4, M4.16xlarge, i3) where Enhanced Networking (EnaSupport : True) is enabledhttps://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking.htmlMTU is not configured to a specific value on AWS provided Windows AMIs, but rather, the default configuration for each  driver is applied. However, as the drivers are provided by different vendors/teams, they behave a bit differently.In the example provided, Windows on t3.large will use the ENA driver and network adapter, while on t2.large, AWS PV is used. AWS PV will automatically enable jumbo frames if it detects support by the instance type (most all current gen instance types). However, ENA does not automatically adjust this setting, and is configured to 1500 MTU by default. Likewise, the Intel 82599VF driver does not attempt to automatically configure settings and is also set to 1500 MTU.https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/xen-drivers-overview.htmlJumbo frames will get fragmented on exit from VPC, which Windows doesn't always deal with exceptionally well. As an optimized configuration is relative on the work being done, guidance is made available to customers in the public docs regarding discovery of path MTU and configuration per adapter. Additionally, more OS config optimization guidance for ENA is available, which is where the primary development focus is today.https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/network_mtu.htmlhttps://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/enhanced-networking-os.htmlCommentShareAWS-User-7315661answered 3 years ago"


Question: AWS Identity Center SAML Auth for AWS Workspaces (Not Web)

"We've set up Identity Center as an IAM SAML provider (followed all directions at https://docs.aws.amazon.com/workspaces/latest/adminguide/setting-up-saml.html) and have actually gotten Workspaces for Web working with this SAML provider.Now, we're trying to configure AWS Workspaces (Not Web) as an application in Identity Center. When we launch Workspaces via our AWS access portal URL, it launches the Workspaces desktop app (with the correct registration URL), but then the app prompts to Continue to Login and just opens browser window back at the Access Portal URL.Relay state for the application is "https://workspaces.euc-sso.us-east-1.aws.amazon.com/sso-idp?registrationCode=<directory reg code>"What am I missing?ASIDE: Why isn't AWS Workspaces listed as one of the Preintegrated Applications for Identity Center?FollowCommentaustin 2 months agoI am having the exact same issue. Please update if you figure it out!Shareaustin 2 months agoBy the way, what are you using for your "User Access URL" for the SAML 2.0 config in your AWS WorkSpaces Directory?Sharejstell 2 months ago@austin The "User Access URL" in the Workspaces Directory SAML config matches the the "AWS access portal URL" from Identity Center.Share"


Question: Unable to view anything in cloudwatch-> container insights in eks fargate

I followed instruction https://aws.amazon.com/blogs/containers/introducing-amazon-cloudwatch-container-insights-for-amazon-eks-fargate-using-aws-distro-for-opentelemetry/ to deploy container insights to eks fargate. But there is nothing in cloudwatch->container insights dashboard. Is it supported in eks fargate?I also tried to deploy cloudwatch agent for prometheus in eks fargate by following instruction https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ContainerInsights-Prometheus-Setup.html. I still could not see anything in cloudwatch-> container insights dashboard. It says "You have not enabled insights on your containers"FollowComment

Answer: "0Few things to validate.Can the containers reach the Amazon CloudWatch endpoint. For example, monitoring.us-west-1.amazonaws.com - this could be via the internet - eg a NAT gateway or via a VPC endpoint. basically your containers or the host need to be able to reach that endpoint to publish to CloudWatchHas the host got the right permissions to write to CloudWatch - you can confirm this by checking CloudTrail for access denied errorsAre there any errors in the logs for the agent on the container regarding publishing of telemetryCommentSharerobbradanswered 5 months agoJulie 5 months agoI am able to see performance log and metrics published to cloudwatch. There is no errors in logs for the agent. In cloudwatch->container insights -> performance monitoring,  the drop down menu "select cluster" is empty. I suspect it might work for ecs fargate, but not eks fargateShare"


Question: AWS SQS Deadletter queue configuration

I was exploring below scenario:I have one queue call ABC queue which has config as XYZ as dead letter queue. I can remove my dead letter queue xyz. Then I see message started coming back to main queue ABC queue and filing up my queue. I wanted to real production scenario how should we handle this scenario when dead letter queue is   not available or deleted? Or AWS should have stopped before deleting that dead letter queue.FollowComment

Answer: "1After deletion of the DLQ XYZ, the messages will not be able to be delivered to the DLQ, so there will be information about access deny, but I believe that all messages will be deleted after trying to be delivered to DLQ, so you will lose information about not processed messages.To prevent it, you can for example deny deleting the queues on your account.CommentShareMGanswered a year agoAWS-User-soumitra a year agoThanks MG, But After I deleted DLQ, message is not getting delivered to XYZ Dead letter queue, so message appearing back to ABC- main queue. It is not deleting, keeping listing in ABC queue.ShareMG a year agoOhh, I assume that "deleted" mean that it is removed as integration from normal SQS.Then without DLQ the messages will be processed as you wrote until the message expires.The only way to control it is to attach DLQ. If you want, you can ignore messages on DLQ or expire them very early.The expiration time is described here in a Q: How long can I keep my messages in Amazon SQS message queues? or here.ShareAWS-User-soumitra 10 months agonice explanation MGShare1The msgs in your dead letter queue gets deleted with your queue, the new msgs in your queue "ABC"  are piling up because there is no more dead letter queue. If you don't want to have a dead letter queue you should remove your messages so they don't pile up.Update: Removed the following since its not applicable as clarified by soumitra.I am assuming from your question you don't want to process failed msgs but delete them automatically, you can have a dead letter queue with msg expiry set to just 1 minute or 1 day so it automatically deletes the failed msgs if you don't want to process them. This way all failed msgs will goto your DLQ and will be deleted after the msg expiry.CommentSharehameedullahanswered a year agoAWS-User-soumitra a year agomy question is more on real life  scenario where somehow your dead letter queue XYZ is unavailable or stop working or deleted wrongly, then message started pile up in main queue like ABC and you will have unnecessary message in ABC Queue. you do not go and delete message from prod environment and you do not know which message need consume and delete. how to handle this scenario?Sharehameedullah a year agoThank you for clarifying the delete scenario. this is a production incident, how can your DLQ gets deleted wrongly? And if your DLQ gets deleted you should get notified via your monitoring system so you can fix the situation. If your DLQ can get deleted wrongly then your main queue can also get deleted? What you will do in that case?ShareAWS-User-soumitra a year agoThanks hameedullah. There are difference between DLQ deletion vs main queue deletion scenario is I can ask producer to produce it again. I can get all message back.  there are several reason one queue can stop working for sometime, like queue depth and network. As per your suggestion I see one option stop producer, purge queue, set up new dead letter queue. is this a good option, do you agree?Share"


Question: Testing an AWS Glue connection in new Glue console

"Recently, I need to test my Glue Data Connection. As stated in the document,To test an AWS Glue connectionSign in to the AWS Management Console and open the AWS Glue console at https://console.aws.amazon.com/glue/.In the navigation pane, under Legacy pages, choose Connections (legacy).Select the check box next to the desired connection, and then choose Test connection.In the Test connection dialog box, select a role or choose Create IAM role to go to the AWS Identity and Access Management (IAM) console to create a new role. The role must have permissions on the data store.Choose Test connection.Previously, I can see the legacy pages option when accessing the new console but now I see it nowhere. Could you tell me if there were any updates on this function on the new console (where I can do this function, or whether AWS has intention to re-introduce the function in the new console in any time soon) or could I access the Legacy pages (where to find it as of now)?FollowComment"

Answer: "3Accepted AnswerIn us-east-1 region, I can still see the Connections (legacy) option under Legacy pages in the navigation pane. However, after choosing the Connections (legacy) option there is a message that "Legacy console experience for AWS Glue is being deprecated. AWS Glue is removing access to legacy pages on April 30, 2023.".In the new console, Testing an AWS Glue Connection should be available through:Sign in to the AWS Management Console and open the AWS Glue console at https://console.aws.amazon.com/glue/In the navigation pane, under Data Catalog, choose ConnectionsIn the opened Connectors window, scroll down at the bottom until the Connections sectionIn Connections section, click Actions dropdown and then choose Test connection optionCommentSharejoahnaanswered a month agoNguyen Tien Dat a month agoThanks for answering. I'm using Region ap-southeast-1. When accessing in ap-southeast-1 I don't see the Legacy pages. Doing your instructions in the new console solves the problem.ShareNguyen Tien Dat a month agoHi, I'm facing another problem with testing my data connections. When testing with JDBC connection type, it's working as normal. But I can't test connection with my MongoDB Server. Can I ask whether AWS does support MongoDB connection testing or not? Thanks in advance.Share"


Question: AWS access portal URL taken already - find out by whom

"I'm part of a startup (few years old) and just now trying to setup some services within AWS and after doing some basic setup in the IAM Identity Center I attempted to change the "AWS access portal URL" from the default (which is something like https://d-99999999999.awsapps.com/start) to a custom name. I tried to change it to https://herobullion.awsapps.com/start, but it gave me an error "Alias [ herobullion ] already associated with some other directory. Try with a different alias." I'm trying to figure out where this url is already registered, is there a way to find out?One clue I have is that https://herobullion.awsapps.com/start redirects to a login page for Amazon WorkDocs, which is a service that none of my coworkers think they have setup before, but I suspect that one of us is just forgetting. Our company doesn't use WorkDocs at all and I would prefer if I could find which account has registered this domain  so I can go unconfigure it. Any help is greatly appreciated.FollowComment"

Answer: "0In general, we can't provide these sorts of details because it violates the privacy of other customers. If you think that one of your co-workers have taken this particular name, I'd suggest going through each account and seeing what is active there. Given that things can be deployed in different regions, I'd either write a script to query for the appropriate details in all regions; or use Config to do the work for you.CommentShareEXPERTBrettski-AWSanswered 15 days ago"


Question: AWS SQL Server RDS Full-Text Search on PDFs

We are using SQL Server RDS and looking to implement full-text search. We need to search on a variety of file types but mainly on pdf. My understanding for pdf there is an Adobe iFilter plugin that will allow this. I have accomplished this on-premise before but not RDS.  Would I install Adobe iFilter plugin on RDS?Is it even possible to install this pdf iFilter plugin on RDS?FollowComment

Answer: "1RDS instances are managed by Amazon, so they do not provide access to the underlying operating system.An alternative is to host your database in an EC2 instance. I discourage this thought, as you lose real benefit of cloud such as operational overhead moved over to AWS rather than your team, so you do not have to maintain and patch. Nevertheless you ll have access to OS and may be able to customize as you wish.An alternative approach would be to use a service such as Amazon CloudSearch or Amazon Elasticsearch Service to perform full-text search on PDFs. You may integrate RDS with those services so you exploit what they are meant to be, exactly full-text-search.CommentShareEXPERTalatechanswered 4 months agorePost-Sanjeev a month agoHi Alatech, as per https://aws.amazon.com/about-aws/whats-new/2021/07/amazon-rds-sql-server-supports-two-new-parameter-changes-full-text-search/   this full-text supports in RDS SQL server, rightWhile choosing the EC2 or RDS what are things we need to consider ?ThanksShare"


Question: Query Athena from s3 database  - remove metadata/corrupted data

"Hello, I was following along with the tutorials for connecting Tableau to Amazon Athena and got hung up when running the query and returning the expected result. I downloaded the student-db.csv from https://github.com/aws-samples/amazon-athena-tableau-integration and uploaded the csv to a S3 bucket that I created. I can create the database within Athena however when I create a table either with the bulk add or directly from the query editor and preview with a query the data gets corrupted.  and includes unexpected characters and unexpected/unnecessary punctuations and sometimes all the data is aggregated into a single column and also contains metadata such as "1 ?20220830_185102_00048_tnqre"0 2 ?hive" 3 Query Plan* 4 Query Plan2?varchar8  @H?P?". Also with my Athena - Tableau connected receiving the same issues when I preview the table that was created with Athena and stored in my bucket.CREATE EXTERNAL TABLE IF NOT EXISTS student(  `school` string,   `country` string,   `gender` string,   `age` string,   `studytime` int,   `failures` int,   `preschool` string,   `higher` string,   `remotestudy` string,   `health` string)ROW FORMAT DELIMITED   FIELDS TERMINATED BY ',' STORED AS INPUTFORMAT 'org.apache.hadoop.mapred.TextInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'LOCATION  's3://jj2-test-bucket/'TBLPROPERTIES (  'has_encrypted_data'='false',   'skip.header.line.count'='1',   'transient_lastDdlTime'='1595149168')SELECT * FROM "studentdb"."student" limit 10;FollowComment"

Answer: "1The solution is to create a separate S3 bucket to house the query results. Additionally, when connecting to Tableau you must set the S3 Staging Directory to the location of the Query Result bucket rather than connecting to the S3 bucket that contains your raw data/csvCommentSharerePost-User-8595219answered 9 months agoEXPERTFabrizio@AWSreviewed 9 months agoFabrizio@AWS EXPERT9 months agoAs explained in the answer, based on the data you posted it seems that additional data is being written in the path of your table.you have to make sure that only the actual data from your table is stored in the location.you may want to create a folder "student" in your bucket and move the raw data into it and change the DDL of the Table as follow:CREATE EXTERNAL TABLE IF NOT EXISTS student(school string,country string,gender string,age string,studytime int,failures int,preschool string,higher string,remotestudy string,health string)ROW FORMAT DELIMITEDFIELDS TERMINATED BY ','STORED AS INPUTFORMAT'org.apache.hadoop.mapred.TextInputFormat'OUTPUTFORMAT'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'LOCATION's3://jj2-test-bucket/student/'TBLPROPERTIES ('has_encrypted_data'='false','skip.header.line.count'='1','transient_lastDdlTime'='1595149168')Share"


Question: Amazon pinpoint emails (with using SES service) have been recognised as spam email in Microsoft 365 email account

"Hello Community,We are now facing an issue that the email sent from pinpoint service (with using AWS SES service) being recognised as spam email in Microsoft 365 outlook email accounts. Is it possible due to the reason of the sender reputation issue? If yes, is applying the dedicated IPs in AWS SES the possible solution to raise the chance of send email successfully without being identified as spam? If not, may I know any the possible ways to tackling not being recognised as spam? Thanks and appreciated any replies.Regards,Jimmy ShumFollowComment"

Answer: "1Yes, the issue of emails sent from Pinpoint service using AWS SES being recognized as spam in Microsoft 365 Outlook could be due to sender reputation issues. If your sender reputation is poor, it can affect your email deliverability and cause your emails to land in the spam folder. Applying dedicated IPs in AWS SES can help improve your sender reputation and increase the chances of successfully sending emails without them being identified as spam. Other ways to tackle not being recognized as spam include following email best practices such as using a clear subject line, avoiding trigger words, and sending emails to engaged recipients who have opted-in to receive your emails.CommentShareAWS_Guyanswered 2 months ago"


Question: Getting AWS Credentials into a Docker Container without Hardcoding It

"Hello,I have an application that writes and reads data in S3.When running this application in eg AppRunner, credentials are passed through roles and policies (this works)When I run the application directly from Visual Studio, the credentials are taken from the locally configured credentials file in C:\Users\user.aws. (this works)However, I have a problem with passing the credentials as I want to run the application in the docker container, but locally, how to pass these credentials during e.g. docker run? I've tried several ways before, but none of them workedAs part of the tests, I even did something like this, but it also doesn't work:docker run -e AWS_ACCESS_KEY_ID=<my_aws_access_key> -e AWS_SECRET_ACCESS_KEY=<my_aws_secret_access_key> -e AWS_DEFAULT_REGION=us-east-1 -p 8081: 8080 test040722: 1.0FollowComment"

Answer: "1This confirms that the credentials are being passed on to the container. I assumed that the application should be able to read the environment variable but you need to debug if the application is able to do so or does it need it in some other file or location. Or maybe some sort of conditional handling to fetch the credentials from diff sources depending on where you are running the application on. From my experience in Linux, python SDK has various methods to read credentials. Something similar should also be the case with .NET--SydCommentShareSydanswered a year ago0Unless it was a typo or oversight when creating this Support Q, the command you used has unexpected spaces. It should be as follows:docker run -e AWS_ACCESS_KEY_ID=<my_aws_access_key> -e AWS_SECRET_ACCESS_KEY=<my_aws_secret_access_key> -e AWS_DEFAULT_REGION=us-east-1 -p 8081:8080 test040722:1.0What's the error you get when you execute the docker run command? If it's successful, does the container show up in the docker ps output? Also if you can access the container with docker exec, do the AWS* variables show up in the env command. I was successfully able to execute AWS CLI commands in a container by passing credentials in the manner listed above--SydCommentShareSydanswered a year ago0hi, thanks for answer.It was an oversight after i paste this command here, I had no spaces in CLI.This command succeeds. The container is running. In the application, which is an API, I also have other methods (they don't need credentials), they all work fine. Only this one with credentials causes an error.I can access into the container, when i used docker exec it show all env variablesHOSTNAME=4e4cb957094bAWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXAWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXAWS_DEFAULT_REGION=us-east-1ASPNETCORE_URLS=http://+:8080DOTNET_RUNNING_IN_CONTAINER=trueDOTNET_VERSION=6.0.6ASPNET_VERSION=6.0.6HOME=/home/appuserCommentShareAWS-Arthuranswered a year ago0Ok, it's all working fine now. I checked everything and my environment variables are passed correctly. But now i have second problem that i thought it was because those env variables.I have error when i want to use my credentials (this error appears only when i want to use credentials in local docker container):Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configuredI don't know why because I declared RegionEndpoint like this:var client = new AmazonS3Client(awsCredentials, RegionEndpoint.EUWest1)CommentShareAWS-Arthuranswered a year ago"


Question: Rename pipe

How can I rename a pipe e.g. from "test-foo" to "foo" ?FollowComment

Answer: "0Looks like you have to use the CLI to get-pipline, edit the resulting JSON, then pass it back to create-pipeline and delete the old one.EwwCommentShareTomanswered 5 years ago0TomChiverton answer works. Just remove the Metadata part of the json file when using it to recreate the pipe.CommentShareshammousanswered 2 years ago"


Question: S3 used for spam abuse.

"A spam campaign that is getting past gmail spam filters. The content is using links at S3 buckets. Amazon needs to disable the accounts that own these bogus buckets. Here is a small sample:https://s3.amazonaws.com/frgrrffgfd/31861.html#qs=r-ahbffakhefkfjjdafgebhifakkjigbdafejefabababagjadfjaccacjgkadgkfacfedhcacbhttps://s3.amazonaws.com/homrkezrk44gfg/homrkezrk44gfg.html#qs=r-ahbffakhefkfjjdaffihhdhakkikkhjaefjbkabababagiacijaccacbfdadebdacfcfbiacbhttps://s3.amazonaws.com/z2q4g8n9t3f6k2z9w7d6j7j4g/o0a2d0w8.html#qs=r-ahbffakhefkfjjdaffhdcgkakkiedjgafbkbcafbkbcafbkbcabaijadhaccadbjcadfgcacdifdcacbhttps://s3.amazonaws.com/rsfdgvfdgvfdgv/tgbdfbdfb00.html#qs=r-ahbffakhefkfjjdafgebhieakkifcgjadkdckabababagjacikaccacjgkadfjdacccbdbacbhttps://s3.amazonaws.com/addttt2t11tttt2/addttt2t11tttt2.html#qs=r-ahbffakhefkfjjdafgedfdjakkgkcjfaefjbkabababagiacijaccacbfdadebdacfcfbiacbhttps://s3.amazonaws.com/frdeeffgvf/31861.html#qs=r-ahbffakhefkfjjdaffdeikfakkgcedhafejefabababagjadfjaccacjgkadgkfaccgbhiacbhttps://s3.amazonaws.com/vcxvjhuazyehgzeezz/vcxvjhuazyehgzeezz.html#qs=r-ahbffakhefkfjjdaffihgkdakkgbcfgafbkbcabababagiadhaccacccfadbceaccgbjeacbBelow is sample source of the spam that's getting through.Delivered-To: REDACTED@gmail.comReceived: by 2002:a05:7011:c97:b0:305:971a:b2c0 with SMTP id ih23csp268516mdb;Tue, 13 Sep 2022 20:26:26 -0700 (PDT)X-Google-Smtp-Source: AA6agR6MFSkzF2HjUKhQX5se4yp5mdpkMmA4VEJijsBD0oOKf12DhFnS6CBPDQSfVirWB34gTuB2X-Received: by 2002:a05:6000:108f:b0:228:c680:47e4 with SMTP id y15-20020a056000108f00b00228c68047e4mr20963449wrw.593.1663125986706;Tue, 13 Sep 2022 20:26:26 -0700 (PDT)ARC-Seal: i=1; a=rsa-sha256; t=1663125986; cv=none;d=google.com; s=arc-20160816;b=InMrEWd9/JJU9551H6GAX3tSo+fQRK0WVCCwvBAK2EXqrFDxQ5Dd0zioLBHr8LhfWhRm8zbhpdbx8Kcbp782Z2/iSfsEtW1BZ/uog6TEiwvZ9tRL+K7utNt7yZQDpSYfIqMYXKlmHnnwDS+l0rvJfxPqX7Nr3spTd4jhXhRJHgBho+n0etbCETsNU5Rp07PRrqYqMzU0+83AHs29LksvMJwtiq3+nBEKUdd68ZGcQnBuHoVuHnbLeVGyZHlyqE5HguGevbFLIwF5U+oSdZXKSLRQkvJN1f3dUBqq7eoulQnSFn8k64LsBJCdFg8k/P/kkxcZWUn3bYWEMbDsfNOkUA==ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;h=subject:feedback-id:date:mime-version:list-id:to:cc:references:message-id:from:in-reply-to;bh=NdwAoHGiQToRKvvWOasTT8rKiHvKIlaqjAOiwLG2E40=;b=Se4t3spJ0Ak1wmwnb/B8qxu+MvfLFighsx1C0V86Cde/kz4RJY1LX7Vz8jCTuxKyqxpZ++dVB9P1m5YJ4mKqpVqcSi/0R6Y65Ql3z75XGa0DMiE5VwADaYJ/iiwEU/POVDopcTDBWE6CtQ3VSS/ELwd6Aq2iu/QJpODJkk5BODk1l+doNhHfJWQubnyb1fDtDHJgSH/rKxpYI4V2pOJOwgOIlJmkp/Jf8ri+IHpyub5oJnve/Tho42Oh7oxJZG1R+IR/xRZ8Z7mjuswKXu+5XZ4B2A4xUsNATrOZvPN+017IfaMF8S46jPnpstUsnHK6mgLFA8EMYqtI9lw98MTUTw==ARC-Authentication-Results: i=1; mx.google.com;spf=pass (google.com: domain of messages.rjo@flfkpdyhlltp.expoplatforme.com designates 193.111.125.64 as permitted sender) smtp.mailfrom=messages.rjO@flfkpdyhlltp.expoplatforme.comReturn-Path: messages.rjO@flfkpdyhlltp.expoplatforme.comReceived: from statement-mail-xvcs.expoplatforme.com (statement-mail-xvcs.expoplatforme.com. [193.111.125.64])by mx.google.com with ESMTP id r14-20020adfce8e000000b002284a6bf834si7255421wrn.649.2022.09.13.20.26.25for REDACTED@gmail.com;Tue, 13 Sep 2022 20:26:26 -0700 (PDT)Received-SPF: pass (google.com: domain of messages.rjo@flfkpdyhlltp.expoplatforme.com designates 193.111.125.64 as permitted sender) client-ip=193.111.125.64;Authentication-Results: mx.google.com;spf=pass (google.com: domain of messages.rjo@flfkpdyhlltp.expoplatforme.com designates 193.111.125.64 as permitted sender) smtp.mailfrom=messages.rjO@flfkpdyhlltp.expoplatforme.comReceived: from 10.217.130.145  (EHLO losangelessleo.com) (172.245.221.154)by mta4365.mail.ne1.yahoo.com with SMTP; Sat, 11 Apr 2020 19:09:47 +0000Received: from VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:484:cafe::1a) by AS9PR06CA0761.outlook.office365.com (2603:10a6:20b:484::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.15 via Frontend Transport; Sat, 16 Jul 2022 10:02:41 +0000Received: from app19.muc.ec-messenger.com (app19.muc.ec-messenger.com )(envelope-from <g-3851351679-7322-354668012-1559235622088@bounce.news.mapp.com (g-3851351679-7322-354668012-1559235622088@bounce.news.mapp.com)>)by gp13mtaq123 (mtaq-receiver/2.20190311.1) with ESMTP id yA3jJ-_S5g8Zfor maizeseven@comcast.net; Thu, 30 May 2019 19:00:22 +0200Received: from www.takataka.gr (realshop.gr )by uat.atnet.gr (Postfix) with ESMTPA id 24BF957C2E58for daily.fast@aol.com; Wed, 29 May 2019 20:27:11 +0300 (EEST)Received: from rvirapvdc00.net.ravensburger.ag ()by mx01.ravensburger.ag (SMTP DAEMON FROM RAVENSBURGER AG) with SMTP ID 555;Mon, 15 Jan 2018 03:52:48 +0100 (CET)In-Reply-To: CADT5qSj0REQQpwKiW6P5cL27kFYMN9CK1r89qGQ3q5sFm46NH1Cu5OuqVwXww@jpk.gsdukfpf.orgContent-Type: multipart/digest; boundary="----=_Part_gpFORTCVfwd_0701552677577.EEC6JKWUPUK"From: """""Car lnsurance""""" info_1r89qGQ3q5sF@news.jdpsefdvtuy.comMessage-ID: ZF3lf1bGTw-Ct-Y9ADdP1r89qGQ3q5sFHg-193.111.125.64@cnaui.dcccd.eduReferences: 5099124348.0061952.3510102649736.JavaMail.app@mail-news.jdpsefdvtuy.com.ioCC:WilliamqH@aol.comTo: WilliamFH@aol.comList-ID:  <.7289367.xt.local>MIME-Version: 2.0Date: Wed, 14 Sep 2022 05:24:13 CESTFeedback-ID: 325-anexp#nret-fa:account-notifierSubject: ConfirmationReceipt 182------=Part_gpFORTCVfwd_0701552677577.EEC6JKWUPUKContent-Type: multipart/parallel; boundary="-------CpK514606xYd-9865656565CpK514606xYd=_:"---------CpK514606xYd-9865656565CpK514606xYd=:Content-Type: multipart/alternative; boundary="_----------=bollinCpK514606xYd"--_----------=bollinCpK514606xYdContent-Type: text/plain; charset=utf-8Content-Transfer-Encoding: HexaAUTORISATION Dâ€™INSCRIPTIONPOUR ETUDIANT MINEURJe soussignÃ©(e)â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦,certifie sur lâ€™honneur agir en qualitÃ© de reprÃ©sentant lÃ©gal deâ€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦â€¦.â€¦â€¦â€¦â€¦., et lâ€™autorise Ã  sâ€™inscrire Ãâ€¦â€¦â€¦â€¦â€¦â€¦FACULTÃ‰ Dâ€™Ã‰DUCATION pour lâ€™annÃ©e universitaire 2019 / 2020.Aâ€¦â€¦â€¦â€¦..â€¦â€¦â€¦..â€¦â€¦â€¦â€¦, leâ€¦â€¦ / â€¦â€¦ / â€¦â€¦Signature(s)* :en cas de sÃ©paration des parents et dâ€™autoritÃ© parentale exercÃ©e conjointement, la signature des deuxreprÃ©sentants lÃ©gaux est obligatoire.Your subscription to our list has been confirmed.--_----------=1r89qGQ3q5sF----=_Part_gpFORTCVfwd_0701552677577.EEC6JKWUPUKContent-Type: text/html; charset=utf-8

PREPARE TO APPLY

Find out more about the application process, researching your destination, how much it will cost and more.

GET READY TO GO

Congratulations on being accepted for Study Abroad! Now it's time to plan the details, like where you'll stay, organising your visa and applying for your student loan.

DURING YOUR STUDY ABROAD YEAR

Once you know you'll be studying abroad, you'll need to arrange accommodation, insurance, visas, proof of your finances and maybe some foreign language studies.

SUMMER SCHOOLS

Short programmes, usually through summer schools, are a great chance to experience study and life in another country.

RETURNING TO LEEDS

Welcome back! Here's some useful information to help you settle back into life in Leeds.

STUDY ABROAD HANDBOOKS AND DOCUMENTS

Handbooks, checklists, forms and information you will need before and during your study abroad.

GRADUATE STUDY ABROAD OPPORTUNITIES

If you're a Postgraduate researcher, there may be opportunities to study abroad during your time here.

--_----------=bollinCpK514606xYdContent-Type: text/html; charset=utf-8
As Low As $38/mo for Auto Insurance â€“ Donâ€™t Miss Out!

<mAP naME=""><ARea hREf="https://s3.us-west-1.wasabisys.com/kwahvzrdxtmmprbpeft/LINK.html#qs=r-ahbffakhefkfjjdafgchjidakkfiihjafckjhabababahdadfjaccadfbgackigacbkgfdacb" COords="5,3,942,1031" shAPe="reCT"><aREa hRef="https://s3.us-west-1.wasabisys.com/kwahvzrdxtmmprbpeft/LINK.html#qs=ua-ahbffakhefkfjjdafgchjidakkfiihjafckjhabababahdadfjaccadfbgackigacbkgfdacb" COords="127,1075,862,1178" shAPe="0"><ArEA hrEF="https://s3.us-west-1.wasabisys.com/kwahvzrdxtmmprbpeft/LINK.html#qs=op-ahbffakhefkfjjdafgchjidakkfiihjafckjhabababahdadfjaccadfbgackigacbkgfdacb" COoRDS="129,1209,856,1293" sHapE="0"></MAP><ObJECT><TitLe><applet>------------=bollinCpK514606xYd-----------CpK514606xYd-9865656565CpK514606xYd=_:--------=_Part_gpFORTCVfwd_0701552677577.EEC6JKWUPUKContent-Type: text/html;Content-Transfer-Encoding: Hexa----BT;qhmo;mdkBonjour frdrsp armksn,Â¡Gracias por suscribirte! | Thanks for subscribing! | Merci pour votre subscription!Oui, inscris moi sur cette liste.Merci de l'intÃ©rÃªt que vous portez Ã  notre contenu ! Cliquez sur le bouton pour confirmer votre inscription Ã  la newsletter Easycjnsuw.Nous vous remercions de votre confiance.activation de compte sur Inscription-FacileVotre compte a Ã©tÃ© crÃ©Ã©, mais il doit encore Ãªtre activÃ©.
Thanks for asking. Thereâ€™s a â€œforgot passwordâ€ link on the login screen in the app. (see image beside when login).

In addition to that, there are a couple other options on the web (but not in the app):

Please Reset Your Password For your security, we are strengthening our password requirements and as a result, your existing password has been disabled.

.

Please enter your email and click "Continue" below to send a password reset message to the email associated with your account. This email will contain a link to reset your password that will expire within 24 hours.
----ehVKsxQl;ZrMzXQ----ulV5cXSB;cfsjAL----2W0yqLx9;MWPXJt----O4qbz6fR;HfjJPP
Thanks for signing up to receive emails from the Children's Museum of Phoenix. Now you won't miss out on our special events, programs, discounts and so much more!

INSCRIPTIONS 2018-2019 PubliÃ© le 2 septembre 2018 par joel Bonjour, Le processus dâ€™inscription se modernise, car nous avons mis en place cette annÃ©e un site WEB vous permettant de rÃ©aliser cette opÃ©ration depuis chez vous Ã  partir du lien situÃ© en bas de ce message.Cependant, si vous rencontrez des difficultÃ©s, des permanences sont mises en places au gymnase Henri Barbusse, tous les soirs de 17h00 Ã  19h00 pour vous aider en cas de besoin, pour faire votre inscription en ligne.

Madame, Monsieur,

Please remember to drop your regalia back to the regalia room at Claudelands.

Xfinity Forum Archive...

Also, make sure to bookmark (Your Seller ID) as a favorite seller.

Thank you again, it has been a pleasure doing business with you. If you have any questions, please contact me directly at (your email address).

This is an archived section of the community.

City: City

Your personal data Note: Your personal data listed below will only be used as shipping address and will not be stored in any database.

Your personal data Note: Your personal data listed below will only be used as shipping address and will not be stored in any database.

(Your Seller ID)

 Ordered Publications in printed form publications

Bonjour Hugo nous n'envoyons plus de courriels car nous tenons Ã  ce que les chauffeurs se connectent sur le site, regardent les noms des passagers et dÃ©clarent le dÃ©part complet. C'est une Ã©tape supplÃ©mentaire mais nous tenons Ã  fiabiliser le service au maximum. Merci pour votre commentaire Myriam Agente AmigoExpress

Dear CUSTOMER NAME,

This is an archived section of the community.

Mardi 2 et Mercredi 3 fÃ©vrier auront lieu les Ã©lections des reprÃ©sentants Ã©tudiants Ã  l'universitÃ© de Bourgogne.  ARTenko s'engage, et fait le choix de soutenir Associatifs IndÃ©pendants !

Company: Company

Les Ã©tudiants d'A&I sont issus d'associations Ã©tudiantes ce qui permet de cibler au mieux les problÃ©matiques de chaque filiÃ¨re. Ils sont indÃ©pendants car certains Ã©lus ne sont pas issus d'associations Ã©tudiantes mais surtout ils ne suivent pas une idÃ©ologie politique, syndicale ou religieuse ! Le rÃ©seau d'Associatifs & IndÃ©pendants et les listes prÃ©sentÃ©es aux Conseils Centraux de l'uB reprÃ©sentent le mieux toutes les filiÃ¨res. L'histoire de l'art et archÃ©ologie aussi !

Street: Street

This change was done in an effort to make the forum easier to use and to keep only the most helpful and recent content active.

This change was done in an effort to make the forum easier to use and to keep only the most helpful and recent content active.

Last name: Last name

Chers Ã©tudiants, chÃ¨res Ã©tudiantes,

Thank you for your order! Your order has been successfully transmitted.

Regards,

Nous avons reu votre demande d'inscription la newsletter.

First name: First name

La page n'existe pas La page que vous recherchez n'existe pas ou a Ã©tÃ© supprimÃ©e. Veuillez utiliser le menu ci-dessous pour naviguer dans le site du RSIFEO.

Pour annuler votre participation Ã  un des stages, envoyer simplement un e-mail mentionnant le stage auquel vous vous dÃ©sistez. Le remboursement des arrhes mentionnÃ© aux conditions ci-dessous sera effectuÃ© au plus tard Ã  la fin du mois en cours.

Company: Company

Bonjour Hugo nous n'envoyons plus de courriels car nous tenons Ã  ce que les chauffeurs se connectent sur le site, regardent les noms des passagers et dÃ©clarent le dÃ©part complet. C'est une Ã©tape supplÃ©mentaire mais nous tenons Ã  fiabiliser le service au maximum. Merci pour votre commentaire Myriam Agente AmigoExpress

XfinitFollowComment"

Answer: "2Hello,Kindly report the email spam/spam links received by filling this abuse reporting form : https://support.aws.amazon.com/#/contacts/report-abuse.The AWS Trust and Safety Team will investigate further.Wishing you a Good day ahead!CommentShareMODERATORThomas Philip Ganswered 9 months agoEXPERTToni_Sreviewed 8 months ago0Please contact AWS Trust & Safety if you suspect that AWS resources are used for abusive purpose.CommentShareJesse_Tanswered 9 months ago"


Question: AWS Organizations API - us-east-1 for all API and CLI calls

"From https://docs.aws.amazon.com/organizations/latest/APIReference/Welcome.html (and related docs, such as https://awscli.amazonaws.com/v2/documentation/api/latest/reference/organizations/index.html#cli-aws-organizations)For the current release of Organizations, specify the us-east-1 region for all Amazon Web Services API and CLI calls made from the commercial Amazon Web Services Regions outside of China.While https://docs.aws.amazon.com/general/latest/gr/ao.html lists various endpoints.Is the us-east-1 region still required for api access, as the documentation states?FollowComment"

Answer: "0Because AWS Organizations is a global service, there is a single global endpoint for all of the AWS Regions in each partition.  Yes the page here https://docs.aws.amazon.com/general/latest/gr/ao.html that you referenced lists various regions but if you notice, the endpoints are all the same (us-east-1) regardless of the region.  for example:US West (N. California) us-west-1 organizations.us-east-1.amazonaws.comorganizations-fips.us-east-1.amazonaws.comorganizations.us-east-1.amazonaws.comCommentShareEXPERTMatt-Banswered a year ago0Has there been any thought to allowing the AmazonOrganizationsClient object in the AWS SDK for .NET (or maybe any SDK) to allow for instantiation without providing a region? Right now if you create and AmazonOrganizationsClient object without a region an exception is thrown. Would it not make sense for the SDK to default to us-east-1 if no region is provided in the constructor?CommentSharerePost-User-4977707answered 8 months ago"


Question: How to import and export data from Amazon ML to RDS?

"A customer is running ML algorithms on AWS, at this moment they are reading data from RDS into an Amazon Machine Learning instance and training it.They want to know, if we have some examples on how to from the Machine Learning instance they can pick those results and then through API or SDK (preferent serverless) and feed them back into an RDS database.I was searching for some examples but I was not successful, do anyone here have hands on experience with this or can provide me a guide on where to look?FollowComment"

Answer: "0Accepted AnswerAmazon ML will output the predictions to a specified S3 bucket. I guess the real question is more about how to effectively import data from S3 to RDS rather than an ML question.For this, you have several options:Using Data Pipeline with the Load S3 Data into RDS template: http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-template-copys3tords.htmlUse S3 Trigger that will trigger a Lambda function each time a new prediction is generated - this is the serverless approach but that means you will have as many Lambda calls as you have predictions - not necessarily the most cost-effective solution if you have a lot of predictions. The Lambda function can then handle inserting back into RDSTo automate this a bit further, look into CloudWatch Metrics that you could monitor (http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ml-metricscollected.html) to trigger the insert jobCommentShareJonathan_Tanswered 6 years ago"


Question: Design table for multi-tenant solution

"Hi,I'd need to use DynamoDB to store some simple products metadata keys.PKSKValueproduct1key1123product1key2456product2key2746product2key3946product3key1678product4key3987The most common access pattern will be to write/read/update values specifying PK and SK ie: Get the value for product1 key1.But also list all the products, what would be the best option for that without performing a full Scan ?Should I then go multi-tenant for the same I was thinking to do something like:Table-MultitenantPKSKValueProductIDTenantIDtenant1#product1-product1tenant1tenant1#product1key1123tenant1#product1key2456tenant1#product2-product2tenant1tenant1#product2key2746tenant2#product1-product1tenant2tenant2#product1key1123tenant2#product1-product2tenant2tenant2#product2key2746And create a GSI (GSI_Tenant_Product) with PK: TenantID and SK: ServiceID.So for getting all the list of products for a specific tenant I can do:SELECT ProductID FROM "Table-Multitenant"."GSI_Tenant_Product" WHERE TenantID = 'tenant1'Accessing for reading or writing the single keys will simply be something like:SELECT Value FROM "Table-Multitenant" WHERE PK = 'tenant1#product1' AND SK = 'key1'I'm not totally convinced this is the best approach, mostly considering the introduction of the fake key (-).What would be other alternatives ?ThanksFollowComment"

Answer: "2But also list all the products, what would be the best option for that without performing a full Scan ?You want all the products, you must do a full table Scan, why would you not want to?The second approach would be better modeled like this:PKSKAttr1Attr2tenant1product1#key1DataDatatenant1product2#key1DataDatatenant2product1#key1DataDataNow you no longer need a GSI.So for getting all the list of products for a specific tenant I can doSELECT * FROM "Table-Multitenant" WHERE PK = 'tenant1' Accessing for reading or writing the single keys will simply be something like:SELECT * FROM "Table-Multitenant" WHERE PK = 'tenant1' AND SK = 'product1#key1'CommentShareEXPERTLeeroy Hannigananswered 10 months agoJos Rees 9 months agoThanks, the list of products will need to be deduplicated in code with this approach, as the same product can have many keys, and all of them will be returned by the proposed query.ShareJos Rees 9 months agoCouldn't this approach suffer from the hot partition issue ? The cardinality on the PK will be very low with only few tenants.ShareLeeroy Hannigan EXPERT9 months agoEach tenant can provide 1000 WCU's and 3000 RCU's. Does your system intend for a tenant to write at more than 1000 times per second? If so, you can consider write sharding:https://medium.com/@leeroy.hannigan/optimizing-dynamodb-queries-using-key-sharding-f3eb4d7f78f7Share0Why would the scan be a problem, if you need all the items anyway? Adding the tenant is a different problem than the 1st one you've proposed.Unfortunately, you cannot just "leave tenants aside", as this severely affects your setup. You must make the choice of handling that using different tables or a single one now.Single Table ApproachTenantProductKeyProductKeyValuetenant1product1#key1product1key1123tenant1product1#key2product1key2345tenant1product2#key2product2key2456tenant2product1#key1product1key1123tenant2product2#key3product2key3567tenant2product2#key4product2key4678Having all the split fields gives you more flexibility to create new GSIs if needed.Select all products for a tenantSELECT Product, Value FROM Table WHERE Tenant = 'tenantX'Select all keys for a product for a tenantSELECT Key, Value FROM Table WHERE Tenant = 'tenantX' AND begins_with(ProductKey, 'productX')Read ItemSELECT Value FROM Table WHERE Tenant = 'tenantX' AND ProductKey = 'productX#keyX'All tenants that have a product (if you need it, GSI would be PK(Product) and SK(Tenant))... could do something similar with KeysSELECT Value FROM Table.Product-Tenant-index WHERE Product = 'productX'Multiple Tables for Tenants ApproachProduct(PK)Key(SK)Valueproduct1key1123product1key2345product2key2456product2key3567product2key4678Add a new product with some keys and values associated to those keysTrivial, just do itRetrive all the keys and values for a specific productSELECT Key, Value FROM Table WHERE Product = 'ProductX'Retrive the list of all the products (without the keys or values)Scan tableUpdate/Remove/Add a specific key and associated value for a productTrivial, just do itCommentShareRicardo Noldeanswered 9 months agoJos Rees 9 months agoThanks, the list of products will need to be deduplicated in code with this approach, as the same product can have many keys, and all of them will be returned by the proposed query.ShareJos Rees 9 months agoOn the single table approach, couldn't it suffer from the hot partition issue ? The cardinality on the PK will be very low with only few tenants.Share0Thanks for the quick reply.In the first case I was thinking I needed to add a GSI to avoid having to deduplicate the productIds in code. But I might be missing something there.In the second case with the new suggested approach if I run the query:SELECT * FROM "Table-Multitenant" WHERE PK = 'tenant1'That one will return all the keys as well, so I will then have to deduplicate them and extract just the product Ids.CommentShareJos Reesanswered 10 months agoAWS-User-1925112 10 months agoWhy is there different values for each product? If you made the schema a bit more clear it would be easier to advise.Share0Just to clarify at a higher level my use case and what I need.For each tenant there are different productsID, and for each ProductID one or more keys with an associated value.The keys are basically there to provide some metadata.So what I need is (leaving alone the multi tenancy for now):Add a new product with some keys and values associated to those keysRetrive all the keys and values for a specific productRetrive the list of all the products (without the keys or values)Update/Remove/Add a specific key and associated value for a productExample:Product1 key1:abc key2:cbf key3:123Product2 key1:hfgProduct3 key9:vbnCommentShareJos Reesanswered 10 months ago"


Question: Sophisticated Triggering of Glue Jobs

"Is there some documentation about ways to trigger Glue jobs, that go beyond static schedules and simple conditions as explained in https://docs.aws.amazon.com/glue/latest/dg/about-triggers.html? I heard about the possibility to trigger Glue jobs from Lambda functions, but all I can find about that is not much more sophisticated than static schedules and simple conditions.I have a pipeline of several Glue jobs that are normally run in a sequence once per week. The last glue job in this pipeline writes out a table that contains a flag, which is used to determine records, that need to be processed in a higher frequency. So I am looking for a mechanism, that processes this output table regularly and triggers that first glue job of the pipeline again more frequently in case a certain flag is set. I need to avoid, that the entire dataset is processed at this high frequency. How would this be done?FollowComment"

Answer: "0AWS Step Functions provides a great way of orchestrating multiple Glue jobs into a coherent workflow.Here is a workshop that shows an example on how to build a workflow using Step Functions. It provides a visual interface and can also be defined programmatically using the Amazon States Language.You can store the state of the different Glue jobs (as flags) in DynamoDB  so you can build a fully serverless data pipelines. (Glue, Step Functions and DynamoDB are all serverless).You can also consider event-driven orchestration of the different workflows using Amazon EventBridge.CommentSharepvillenaanswered a year agoEXPERTFabrizio@AWSreviewed a year ago"


Question: Using Elastic Beanstalk - Docker Platform with ECR - Specifying a tag via environment variable

"Hi,I am trying to develop a CI/CD process, using Beanstalk's Docker  platform with ECR. Code Pipeline performs the builds and manages ECR Tags & Promotions.  Terraform manages the infrastructure.I am looking for an approach that allows us to use the same Dockerfile/Dockerrun.aws.json in production  & non-production environments, despite wanting different tags of the same image deployed.. Perhaps from different repositories (repo_name_PROD   vs repo_name_DEV ).Producing and moving Beanstalk bundles that only differ in a TAG feels unnecessary. the idea of dynamically changing Dockerfiles using the deployment process also seems fragile.What I was exploring was using a simple Environment variable: change what tag (comitHash) of an image should be based on a Beanstalk environment variable.FROM 00000000000.dkr.ecr.us-east-1.amazonaws.com/repoName:${TAG}ADD entrypoint.sh /EXPOSE 8080 8787 9990ENTRYPOINT [ "/entrypoint.sh" ]Where TAG is the Git hash of the code repository from which the artifact was produced.CodeBuild has built the code and tagged the docker image.I understand that Docker supports this:ARG TAGFROM 00000000000.dkr.ecr.us-east-1.amazonaws.com/repo_name:${TAG}ADD entrypoint.sh /EXPOSE 8080 8787 9990ENTRYPOINT [ "/entrypoint.sh" ]but requires building the image like this:docker build --build-arg GIT_TAG=SOME_TAG . Am I correct in assuming this wil not work with the docker platform? I do not believe the EB Docker platform exposes a way to specify the build-arg.What is standard practice for managing tagged docker images in Beanstalk.I am a little leery of the latest tag.. as a poorly timed auto scaling event could pull an update before it should be deployed:  that just does not work in my case.Updating my Dockerfile dufing deployment (via sed ) seems like asking for trouble.FollowComment"

Answer: "0Hello there,You can use CodeBuild to auto modify the Dockerrun.aws.json to reference to the latest image tag dynamically. In your CodeBuild project buildspec.yml, you can utilize the predefined CODEBUILD_RESOLVED_SOURCE_VERSION envrionment variable to retrieve commit ID, passing it as image tag, for example:version: 0.2phases:  pre_build:    commands:      - echo Logging in to Amazon ECR...      - aws --version      - $(aws ecr get-login --region $AWS_DEFAULT_REGION --no-include-email)      - REPOSITORY_URI=${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/web      - IMAGE_TAG=$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7)  build:    commands:      - echo Build started on `date`      - echo Building the Docker image...      - docker build -t $REPOSITORY_URI:latest .      - docker tag $REPOSITORY_URI:latest $REPOSITORY_URI:$IMAGE_TAG  post_build:    commands:      - echo Build completed on `date`      - echo Pushing the Docker images...      - docker push $REPOSITORY_URI:latest      - docker push $REPOSITORY_URI:$IMAGE_TAGartifacts:  files:    - 'Dockerrun.aws.json'$(echo $CODEBUILD_RESOLVED_SOURCE_VERSION | cut -c 1-7) gives you the first seven characters of the Git commit ID of the source.In Dockerrun.aws.json, you can define something like below:{  "containerDefinitions": [    {      "name": "web",      "image": "{$AWS_ACCOUNT_ID}.dkr.ecr.{$AWS_DEFAULT_REGION}.amazonaws.com/web:{$IMAGE_TAG}",      "hostname": "web",      "essential": true,      "memory": 1024,      "portMappings": [        {          "hostPort": 80,          "containerPort": 80        }      ]    }  ]  ...}CodeBuild and CopdePipeline will update image tag and Dockerrun.aws.json dynamically whenever you push code change to source repo.CommentShareSUPPORT ENGINEERZhiyuan_Lanswered a year agobchandley a year agoZhiyuan_L,Thank you for this information.There is one aspect on which I am not clear. probably because I am learning CodeBuild: I understand from your response that CodeBuild will do the transformation I am after.so:   Creates the Dockerrun.aws.json and  I would place Dockerrun.aws.json in the beanstalk artifact?  I have a Zip file with Dockerfile/ebextensions ect,In code build how would I use the Dockerrun.aws.json that was produced?Just making sure I am connecting the dots here.I'll look at the documentation to find where it discusses these types of transformations!Thanks!Share"


Question: Unlock elastic ip reverse dns

"DearI'm trying to release some ips, but I get the message, "cannot be released, please contact aws support to unlock id".How do I do this release, since the ips have reverse?18.228.29.10018.228.29.12418.228.34.8518.228.51.17218.228.53.19418.228.57.16018.228.78.13518.228.148.13818.228.167.19618.228.202.1018.228.209.9518.228.217.4918.228.237.23718.229.3.22818.229.12.20218.229.19.5118.229.19.9552.67.46.4852.67.96.1152.67.101.8552.67.139.8052.67.159.16452.67.167.18052.67.229.11854.232.241.5854.232.247.10354.233.101.23854.233.115.5054.233.149.23454.233.237.554.233.243.173Wait.Edited by: romaofr on Mar 11, 2020 5:11 AMEdited by: romaofr on Mar 12, 2020 10:28 AMFollowComment"

Answer: 0Use the limits formrequesting removal of the configurationCommentShareromaofranswered 3 years ago


Question: DNS validation failing by email

"I am getting emails from ACM saying that my certificate is about to expire and couldn't be automatically renewed:AWS Certificate Manager (ACM) was unable to renew the certificate automatically using DNS validation. You must take action to ensure that the renewal can be completed before Nov 06, 2020 at 12:00:00 UTC. If the certificate is not renewed and the current certificate expires, your website or application may become unreachable.However, when I go to ACM in the console, all of the domains on the certificate have "Validation Status: success", so there is nothing to do.How do I fix this?FollowComment"

Answer: "0The problem was that we had let one of the domains on the certificate lapse. The console still showed all the validation is valid though, which was extremely confusing. When I checked the certificate using the AWS CLI I saw that the lapsed domains were the ones pending validation.CommentShareHMOFanswered 3 years ago"


Question: WorkDocs external user pricing

"The WorkDocs pricing page mentions a certain monthly cost as the "WorkDocs user fee/month". In us-east-1 it's currently $5/month.I assume this is the same cost per user regardless of whether it's an external user or one that's within one's directory service (like Simple AD)?Here's a scenario:You invite your customer (an external user) via email address to view a file. The customer follows the invite-link in their email and are prompted to create a password. Is this the moment the WorkDocs bill goes up by $5/month?Your customer views the file and never needs to grab another file from WorkDocs ever again. Do you still keep paying $5/month for that user? If so, how do you disable the user? I assume they didn't get stored in your directory service? Would you just need to un-share all files they had access to to make them not a user anymore?FollowComment"

Answer: 0It depends on whether you're adding the external users to your WorkDocs site as a managed user (which will also give them 1TB of storage) or if you're sharing the file with them as a "guest user". There is no charge for guest users. Please refer the following for details:https://aws.amazon.com/about-aws/whats-new/2017/11/amazon-workdocs-makes-it-easier-to-collaborate-with-third-parties/https://aws.amazon.com/workdocs/faq/CommentShareShrutianswered 4 months ago


Question: NoSQL Workbench requires attribute type?

"The NoSQL Workbench software seems to require specifying an attribute type, even for attributes that are not part of any keys. In DynamoDB, however, I can have distinct items with the same attribute (named, e.g. "myAttr"), where for item A, myAttr might be a String, and for item B, myAttr might be a Map. Trying to use myAttr as a key attribute will then fail, but otherwise this appears to work fine in DynamoDB.Is there any way in the NoSQL Workbench to leave the type unspecified for some attributes? The UI doesn't seem to permit this :-/FollowComment"

Answer: "1Hi, you are correct that you must specify an attribute type on creation. I would suggest that you reach out to the NoSQL Workbench team directly with your feedback using the Email Us button on the app.CommentShareEXPERTLeeroy Hannigananswered a year agomur-tn a year agoThe "Email Us" button doesn't actually take me to any email client (or display the email address) ... it just brings an open web browser to the foreground, but that's it (i.e. it doesn't open a new tab/window/etc.). NoSQL Workbench Version 3.2.1 (3.2.1), Mac OS.ShareLeeroy Hannigan EXPERTa year agoaws-workbench-feedback@amazon.comShare"


Question: execute a command on amazon lightsail using aws-sdk-php

"currently I am using a php library to connect to server via ssh and run a command there, I want to know "is there any thing in aws-sdk-php for that?"Basically I am exexuting a node JS script.FollowComment"

Answer: 0Accepted Answeris there any thing in aws-sdk-php for thatNo. The Lightsail API deals in modifying the resources in your AWS account. Lightsail doesn't have any control over the content of your instances after initial creation.What triggers the PHP script?If you want the job to run at regular intervals you could install a cron job on the instance to trigger the script.If you want to trigger this on-demand from another service you can keep using SSH or create an HTTP endpoint to trigger it (using firewall rules or some sort of authentication to prevent public access; the advantage of HTTP is that you don't need to distribute the instance SSH keys).CommentShareGabriel - AWSanswered 5 months ago


Question: [Announcement] Amazon RDS for MariaDB is deprecating its engine major version 10.3

"Amazon RDS for MariaDB 10.3 will reach end of standard support on October 23, 2023. This follows MariaDB community's plan to deprecate MariaDB major version 10.3 on May 25, 2023 [1]. You will be able to run your Amazon RDS for MariaDB 10.3 databases between May 25, 2023 and October 23, 2023. However, these databases will not receive any security patches during this extended availability period. We strongly recommend you monitor the MariaDB community's security vulnerabilities page for documented CVE patches available in the latest versions [2].We recommend that you proactively upgrade your databases to major version 10.6 before community deprecation of version 10.3 on May 25, 2023. Amazon RDS for MariaDB 10.6 introduced multiple features to enhance the performance, scalability, reliability and manageability of your workloads, including MyRocks storage engine, IAM integration, one-step multi-major upgrade, delayed replication, improved Oracle PL/SQL compatibility and Atomic DDL [3].To learn more about upgrading MariaDB major versions in RDS, review the 'Major version upgrades for MariaDB' section in the Amazon RDS User Guide [4].Starting August 23, 2023 12:01 UTC, you will not be able to create new RDS instances with MariaDB major version 10.3 from either the AWS Console or the CLI. We recommend you to upgrade your databases before October 23, 2023. RDS will upgrade your MariaDB 10.3 databases to MariaDB 10.6 during a scheduled maintenance window between October 23, 2023 12:01 UTC and January 23, 2024 12:01 UTC. On January 23, 2024 12:01 UTC, any MariaDB 10.3 databases that remain will be upgraded to version 10.6 regardless of instances' scheduled maintenance window.To proactively plan for future Amazon RDS for MariaDB deprecation of major version 10.4 and above, you can refer to the release calendar in the Amazon RDS user guide [5].If you have any questions or concerns, please reach out to AWS Support [6].[1] https://mariadb.org/about/#maintenance-policy[2] https://mariadb.com/kb/en/security/[3] https://aws.amazon.com/about-aws/whats-new/2022/02/amazon-rds-mariadb-supports-mariadb-10-6/[4] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.MariaDB.html[5]https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MariaDB.Concepts.VersionMgmt.html#MariaDB.Concepts.VersionMgmt.ReleaseCalendar[6] https://aws.amazon.com/supportFollowComment"


Question: Extracting table data from PDF documents using AWS Textract in a React.js

"I am creating a react.js web app where I am using aws textract to get the content of the pdf document which contains the timetable or schedule of the user, I am able to use DetectDocumentTextCommand but it's not good for getting the content of the document which include table, Basically, I want to get the data in the table form, like BlockType:'Table' & row, etc. When I am using the "StartDocumentAnalysisCommand" then it's giving a message in response that "Request has invalid parameters".import { TextractClient, StartDocumentAnalysisCommand } from "@aws-sdk/client-textract";import React, { useState } from "react";import AWS from 'aws-sdk'export const DetectText = () => {    const [file, setFile] = useState({});    const bucketName = process.env.REACT_APP_SECRET_BUCKET_NAME;    AWS.config.update({        accessKeyId: process.env.REACT_APP_ACCESS_KEY_id,        secretAccessKey: process.env.REACT_APP_SECRET_ACCESS_KEY,        region: 'ap-south-1',    })    const client = new TextractClient({        region: 'ap-south-1', credentials: {            accessKeyId: process.env.REACT_APP_ACCESS_KEY_id,            secretAccessKey: process.env.REACT_APP_SECRET_ACCESS_KEY,        }    });    const onSelectFile = (e) => {        if (!e.target.files || e.target.files.length === 0) return;        const reader = new FileReader();        const file = e.target.files[0];        setFile(file);        reader.readAsDataURL(file);    }    const detectText = async () => {        // create an instance of the S3 client        const s3 = new AWS.S3();        const paramsForS3 = { Bucket: bucketName, Key: `folder3/${file.name}`, Body: file };        // upload the file to S3        s3.upload(paramsForS3, async (err, data) => {            if (data) {                const paramsforCheck = {                    DocumentLocation: { S3Object: { Bucket: bucketName, Key: `folder3/${file.name}` } },                    FeatureTypes: ['TABLES', 'FORMS', 'DOCUMENT_TEXT'],                };                const command = new StartDocumentAnalysisCommand(paramsforCheck);                try {                    const data = await client.send(command);                    if (data?.Blocks) {                        console.log(`Started document analysis with JobId: ${data.JobId}`);                        console.log(data.Blocks)                    }                } catch (error) {                    console.log('err', error);                }            } else console.error(err);        });    };    return (        <div>            <input type='file' id='file' name='file' onChange={onSelectFile} className='inputfile' />            <button onClick={detectText} style={{ margin: "10px" }}>Run OCR</button>        </div>    )}Please let me know what I am doing wrong. Any help or suggestion will be truly appreciatedI tried every possible thing to get this error but didn't find a solution & I am hoping that I will get a solution or suggestion from you.yFollowComment"

Answer: "1Hi,According to https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-textract/interfaces/startdocumentanalysiscommandinput.html, it seems it requires a DocumentLocation attribute, which you are not passing.Hope it helps, otherwise provide more details on api as versionCommentShareEXPERTalatechanswered 2 months agoRitik 2 months agoThanks for the response, Yes you are right it's necessary to give DocumentLocation in the param but still getting the same error after updating the code.Updated Param:-const params = {Document: { Bytes: blob },DocumentLocation: {S3Object: {Bucket: "schedulesdata", Name: filename}},FeatureTypes: ['TABLES', 'FORMS', 'DOCUMENT_TEXT'],};I am using region: 'ap-south-1', apiVersion: '2018-06-27'Sharealatech EXPERT2 months agoThere is no "Document" attribute. You need to store your blob/file/document in an S3 location, and then provide that as Document location, like this:const params = {DocumentLocation: {S3Object: {Bucket: "your-s3-bucket-containing-your-stored-file",Name: "your-s3-object-key"}},FeatureTypes: ["TABLES", "FORMS"]};Let me knowShareRitik 2 months agoNow, I am storing the document first into the bucket then I am doing further things but again getting the same error.Code has been updated in the post.Share1Here you can find how to use AWS-SDK to call Textract:https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-textract/This I posted is V3. The syntax won't work if you have installed V2.StartDocumentAnalysisCommand requires the following parameters:https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-textract/classes/startdocumentanalysiscommand.htmlCommentShareraffaeuanswered 2 months agoRitik 2 months agoThanks for the response,  "@aws-sdk/client-textract": "^3.301.0"  my version that I am using in package.json as  dependencyI think it's the latest version!.I  have also updated my param with DocumentLocation but still getting the same error.Share"