Skip to main content

AWS Collective

Questions

Browse questions with relevant AWS tags

49,506 questions

No answer
0 votes
0 answers
7 views

Stream Recorder Using FFmpeg Fails on AWS Lambda

I am trying to stream audio from URLs and save them to a file in S3 using AWS Lambda with FFmpeg. Here is an example FFmpeg command I'm using: ffmpeg -hide_banner -loglevel error -t 10 -i http://...
user30495567's user avatar
0 votes
0 answers
8 views

Using spark to read data from MinIO

I have been trying to pull data from MinIO using spark using s3a but when running the code there was not much happening when I set the log level to debug it found that the connection with minIO is not ...
OUSSAMA EL ALAOUI EL ISMAILI's user avatar
0 votes
0 answers
22 views

How do I execute a jar file as part of a kotlin application?

Quick background: I'm working on an application to upload some csv data to a third party vendor. We have an AWS S3 bucket that watches for file uploads and the triggers a Lambda. The lambda then runs ...
pbuchheit's user avatar
  • 1,701
0 votes
0 answers
15 views

aws opensearch serverless service inside a vpc endpoint does not work from java app in local machine

I am trying to connect to an AWS OpenSearch Serverless collection that is deployed inside a VPC endpoint (PrivateLink) from a Java application running on my local machine. My setup is as follows: I ...
sTg's user avatar
  • 4,454
0 votes
0 answers
7 views

Environment Variables Not Working in React + Vite App (AWS Cognito Auth Issue)

I'm building a React application with Vite that uses AWS Cognito for authentication. I'm having issues with environment variables not being properly loaded or accessible in my application. ...
Mauricio Pastora's user avatar
0 votes
0 answers
21 views

Enable CORS for simple GET on AWS API Gateway resource with Cognito authorizer

I have an AWS API Gateway resource /foo with a GET method. It has a Lambda integration, which for the purposes of this question simply returns bar. However I want the API to be protected, so I have ...
Garret Wilson's user avatar
0 votes
0 answers
34 views

Kubernetes POD gets restarted when JAVA object gets called

Im new in JAVA development and trying to use the AWS SDK for route 53 service to fetch the hosted Zone name for specific URL . Below is the code snippet. String url = "abc.abc.abc.com&...
user2315104's user avatar
  • 2,812
0 votes
0 answers
5 views

Next.js SSR page shows outdated JSON-driven UI momentarily despite backend update (Amplify hosted)

We're using Next.js with Server-Side Rendering (SSR) for the homepage, and the app is hosted on AWS Amplify with CloudFront in front. have a express backend (seperate service on ec2) Next.js version: ...
Kaamil Mirza's user avatar
-1 votes
0 answers
15 views

Using AWS Batch with EC2 + SPOT instances cost

We have an application that processes videos after they’re uploaded to our system, using FFmpeg for the processing. For each video, we queue a Batch job that spins up an EC2 instance. As far as I ...
salah's user avatar
  • 1
-1 votes
0 answers
11 views

GPU operator Node Feature Discovery not identifying correct gpu nodes

I am trying to create a gpu container for which I'll be need gpu operator. I have one gpu node g4n.xlarge setup in my EKS cluster, which has containerd runtime. My node has node=ML label set. When i ...
vidhi yadav's user avatar
0 votes
0 answers
17 views

AWS Bedrock with Anthropic Claude 3.5 Sonnet returns 500 in lambda

I'm trying to use an AWS Lambda function to get a response to a user prompt. I'm using anthropic.claude-3-5-sonnet-20240620-v1:0 as the model. Following is the current code I'm using in my Lambda ...
Kaveen M.'s user avatar
  • 145
0 votes
0 answers
22 views

DynamoDB query with FilterExpression returns no results even when records exist

