Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [amazon-web-services]

When asking about Amazon Web Services (AWS), specify which services you are using. Provide details on your architecture/configuration - do not include proprietary or sensitive information this is a public forum. Share relevant parts in a code block along with language tags. Specify the SDK/CLI version. Detail troubleshooting steps taken. The AWS tag is rarely used alone and should be used with other tags to more clearly define the topic of the question.

amazon-web-services
-1 votes
0 answers
11 views

Difference Between Immutable, Traffic Splitting and Blue Green Deployment [closed]

I am new to AWS and have a couple of questions regarding the different deployment options for Elastic BeanStalk. Regarding Immutable Deployment, We create a new ASG under the same ALB and provision ...
Danny Shen's user avatar
-1 votes
1 answer
17 views

make request from a static IP address to an API in AWS

I have an API that I need to host in AWS that makes requests to an API that requires IP whitelisting. In other words every request I make from my AWS server/service must have the same IP, or an IP ...
gutscdav000's user avatar
0 votes
1 answer
11 views

AWS API Gateway CORS - CORS already setup at the API Gateway and in Lambda Function

I have added the domain that is making the request that is receiving the CORS message (a github.io page) into the CORS area of the API Gateway interface, but this doesn't help anything. When I call ...
Gilkan Solizaris's user avatar
0 votes
0 answers
10 views

Customize response from AWS API Gateway integrated to SQS

