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
2
votes
3 answers
AWS Lambda flooding RDS MySQL connections during spikes
I have Django running on AWS Lambda connecting to MySQL on RDS. Everything works great most of the time.
However, if a spike executes 10000 concurrent requests this spawns many Lambda containers and each opens a database connection which will…

pythonjsgeo
- 5,122
- 2
- 34
- 47
2
votes
2 answers
S3 or DynamoDb for user storage?
I'd like to use AWS Lambda and Cognito in a serverless architecture and was curious people's thoughts to use an S3 bucket for a user data store versus something like DynamoDb? What would be the pros/cons?

Justin
- 2,224
- 2
- 22
- 28
2
votes
0 answers
Structuring Google Cloud Functions project
I have a REST API that I'd like to port to run as a collection of cloud functions. I'm wondering how to split up the different endpoints in the best way, and how much to rename endpoints to fit the GCF model.
For example, I have the following types…

Andy Hume
- 40,474
- 10
- 47
- 58
2
votes
1 answer
Amazon API Gateway swagger importer tool does not import minItems feild from swagger
I am trying the api gateway validation example from here https://github.com/rpgreen/apigateway-validation-demo . I observed that from the given swagger.json file, minItems is not imported into the models which got created during the swagger…

srisaiswaroop
- 195
- 10
2
votes
1 answer
Returning HTML with Azure Serverless Function req.body
I've got some TIF files in Azure Blob Storage. I'd like to display them in the browser via a link embedded in a spreadsheet. The simplest way to do this should be to take the file code as a request parameter and return the properly formatted HTML,…

Boris K
- 3,442
- 9
- 48
- 87
2
votes
1 answer
Reference AWS API Gateway's hostname within the serverless.yml file for other CloudFormation resources?
I'm using the Serverless framework to create a image resizing service using S3, Lambda and API Gateway. This is similar to the concept here, but this will use Serverless to setup and configure the entire stack.
Right now I need to find a decent way…

arjabbar
- 6,044
- 4
- 30
- 46
2
votes
0 answers
Any advice on Implementing an Oauth Provider with AWS Lambda?
I currently have a functional Oauth Authentication Provider implemented with Spring Security Oauth running on an AWS ECS cluster, but I would like to come up with a server-less implementation using AWS Lambda with AWS SAM. I am aware that there are…

zalpha314
- 1,444
- 4
- 19
- 34
2
votes
2 answers
cloudfront in no caching mode
I am building a serverless app with my SPA hosted on S3 and my APIs on lambda front ended by API gateway. Pretty standard stuff. Now I want my cloudfront distribution to sit in front of S3 and API gateway so that they are on same domain so as to…

Prabhat
- 4,066
- 4
- 34
- 41
1
vote
2 answers
i am getting Warning: found unsupported runtime 'nodejs18.x' for function 'rs-ms-v1' × Unsupported runtime
i tried to update my application from node 16 to node 18 and after completing my changes versions i started my app and sent a api call and i received following output .
Warning: found unsupported runtime 'nodejs18.x' for function 'rs-ms-v1'
×…

V2rson
- 137
- 1
- 10
1
vote
3 answers
AWS Step Function - Wait until a group of other Step Functions have finished then fire a different Step Function
I have a scenario where I need to post process results that have been produced by a group of discrete Step Functions. How can I orchestrate this arrangement such that, if I have Step Function A, B and C. Once A, B and C have completed successfully…

zaf187
- 505
- 4
- 9
1
vote
1 answer
serverless-single-page-app-plugin cannot create s3 bucket
I have deployed the angular app to cloudfront use serverless serverless-single-page-app-plugin. But I always give the issue permission denied. I use my customer account with the role
{
"Version": "2012-10-17",
"Statement": [
{
…

LastOne
- 11
- 3
1
vote
0 answers
Best way to scale a data collection script (Task queue or serverless function??)
I have a web scraper python script that runs a list of functions every 1-2 hours from a raspberrypi. I want to be able to run X number of instances simultaneously with specific parameters (like credentials, configurations, proxy details, etc). I've…

aerox
- 11
- 1
1
vote
0 answers
AWS documentation models and response handling?
i'm trying to figure out the best way to define response/request models for my Lambda functions and API Gateway.
What am I trying to achieve?
What I want is to store all my models within my git repo for requests and responses, these will be deployed…

Martyn Ball
- 4,679
- 8
- 56
- 126
1
vote
0 answers
How to set keepOutputDirectory to true when using serverless-bundle plugin
serverless-bundle plugin does not seem to have an option to override keepOutputDirectory:true. By default it gets removed on sls deploy command.
How can we keep .webpack folder with .js and jsmap files after deployment as we need it to be able to…

systemdebt
- 4,589
- 10
- 55
- 116
1
vote
2 answers
How can I implement in the Micorsoft Azure / Microsoft Synapse serverless SQL Pool service the Row Level Security feature on external tables?
I am looking at a Data Lake csv file and want to create an external table in the serverless SQL Pool of Microsoft Synapse. The goal is to query this file with Row Level Security constraints in place.
When the external table is created on a dedicated…

Tim Rusche
- 31
- 3