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

All Questions

-1 votes
0 answers
15 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
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
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
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
0 votes
0 answers
6 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
1 answer
21 views

Share code across sagemaker pipeline steps without

I am trying to create Sagemaker pipeline with multiple steps. I have some code which I would like to share across different steps. Next example is not exact but simplified version for illustration. I ...
Max Markov's user avatar
0 votes
1 answer
23 views

AWS Route Calculator API/ Here Maps

I am using AWS Location Services Route Calculator to determine travel time and travel distance of several origin destination pairs. The code is working but it is not reflecting travel delay due to ...
Jorge's user avatar
  • 356
0 votes
0 answers
38 views

AWS Lambda OpenSearch Serverless Connection Issues

I am working on an AWS Lambda function written in Python to interact with an OpenSearch Serverless collection. The Lambda function is deployed in a VPC, and the OpenSearch Serverless endpoint is also ...
Hrvoje's user avatar
  • 14.7k
0 votes
0 answers
16 views

Connect to a database from EC2 SSM session [duplicate]

I could use: psql --host=myrds.crypticxxxx.us-east-1.rds.amzaonaws.com -port=5432 -username='devuser' -dbname='postgre'. But in the same terminal, with Python 3.7.16, with Amazon, Linux 2, and the ...
Henry D's user avatar
  • 11
0 votes
0 answers
22 views

How to Speed Up Response Streaming from Agent in InvokeAgent API (EventStream)?

I'm working with an API that uses the InvokeAgent endpoint with EventStream to interact with an agent. The current setup works, but I'm experiencing some latency issues and would like to speed up the ...
rookie_h's user avatar
-2 votes
0 answers
25 views

Python downloads empty files from S3 bucket after checking if it already exists

I have a python script running in Windows that downloads files from an AWS S3 bucket to a Windows File Explorer folder. Before the download, I am trying to check if the file is already there. The ...
Lele's user avatar
  • 29
0 votes
1 answer
37 views

Streaming audio to Amazon Connect through Kinesis Video Streams

What I am trying to achieve is the following. In Amazon Connect, when I create a Flow with Start Streaming Data block, it starts streaming to a Kinesis Video Stream, and I can call a lambda function ...
Andy_ye's user avatar
  • 550
1 vote
0 answers
44 views

List all objects in an S3 bucket on MinIO

I have a bucket with about 5'000'000 objects inside (as shown from the MinIO web interface). I need to traverse every single object (and later on do some processing on them). To test the functionality,...
user452306's user avatar
1 vote
1 answer
14 views

AWS Elemental Live - Querying API returns the GUI Interface

I'm attempting to query the AWS Elemental Live REST API using a Python script. I am using a generated header as described in the API documentation that allows me to authenticate and send the request, ...
Amine Mchayaa's user avatar
0 votes
1 answer
42 views

AWS Lambda unable to work with \n as string

I have a private key from GCP Pub Sub. It is stored like this secret_manager_data = {'google_pubsub_private_key':'-----BEGIN PRIVATE KEY-----\nYourPrivateKeyHere\n-----END PRIVATE KEY-----\n'} I'm ...
Moses01's user avatar
  • 162

15 30 50 per page
1
2 3 4 5
795