I have integrated AWS API Gateway to SQS queue and it give response in format { "SendMessageResponse": { "ResponseMetadata": { "RequestId": "acfa1737-...
Sergey K's user avatar
  • 4,094
0 votes
1 answer
9 views

Cloudfront origin is not able connect to second Behaviors

We're trying to archive this, the request has to response via cloudfront if the user tried to access it via AWS application load balancer DNS user has to get the message as Access Denied. To make it ...
Antham's user avatar
  • 41
0 votes
1 answer
10 views

Update Onprem oracle table from aws glue python shell using oracledb

I have a usecase that needs to update an onprem table using the aws glue python shell. Please note i want to use python-oracledb in thick mode I have installed the oracledb I dba has set up a jdbc ...
Data girl's user avatar
  • 165
0 votes
0 answers
8 views

setting up an amazon webhook and a Lambda function with Telegram

I'm trying to link a telegram bot with a lambda function that bears a LLM. In order to do so, I've used a HTTP API gateway and a webhook. I've also linked my webhook to my telegram bot. My lambda ...
Vidyak's user avatar
  • 1
0 votes
1 answer
11 views

Why is encryption data at rest and encryption in transit data must be disabled when migrating the ec2 cache to AWS Elasticache?

I had launched the ec2 instance where i have installed redis, and added some data in it. and then after that i wanted to migrate that cache from ec2 redis to aws elasticcache cluster, so for that i ...
Ahmed Hussain Shaikh's user avatar
-1 votes
0 answers
14 views

Steps to deploy a react python full-stack app on AWS using S3, EC2, and Cloudfront? [closed]

I am making a full-stack blog app with react frontend and python backend. I like to deploy this using AWS. I'm nearly done but I can't figure out how to host the backend properly. I have the react ...
Khai's user avatar
  • 1
-3 votes
1 answer
19 views

Terraform reverse engineering without default values

when reverse engineering aws infra with import and show or with terraformer, there are many values that are default values, is there a way to remove those default values so the configuration is more ...
bajistaman's user avatar
-1 votes
0 answers
16 views

How to keep AWS EC2 ssh connection alive

I use ssh to create a tunnel for my local server as below: ssh -D 1234:localhost:1001 user@my-remote-AWS-EC2-server then I run my local app.py which will expose the port: Running on local URL: http://...
paul's user avatar
  • 53
0 votes
0 answers
15 views

problem connecting to Google Big Query from AWS Glue job

As title says, I have a problem connecting to Google Big Query from AWS Glue job. Idea is that I pick up data from database and send it to google big query. My script looks like this: import os import ...
Marko Vasic's user avatar
0 votes
0 answers
10 views

Uploading from OneDrive/Sharepoint in Laravel App

I'm looking for a solution to allow users to authenticate then upload files from their Sharepoint/OneDrive to S3 within a Laravel application. Has anyone been able to accomplish this before? I've only ...
Abdel Ibrahim's user avatar
0 votes
0 answers
8 views

How to connect Athena ODBC using AWS learner lab

I downloaded the Athena ODBC to connect to amazon athena. When I go to configure a data source in ODBC data sources 64bit on my own computer, I can't seem to get the correct secret access key or ...
user26529933's user avatar
0 votes
0 answers
16 views

AWS IoT File Stream from S3 - Response not in order and PacketType=7b

The coreMQTT library is throwing an error with the message: Unexpected packet type from server: PacketType=7b This indicates that the client has received a packet from the server that it does not ...
Coffeeye's user avatar
0 votes
0 answers
18 views

Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs Error on AWS lambda

I am trying to invoke a lambda function on AWS but I am getting the error: "Error: Cannot find module 'index'\nRequire stack:\n- /var/runtime/index.mjs" Folder structure: enter image ...
Shreya's user avatar
  • 1
0 votes
0 answers
7 views

How to create an API authorization with the latest IOS SST and AWS

I want to create an API with the new SST v3 aka ION SST. Docs don't say much about auth-related things and I feel confused. I have a separate Next.js app and now I want to create a backend ...
Karol's user avatar
  • 620
-3 votes
1 answer
11 views

How can I upload a CSV file from a local folder to a specific folder within an S3 bucket using Python?

If I have a CSV file stored in a specific local folder, how can I upload it to a specific folder within an S3 bucket using Python?
Buddhadeb Mondal's user avatar
0 votes
1 answer
13 views

AWS RDS - How to get different Users

I have an aws Fargate environment which is accessed by different URL's (project1.tld; project2.tld ...). There is one database per project in an Aurora DB cluster. Each database should have a project ...
harley81's user avatar
  • 190
-2 votes
0 answers
25 views

Issues with Region in S3AsyncClient using Minio with AWS SDK for Java

I encountered an issue while configuring S3AsyncClient using the AWS SDK for Java in a Spring Boot application. Despite setting all the necessary properties, I keep receiving the following error ...
wallhack's user avatar
-1 votes
0 answers
10 views

Lambda in a Private Subnet invoke another Lambda in a Private Subnet within a same VPC

I have a configuration in such a way: 1 VPC 2 Subnet in VPC 1 Lambda in each Subnet (total: 2 Lambda in VPC) Network ACL has inbound and outbound rules to have rules of All Traffic has been "...
Jackie Lee's user avatar
0 votes
0 answers
21 views

kubernetes cronjob error: Saw a job that the controller did not create or forgot

Task:-> Restarting pod automatically at specific time. cronjob not working fine after manually triger, getting error- like Saw a job that the controller did not create or forgot: vijay-deployment-...
Vijaykumar Jawale's user avatar
0 votes
1 answer
16 views

How much data in S3 will be backup for the first time?

Let say I have a S3 bucket which I created it and uploaded files to it a year ago. I kept it unchanged for a year. Now I turn on backup on it using continuous backup and set the total retention period ...
Steve's user avatar
  • 215
0 votes
0 answers
16 views

DB2 to Aurora PostgreSQL Migration issues with trailing spaces

We are migrating the data from DB2 LUW to Aurora PostgreSQL database using AWS DMS. For few tables we have a column with data type varchar(22) and the value of the column could end up having ending ...
Lakshmi Narayana's user avatar
0 votes
0 answers
8 views

Is it possible to remove SERVER respone header from AWS Amplify app

I have a react app.. hosted on amplify. It seems amplify uses cloudfront behind the scene so static content are served with header 'Server: S3'. I want to remove this via customhttp.yml however, ...
mongesh madhavan's user avatar
0 votes
0 answers
18 views

Uploading static files to an S3 as part of a Serverless deploy

I'm extending an existing tool that runs as a bunch of lambdas. It has several components to it (sftp handling, RDS Postgres updates, etc) and a small UI element. The UI needs has a few pages that now ...
Dycey's user avatar
  • 4,635
0 votes
0 answers
24 views

Unable to read a dataframe from s3

I am getting the following error: 24/07/25 21:29:43 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 24/07/25 21:29:53 ...
Minu's user avatar
  • 7
-1 votes
1 answer
25 views

Does it make sense to "Let Cloudfront access S3 with VPC endpoint"

Currently I am making an infrastructure with Cloudfront infront of S3 for serving public static assets. The customer requested that they don't like to have their public static assets being public on ...
qkhanhpro's user avatar
  • 4,942
0 votes
1 answer
24 views

AWS ECS auto scale up causing temporary ALB 504 timeouts

we have a service which is a ECS + EC2 setup. With the ECS, we configured service auto scaling. We noticed when auto scaling policy trying to scale up more tasks, we sometimes see transient 504 ...
Erin's user avatar
  • 11
0 votes
0 answers
23 views

Unable to use implicit IAM/role-based auth when using Boto3 inside Docker on EC2

I've run into a frustrating edge case that I'm now having to either introduce custom logic to work around or solve properly. I'm running a Django application inside a Docker container on EC2. I'm ...
pdoherty926's user avatar
  • 10.3k
0 votes
0 answers
18 views

How to increase recursive invocations limit in AWS lambda?

I have a lambda function that asynchronously invokes itself in a chain reaction 30 times in a row, however AWS stops at invocation #16 because of the infinite loop detection Is there a way I can ...
Ekapunk's user avatar
  • 131
0 votes
0 answers
38 views

Unable to upload images to S3 using boto3

I am using fastapi to upload images to my s3 bucket. first i tried presigned url method to upload images from postman and it is working fine. But when i try to directly upload image(size ~7kb) from ...
varun_k_21's user avatar
1 vote
0 answers
11 views

Python - Writing data from Firehose lambda to S3 with dynamic names

I am using Amazon Data Firehose with a Lambda function to massage data before writing to S3 destination. I need to change the name of the S3 file written to S3 based on the data processed in the ...
George Chacko's user avatar
0 votes
0 answers
12 views

Getting error while hosting MERN Project on AWS: .env file error

Upload the file on the aws ec2 instance using GitHub so after that I use pm2 to start the server file, but it shows an error that the server is running on an Undefined port and a mongodb error, but ...
kalgi's user avatar
  • 1
0 votes
0 answers
24 views

Prevent MongoDB's bulkWrite from returning (too much) data

I use MongoDB with the Node.js driver to bulkWrite around 10,000 rather large documents (1-5 MB per document) from an AWS scheduled task to MongoDB instance every hour. I would expect the inbound ...
fromin's user avatar
  • 67
0 votes
0 answers
13 views

My ECS task mapped with portMapping = 9200 but the application end point is running only in port 8080

I am fairly new to AWS and docker. What I have done is -- I have created a sample spring-boot get endpoint Created a docker image from it and pushed the same to DockerHub Created an ECS cluster and ...
akash89's user avatar
  • 891
0 votes
0 answers
14 views

Pod getting stuck in ContainerCreating state when it is attached to 2 EFS RWX volume

Created EFS file system on aws console Using EFS file system ID from step 1 we created storage class and used that storage class in app deployment After helm deployment we got EFS access point, pv and ...
saurabh umathe's user avatar
0 votes
1 answer
27 views

AWS Serverless framework, stack deploy stuck "CREATE_IN_PROGRESS"

I have a problem while using the Serverless framework to deploy my stack to AWS. I'm running this serverless deploy --stage tst --region eu-west-3 --verbose Then 2 of my functions get stuck in "...
JeanPierre's user avatar
0 votes
0 answers
15 views

How to detect PDF pages with scanned content?

I'm trying to build an algorithm that it is able to detect pages that require to apply AWS Textract because they are scanned content. The use case is that some documents have text plain content but ...
Sebastian Chavarry Gutierrez's user avatar
0 votes
0 answers
23 views

AWS CLI V2 running but not displaying output in GIT BASH

I am using AWS CLI V2 in my Windows 11 and use GIT BASH as a terminal. I configured the AWS within the terminal but command "aws iam list-users" is running successfully but not showing the ...
Kunal Dubey's user avatar
0 votes
0 answers
11 views

Allow All Authenticated Users to Read Documents Created by Admin User Group With Amplify

Consider the following model in my Schema type Document @model @auth ( rules: [ { allow: private, operations: [read] } { allow: groups, groups: ["Admin"], operations: [...
Eric Webb's user avatar
  • 361
0 votes
1 answer
17 views

For AWS Elastic Redis Global Cache do we need to create again users and user group even in secondary region too again

I have created list of users and usergroups and associated it with the redis global datastore primary cluster (self designed Replication group Cluster), for accessing the secondary region do I need to ...
KVK's user avatar
  • 1
0 votes
0 answers
26 views

How do I hot switch images in my AWS Task Definition now that there is 'ECS software version consistency'?

Background: I run a large number of ECS Fargate services via Cloudformation. There are 3 Cloudformation stacks for our different environments (Dev, Staging, Prod). In prod and staging, we follow the ...
Drew Aschenbrener's user avatar
0 votes
0 answers
13 views

AWS AppSync does not validate input field types and is not throwing any error

I have AWS AppSync API with lambda resolvers (Typescript) which works quite well. However I found out that apparently there is no validation on the input field type happening when the API is called ...
zlZimon's user avatar
  • 2,538
0 votes
1 answer
13 views

Cloudfromation script erroring out on CodeDeployDeploymentGroup

I have a sample script which creates EC2, CodeBuild, CodeDeploy and its Deployment Group with ALB and then it goes further to setup with codePipeline, however I am getting an error on ...
Pranav Chaudhari's user avatar
1 vote
0 answers
26 views

Not able to Access S3 image via Cloudfront

I have created S3 bucket with public access with below mentioned Bucket policy and CORS. My bucket image is accessible in my web app. But When I create cloudfront distribution for this bucket with ...
Ahmad's user avatar
  • 11
0 votes
0 answers
5 views

cognito with lambda verify_auth_challenge returning incorrect username or password when responding to custom challenge

I am trying to implement email based MFA using AWS congito and Lambda triggers and using lambda functions trigger and verify mfa_code. I am able to pass PASSWORD_VERIFIER challenge and also able to ...
Redgrave's user avatar
0 votes
0 answers
18 views

Quarkus based AWS Lambda native image cold start init phase is slow

I have quarkus-amazon-lambda:3.12.0 based AWS Lambda native image function, which cold start is slow. I'm not expecting it to be like that as the function does not do any complex tasks and the ...
sys463's user avatar
  • 377
-1 votes
0 answers
20 views

Terraform failing with: " The request is rejected because member account's email address is missing." [closed]

I am trying to enable Security Hub for each member account in an AWS Organization. During the Terraform apply process, the following resource is failing: resource "aws_securityhub_member" &...
Nikolay's user avatar
0 votes
0 answers
19 views

Struggling to send a PNG file to AWS Bedrock Agent

I have set up an AWS bedrock agent and am successfully sending text requests and receiving responses. I need to send across a PNG file for the Agent to view and return the contents as JSON. This is my ...
MVPJG's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
3193