AWS face rekognition Bot on Raspberry Pi
I am following a tutorial (https://github.com/just4give/raspi-dexter-lambda) that utilizes AWS rekognition on a raspberry pi to make a robot. I am having trouble figuring out how to create logs to see...
View Articleupload videos to s3 via API Gateway
I'm trying to upload mp4 videos to a s3 bucket via an API Gateway but I don't know how to do that. Everything works fine when I send a pdf file with Content-Type:application/pdf using this lambda...
View ArticleVideo to GIF Conversion with Random Frames on AWS Lambda using Nodejs and ffmpeg
I'm seeking assistance with automating the conversion of several videos stored in an S3 bucket into GIFs. Specifically, I aim to generate GIFs that are precisely 10 seconds long, each comprising random...
View ArticleAWS Lambda - FFmpeg to extract frames doesn't write anything
I have a lambda with a ffmpeg layer on it.The command i want to use is basicallyffmpeg -i video.mp4 -qscale:v 2 -vf fps=8 '%04d.jpg'so it has an input file, and creates 8 frames per second in the same...
View ArticleMaintain Internet Access for Lambda and Remote Access to RDS in a VPC with...
I'm working with an AWS CloudFormation template to deploy a serverless application that requires a Lambda function with internet access and a PostgreSQL RDS instance that I need to access remotely for...
View ArticleIntegrating a feature/SaaS on websites
I'm currently exploring potential strategies for developing a feature that could be marketed and seamlessly integrated into second-hand websites. This feature involves backend calculations based on...
View ArticleCannot load file mysql2 on AWS Lambda
Trying to have a Lambda connect to an RDS database but can't get the mysql2 gem to load. Tried the pristine instruction but that didn't resolve the issue.I've got the built mysql2 gem in the vendor...
View ArticleFind out python modules with versions that are included in given aws python...
When trying to run my code, which contained urllib3HTTPResponse.json() method, in AWS Lambda, Python 3.12 runtime, I got an error HTTPResponse object has no attribute json.It was running fine...
View ArticleNo module named 'psycopg2._psycopg': ModuleNotFoundError in AWS Lambda
I have created a deployment package for AWS Lambda with my python file and the dependencies including sqlalchemy and psycopg2. The code works perfectly in accessing the DB locally. But when I imported...
View ArticleAWS Lambda function is unable to update data but error message is empty
I am creating a Node.js application where some Lambda functions mutate data atomically called via API.Creation function run perfectly, but update function, with the same structure, gives "Unable to...
View ArticleUsing an AWS Lambda method to loop through a list and call multiple other...
I'm currently calling an RDS DB to get a list of items, then I loop through these items to then make a POST call for each item. My question is:Is it possible to loop through this list and call another...
View ArticleHow to update AWS Lambda configuration to the lastest version of a particular...
I am trying to achieve some automation using AWS CLI,wherein I am able to update my AWS Lambda function using cli command -aws lambda update-function-code --function-name --zip-fileAnd add a version to...
View ArticlePartitioning User Activity Data in S3 for Athena - multi-level partitioning
Currently dealing with a common problem of storing user activity logs in S3 which than will be queried by Athena. For this, I defined an event class with a lot of telemetry fields. This is used by...
View ArticleFile corrupts when uploading using pre-signed url with AWS Lambda
I am trying to load files uploaded using Angular application to S3 using presigned URL but file gets corrupted after upload. It works using postman.Lambda FastAPI function to handle the upload-async...
View ArticleIssue with Spring Cloud Function on AWS Lambda using Gradle
I am trying to run a Spring Cloud Function on AWS Lambda. I followed the official sampleand tried to build it using the gradlew build command. However, I encountered the following error:* What went...
View ArticleRDS Proxy IAM Authentication from Python Lambda
I am trying to connect to an RDS Proxy with IAM authentication and getting invalid credentials error.Error: Proxy authentication with IAM authentication failed for user "lambda_user" with TLS on....
View ArticleAWS Lambda Functions Unable to import module 'lambda_function': No module...
On AWS I am creating a Lambda Function like this:from __future__ import print_functionimport timeimport uuidimport sysimport socketimport elasticache_auto_discoveryfrom pymemcache.client.hash import...
View ArticleAws LambdaLogger vs native ILogger
I have been using the native ILogger to log Lambdas in Cloudwatch without any problems since forever.Recently I saw AWS has a package called Amazon.Lambda.Logging.AspNetCore. I looked at the docs and...
View ArticleTerrafrom api gateway provisioning
I am building an api gateway that trigger lambda and every time i do a TF Apply I get the below error} Warning: Failed to decode resource from state361362 Error decoding363...
View ArticlePip install Python package within AWS Lambda?
I'm trying to pip install a package in an AWS Lambda function. The method recommended by Amazon is to create a zipped deployment package that includes the dependencies and python function all together...
View Article