Serverless architectures refer to applications that significantly depend on third-party services (knows as Backend as a Service or "BaaS") or on custom code that's run in ephemeral containers (Function as a Service or "FaaS"). By using these ideas, and by moving much behavior to the front end, such architectures remove the need for the traditional 'always on' server system sitting behind an application.
Questions tagged [serverless-architecture]
177 questions
0
votes
0 answers
AWS for serverless Google Analytics-like tool
I'm currently brainstorming an idea and trying to figure out what are the missing pieces or a better way to solve this problem.
Assume I have a product that customers can embed on their website. My end goal is to build a dashboard on my website…

Daniel Costa
- 275
- 2
- 14
0
votes
1 answer
Method to upload files to S3 bucket from mobile / web client - Serverless
I have a serverless application that uses AWS AppSync as the API layer and Cognito User Pool as the authentication service. There can be web / mobile users using the application. Each authenticated user should be able to upload photos to the S3…

Arunwij
- 390
- 1
- 4
- 22
0
votes
2 answers
Best Practices to deploy serverless app (s3, api gateway, lambda, cognito...) with AWS CDK
I started to build an App using the serverless services of AWS and I am now on the point where I want to put it all into AWS CDK. I also want to create a CICD pipeline using CodePipeline to automatically deploy the infrastructure by changes.
To use…

Luka Klarić
- 323
- 2
- 16
0
votes
0 answers
Patterns for mapping intents to actions in event-driven architectures
It seems to be common sense that hiding commands (i.e. triggers for actions such as calling a serverless function) in events is an antipattern. Applying the event pattern for user interactions (event: "user has pressed button X") seems forced and…

Xogaz
- 113
- 1
- 9
0
votes
0 answers
What's a "cloud-native" way to convert a Location History REST API into AWS Location pings?
My use case: I've got a Spot Tracker that sends location data up every 5 minutes. I'd like to get these pings into AWS Location, so I can do geofencing, mapping, and other fun stuff with them.
Spot offers a REST API that will show the last X number…

matthewsteele
- 1,797
- 1
- 15
- 31
0
votes
0 answers
Event-driven architecture design problem with Eventbridge and cross-stack references?
I have a question that I have been thinking about for the last few days.
This is the diagram of a part of the architecture
I am concerned about the scalability and maintainability of this approach. We are discovering the first problems that are…

adrG2
- 11
0
votes
2 answers
Unable to get the user-id/identity details from Log Analytics workspace captured from Serverless Pool SQLs
I have
Azure Synapse Workspace on which I have Synapse Administrator access
Through Azure portal - I have configured he Log Analytics and running below KQL statement to find the list of queries executed along with data processed in MBs and…

Aravind
- 179
- 1
- 2
- 14
0
votes
0 answers
What would be the best way to connect to MongoDB from python code on a serverless architecture (AWS Lambda)?
So I've been looking for the most efficient way to connect to MongoDB from a python code base on AWS serverless lambda functions.
I understand the most popular (and probably the easiest) way of doing it, that is to use pymongo.
pymongo establishes a…

bipster
- 404
- 1
- 8
- 20
0
votes
1 answer
Create an AWS HTTP API as resource in serverless
How can I create an HTTP API with serverless framework so I can manage it in my .yml file? The documentations shows this:
functions:
testFunc:
name: lambdaName
handler: handler.hello
events:
- httpApi:
path: /v1/test
…

ElKePoN
- 822
- 11
- 21
0
votes
1 answer
How to access s3 from a serverless lambda function?
I have a serverless lambda function that cannot access s3 bucket. I get Connect timeout on endpoint URL: error.
This Lambda is associated with a VPC and I have already given s3 permission.
iamRoleStatements:
- Effect: Allow
Action:
…

Exploring
- 2,493
- 11
- 56
- 97
0
votes
1 answer
AWS Serverless lambda times out while connecting to redshift
I am getting constant timeout while connecting from AWS lambda to redshift.
I get Timeout exception from my python code
I have already added the vpc section:
vpc:
securityGroupIds:
- sg-xxxxxxx
subnetIds:
- subnet-xxxxxxx
So…

Exploring
- 2,493
- 11
- 56
- 97
0
votes
2 answers
Approaches on running Kafka Producer/Listener on Serverless Architecture / Lambda
I'm having a Microservice Architecture completely build around AWS Lambda, also including a producer/listener which is loosely-coupled via SQS to the business lambda functions. It's working nicely via following approach:
lambda has a reserved…

tpschmidt
- 2,479
- 2
- 17
- 30
0
votes
0 answers
Not able to save data to aws dynamodb in batchSave
I am not able to save list of objects in dynamodb by using mapper.batchSave() but I am able to save it single object at a time. I am not seeing any exception also in the logs, an idea why this is happening? Please help me to resolve this issue.

saswat satapathy
- 61
- 1
- 7
0
votes
1 answer
How to add trigger for s3 event?
How to add a trigger for an s3 folder?
I can add triggers for a bucket from my serverless configuration.
But not sure how to add a trigger for a folder path?
events:
- s3:
bucket: files
event:…

Exploring
- 2,493
- 11
- 56
- 97
0
votes
1 answer
Is there a time limit for running serverless batch job?
Is there a time limit for running a serverless batch job?
I followed the ETL job following this link: https://www.serverless.com/blog/etl-job-processing-with-serverless-lambda-and-redshift
I am wondering is there a limit which running the batch job?

Exploring
- 2,493
- 11
- 56
- 97