I'm querying a DynamoDB GSI (parentUploadId-index) to get the first incomplete record (where status <> "COMPLETED") for a given parentUploadId. Here's my code: public async Task<(...
vkandvia's user avatar
  • 107
0 votes
0 answers
16 views

Jenkins Terraform pipeline gives InvalidClientTokenId error

When running terraform plan, or in this case for testing, aws sts get-caller-identity via pipeline stage, I'm getting the error: An error occurred (InvalidClientTokenId) when calling the ...
Romit Kumar's user avatar
-1 votes
0 answers
39 views

Selenium/Headless Chrome always gets Amazon CAPTCHA – how to avoid or solve?

I'm using Selenium with headless Chrome to automate login and scraping on Amazon, but I'm constantly being redirected to a CAPTCHA page like this one :see screenshot. I've tried all the usual anti-...
aymane RIhane's user avatar
0 votes
0 answers
12 views

AWS CDK, Adding Filters to KinesisEventSourceProps

I'm trying to use Filters on a KinesisEventSourceProps to filter out JSON where Service is equal to "NotKnown": { "Meta": { "Service": "NotKnown", ...
izac33's user avatar
  • 1
0 votes
0 answers
17 views

AWS Lambda (Node.js) with Sharp Layer still throws error: "Cannot find module 'sharp'"

I'm trying to use the sharp library in my AWS Lambda function (Node.js 22.x) to compress images uploaded via API Gateway. I’ve added sharp as a Lambda Layer and referenced it in my AWS SAM template. ...
Vin's user avatar
  • 33
0 votes
0 answers
21 views

Confused about AWS Cognito architecture: How is native social login on mobile is supposed to word?

I'm trying to clarify the right architecture for using AWS Cognito with Google Sign-In on mobile (Flutter/Android/iOS). I’ve already implemented a working version using Cognito User Pools with Google ...
Soroush Rabiei's user avatar
0 votes
0 answers
22 views

Springboot with JPA cannot save Auto Increment field in redshift

Tried to store data into redshift table from spring boot. Got an error because of the auto increment ID column. Below is the code and error. Entity class @Entity @Data @Table(name = "...
Jeeva D's user avatar
  • 344
0 votes
0 answers
16 views

Query super in redshift for values with a forward slash

In redshift I have data in a super type column roles like {"foo":true, "foo/bar":true} I can query for foo like WHERE roles.foo = true I cannot work out how to escape to query ...
GC30's user avatar
  • 45
-1 votes
0 answers
19 views

AWS Lambda + NestJS: Only root endpoint works, other routes return 500 error

I have a NestJS application deployed as an AWS Lambda function. The root endpoint (/) works perfectly, but all other routes return a 500 Internal Server Error. Environment: NestJS AWS Lambda (Node.js ...
János's user avatar
  • 35.3k
1 vote
0 answers
26 views

SEARCH sintaxis for AWS Boto3 client (Python) query expression

i'm trying to get information for NetworkIn and NetworkOut metrics with boto3 client for python, using the get_metric_data method. I am using the boto3 library and the client like this: Client = boto3....
FIM's user avatar
  • 11
-1 votes
0 answers
33 views

Migrate from Node.js 16.x to 22.x

About 2 years ago I learned just enough about writing an Alexa skill to get a simple one made and deployed. It was done using Node.js 16.x. Now I have been required to upgrade to 22.x and the skill no ...
Cindy Greenwood's user avatar
0 votes
0 answers
26 views

Should I save previously built and deployed docker images in AWS ECR

The system I work on has the following build / deploy flow: Build: build the docker image Build: push the built image to a private AWS ECR Deploy: pull the built image from private AWS ECR Deploy: ...
Brian Eriksen's user avatar
0 votes
0 answers
27 views

Why are some AWS VPC Route Table actions disabled

I'm seeing different behavior in the AWS Management Console between users who sign in via AWS SSO (IAM Identity Center) In the VPC console under Route Tables, some action items in the "Actions&...
YINLCHEN's user avatar
0 votes
0 answers
11 views

Opensearch collapse inner_hits alternative

{ "collapse": { "field": "syndication_title.keyword", "max_concurrent_group_searches": 4, "inner_hits": { "name": "collapsed_docs",...
Sumit Kashyap's user avatar
-2 votes
0 answers
31 views

Unsupported self_managed_kafka_event_source_config block type in terraform - Encryption

I’m trying to create an AWS Lambda event source mapping for a self-managed Kafka cluster using the aws_lambda_event_source_mapping resource. However, I’m encountering the following error: Error: ...
Bharathiraja S's user avatar
-3 votes
0 answers
16 views

How can I filter out all small talk, reminders, emojis, date, time, name, numeric messages, and retain only actual questions/FAQs?

I'm building a horizontal stacked bar graph in Amazon QuickSight using user chat data. The messageContent field includes various types of messages such as: FAQs (user questions) Appointment and ...
Alankrita's user avatar
0 votes
0 answers
16 views

Re-index open search and open search capacity to ingest new data

Recently, I joined a new project. In this project, we use a lot OpenSearch. There are 2 things the previous developers did that sound wrong to me. The developer created a way to re-index the ...
AFetter's user avatar
  • 3,624
0 votes
0 answers
12 views

How to find logs with two occurrences of the same string in CloudWatch Insights?

The relevant part of the log will look like this listOfItems=[DesiredItem(attributes=[Attribute(name=id,value=asdf1234asdf),Attribute(name=time,value=etc)]),DesiredItem(attributes= I am trying to ...
dbrewster's user avatar
  • 693
-3 votes
0 answers
46 views

AWS S3 bucket returns what looks like encrypted image object

In my React Native project with Express.js backend, I am using AWS S3 bucket to store images of items (cloths) using API with the help of the AWS SDK. I was able to upload image objects to the S3 ...
Bello Shehu's user avatar
0 votes
0 answers
10 views

AWS Amplify Auth Error: 'Auth UserPool not configured' despite proper configuration in Next.js

I’m integrating AWS Amplify authentication in a Next.js (v14) application but keep getting the error: AuthUserPoolException: Auth UserPool not configured. at eval What I’ve Tried: Configured Amplify ...
Vishal Mishra's user avatar
0 votes
0 answers
8 views

BatchEntryIdsNotDistinct in Apache airflow, Is my data lost which is processed in the task?

I have an Apache airflow DAG which is receiving messages from SNS-SQS with the code task1 = SqsSensor ( task_id="SqsSensor name", sqs queue="Queue name", max_messages=...
SAGAR KUMAR's user avatar
-1 votes
0 answers
16 views

Does localstack support network load balancer?

I'm trying to use localstack to test my ecs application, the alb works well but I cannot forward any traffic from nlb to alb, does localstack support this function? I checked all the documentations in ...
Applodka's user avatar
0 votes
0 answers
11 views

Amazon Chime SDK media pipeline limit – only 10 concurrent meetings?

I'm planning to use Amazon Chime SDK media pipelines to capture meeting content and store it in Amazon S3. According to the documentation: Chime SDK Quotas – Media Pipelines The maximum number of ...
Jussi Seppälä's user avatar
-1 votes
0 answers
26 views

ESP32-C6-AWS IoT Over MQTT

I'm trying to implement AWS Jobs OTA capability into my ESP32-C6. The provided ESP MQTT client is already in-use so I do not want to implement the entire AWS IoT SDK library. I tried to follow the ...
SamuraiMelon's user avatar
-1 votes
0 answers
15 views

AWS DMS remove specific columns and rename

I'm trying to run AWS DMS with specific table mapping where I have my source table, then I want to rename the table to a new name that matches the target table name as well as not migrate certain ...
Foobar's user avatar
  • 11
1 vote
0 answers
28 views

GitHub Actions for SAM Deployment of Lambda Functions '.deps.json' file Error

Even with the sample from the AWS toolkit, each time I use GitHub Actions to build and publish a lambda function I am getting the error Error: .NET binaries for Lambda function are not correctly ...
Karl Richey's user avatar
-1 votes
0 answers
30 views

How to set the cloud init on the launch template of Terraform AWS EKS module

I am deploying EKS via Terraform AWS EKS module: https://github.com/terraform-aws-modules/terraform-aws-eks and I am using version 20.31.6. While using the option "use_custom_launch_template = ...
MoonHorse's user avatar
  • 2,477
0 votes
0 answers
27 views

I am passing a user data to a custom windows AMI to enable winrm, but the user data is not getting executed. Also I cannot see ECLaunch or EC2Config

I have a user data - <powershell> net user Administrator "Password1!" winrm quickconfig -quiet New-NetFirewallRule -Name "AllowWinRM" -DisplayName "Allow ...
C_09_Vaibhav Borate's user avatar
0 votes
0 answers
20 views

Ceph Reef: Object Lock COMPLIANCE Mode Not Preventing Deletion?

I'm using Ceph Reef and enabled Object Lock with COMPLIANCE mode on a bucket. I successfully applied a retention period to an object (verified via get_object_retention) — everything looks correct. ...
Deva's user avatar
  • 1
0 votes
0 answers
37 views

aws sqs messages showing up after delete

Even after deleting messages from SQS queue, the messages still show up. I understand that if any other thread picks up a message which is being processed by other thread or process when the ...
Spartacus's user avatar
  • 444
0 votes
0 answers
12 views

SageMaker AutoML Model - Neo Compilation

I have trained a binary image classification model using AutoML as the predictions the AutoML training provides are better than the model I trained in SageMaker using MXNET and image-classification ...
Stateful's user avatar
  • 737
0 votes
0 answers
37 views

fargate cannot pull image from ECR

I'am trying to set a private vpc endpoint for the ecr service. When my ECR Fargate containers start, i got an error from them saying that they can't establish connection with ECR. here is the error ...
Kaan oflaz's user avatar
0 votes
0 answers
36 views

Axios HttpService is undefined in AWS Lambda but is being registered on localhost

I'm creating a project that create a few recipes from a list of equipement, ingredients and restrictions. For that I'm trying to make a http request using axios but apparently nothing is being ...
Marcelo Esser's user avatar
2 votes
0 answers
21 views

How to investigate repeated cached lambda at edge requests

I have the following Cloudfront and lambda at edge setup User makes a request to CDN (path is irrelevant, result must always be the same for given day) Cloudfront makes request to origin (lambda is ...
Dragas's user avatar
  • 1,365
0 votes
0 answers
18 views

How to define OpenSearch pipeline in AWS CDK (via Amplify) without triggering full CloudFormation deployment?

I'm working on an AWS Amplify project, and trying to integrate an OpenSearch Ingestion pipeline (AWS::OSIS::Pipeline) using CDK (within the Amplify backend). The issue I'm running into is that ...
zhartaunik's user avatar
0 votes
0 answers
19 views

In AWS CodeDeploy the scripts cannot find the source files

I have a AWS CodePipeline that is triggered by S3. I upload a zip file to S3 that contains a war file, appspec.yml and a folder for the scripts. My appspec.yml looks something like this: version: 0.0 ...
swapnilman's user avatar
0 votes
0 answers
34 views

CDK cognito.UsesrPool sending codes instead of links when updating email, and CFN won't let me use links in the verificationMessageTemplate

I have a cdk L2 cognito.UserPool (see below). I only want email and password authentication. I want users to be able to change their email. I want their email to be verified either at sign up or upon ...
George Bentz's user avatar
-1 votes
0 answers
51 views

Bucket policy for IAM user

I have a user test-user .no polices are attached to the user. I have the following bucket policy applied to the bucket Policy. My expectation is test-user should be able to see the bucket and see the ...
Jack's user avatar
  • 1
0 votes
0 answers
10 views

Query Blocking Between Containers in ShinyProxy on AWS

I am trying to host my ShinyProxy application on an AWS EC2 instance running Amazon Linux 2023. Say, I have two different Docker images, each containing an R Shiny app that connects to the same SQL ...
Kirthana's user avatar


15 30 50 per page
1
2 3 4 5
991