Questions tagged [serverless]

For questions about serverless computing (also known as Function as a Service, or FaaS). Use this tag for questions about terminology, practices and problems encountered while implementing serverless. Consider also using the specific provider tag, e.g. [aws-lambda].

Filter by
Sorted by
Tagged with
1
vote
0answers
28 views

What causes cold start in serverless

I have not found a clear explanation on what causes the cold start in serverless. Could you try to explain it from both commercial and open-source platform's points of view? Commercial platforms such ...
0
votes
1answer
80 views

Does a DB connection prevent AWS Aurora Serverless from pausing its compute capacity?

I want to host an application that connects to a DB and makes queries to it. The application holds onto the connection indefinitely but only makes queries to the DB when the user interacts with the ...
1
vote
1answer
1k views

How to programmatically enable and disable SQS triggering AWS Lambda?

I have a requirement where I want to stop my lambda from receiving messages from SQS. And I want to implement this like an API which can toggle between the disabling and enabling of the AWS Lambda ...
1
vote
1answer
83 views

Unable to send cloudwatch logs to loggly using a blueprint lambda - Invalid ciphertext

I am trying to use the loggly Lambda blueprint to send cloudwatch logs to loggly. I am doing this because I have a bunch of lambdas that I need to have a single point of viewing logs. I've followed ...
0
votes
0answers
858 views

SQS Error Message: The specified queue does not exist for this wsdl version

I have a Lambda function that is created inside a serverless framework setup. I am trying to pass in a queue url as an ENV variable, when I do that it results in the below error message. I've checked ...
2
votes
1answer
52 views

I want to scale up/down as fast as AWS Lambda but also be able to allocate the vCPU (minimum 8) per task, any advice?

Goal So I'm looking for an AWS product or combination of products to accomplish the following: Ability to do CPU heavy (non-parallel) calculations (min 8 vCPU's per node) Minimum timeout limit of ...
0
votes
1answer
246 views

Serverless framework: how to specify a c++ lambda function with provided deployment package

I have followed the guide in https://aws.amazon.com/blogs/compute/introducing-the-c-lambda-runtime/ to package my c++ lambda function into a zip file. The zip file has the contents: function.zip ...
1
vote
1answer
31 views

Practical reasons for 200 limit of AWS resources in CF templates

Not sure I get it. If my service layer is completely maintainable, indepedent services and very easy to maintain taking only a few minutes to deploy and has no bugs, AWS still won't let me deploy it ...
7
votes
5answers
464 views

What is the future of DevOps in the age of serverless?

My senior recently argued that DevOps related roles such as DevOps Engineer, SRE, etc, will be less relevant once serverless matures. He pointed me to Containers won the battle, but will lose the war ...
0
votes
1answer
40 views

Deploying lambda conceiving sensitive variables using serverless

I want to deploy AWS lambda written in NODEJS. And I have sensitive variables that can't be disclosed in AWS lambda variables section. Is there a way to deploy lambda with an encrypted variable which ...
3
votes
1answer
198 views

How granular in purpose should FaaS functions be?

For clarification, when I say "FaaS" I am referring to serverless offerings such as AWS Lambda and Google Cloud Functions. I have a specific case in mind that I'll describe but I would very much ...
4
votes
3answers
832 views

Challenges of using AWS Lambda chain

Context: I have a pipeline of 6 lambda functions (chained together), triggered by an SNS notification which is generated whenever a file lands on S3. This pipeline essentially takes the file(few GBs), ...
4
votes
1answer
83 views

Teaching an old dog new tricks: Finally adopting the micro-service architecture

Is it too late to teach an old dog a new trick? I've always been the guy with a monolithic application/codebase. For more than 10 years now, I've gotten good at caching, writing good SQL queries, ...
-2
votes
1answer
194 views

What is OpenWhisk and how to setup a cluster using this technology?

On IBM bluemix platform it is possible to write cloud functions using OpenWhisk, but what is OpenWhisk and how to setup a cluster using this technology?
4
votes
2answers
987 views

LambdaA -> delay mins -> lambdaB

I need to launch a LambdaA function and after X minutes I need to launch a LambdaB function with parameters passed from LamdaA I have testing the following: APIGW > LambdaA > SQS with delay > SQS ...
14
votes
2answers
3k views

How to avoid "retry storms" in distributed services?

A "retry storm" is caused when clients are configured to retry a set number of times before giving up, a retry policy is necessary because of packets loss will occur in normal operation of a service. ...
12
votes
2answers
344 views

How to storing encrypted secrets in code for a serverless.com project?

With serverless.com, the easiest way to expose a secret to an AWS Lambda function is to store it in the serverless.yml file (encrypted with KMS, for example). But committing encrypted secrets to Git ...
15
votes
2answers
379 views

What is a good logging practice for distributed tasks?

I have the following setting: Create multiple workers, do a computation and terminate them after the computation is done. So, every-time it’ll be a different instance running the task, so each ...
47
votes
5answers
3k views

What is Serverless?

All the cloud providers are marketing their "serverless" solutions. The promise is that serverless is going to replace the way developers are currently develop their software, and operations manage it ...