Questions tagged [faas]

Function-as-a-Service, or simply FaaS, is the popular implementation of the serverless computing model, where developers can compose applications using arbitrary, event-driven functions to be executed on demand. Use this tag if you have any kind of doubt while using this service, usually offered by cloud providers.

53 questions
20
votes
3 answers

Azure Function App = run single Azure Function locally to debug

In visual studio I have created an Azure Function App with several Function. When I launch the Function App debugger from the tool bar all Functions are triggered. Is there a way to trigger a single function from the App within Visual Studio 2017?…
Creggdev
  • 261
  • 4
  • 9
12
votes
1 answer

What does a production ready Google Cloud Function look like?

I'm just getting started with this whole Serverless thing using Google Cloud Functions and all the examples are basically "Helloworld". package function import ( "net/http" ) func F(w http.ResponseWriter, r *http.Request) { …
4
votes
0 answers

How vulnerable is running untrusted code with limiting references using AssemblyLoadContext in C# .NET Core

I am trying to run untrusted codes uploaded by user in my server. My users want to write simple functions to be executed on server like this: public class HelloWorldPlugin { public string GetResult(string input) { //return…
Amir Pournasserian
  • 1,600
  • 5
  • 22
  • 46
3
votes
3 answers

What is the size limitation for Azure Durable Entities

Azure durable entities are stateful components offered by Microsoft Azure functions. They can hold a state, which requires to be JSON serializable, and will be stored in reliable storage. My questions are: How large the state of the entity can…
NaSh
  • 665
  • 5
  • 16
3
votes
1 answer

Cannot Deploy GCP Python Cloud Function

I've been using GCP for some time. I created a new GCP Project to test new functions, and enabled the Runtime API. However, clicking Deploy pops up this message: "User does not have the 'iam.serviceAccounts.actAs' permission on…
user14714819
3
votes
3 answers

How much disk space does a GCP Function have?

I am looking into different FaaS providers and am interested how much disk space I have per function. A function in AWS Lambda has 512 MB of disk space available (see here) and Azure functions have up to 1000 GB of disk space, depending on the…
User12547645
  • 6,955
  • 3
  • 38
  • 69
3
votes
2 answers

Azure Functions Node.js custom entrypoint

I'm writing a cloud function and trying to add support for several providers. Currently for Google Cloud and AWS Lambda this has been simple enough, as both allow me to specify a named export of a given file (index.js in root folder) as the…
transiti0nary
  • 493
  • 6
  • 25
3
votes
1 answer

Getting ImageInspectError when trying to run an OpenFaas function on Raspberry Pi 3B+

I'm trying to deploy a function with OpenFaas project and a kubernetes cluster running on 2 Raspberry Pi 3B+. Unfortunately, the pod that should handle the function is going to ImageInspectError state... I tried to run the function with Docker…
Gallouche
  • 31
  • 1
  • 2
3
votes
2 answers

How to push OpenFaaS image to Minishift/Openshift Docker registry?

I'm trying to deploy a locally written OpenFaaS function to Minishift. My YAML file is: provider: name: faas gateway: http://gateway-openfaas.10.10.80.33.nip.io functions: test: lang: python handler: ./test image:…
Owen
  • 151
  • 1
  • 11
2
votes
1 answer

Error while deploying kubeless function to kubernetes cluster by using serverless framework

I am trying to deploy a kubeless function using serverless. I created a kubernetes cluster using minikube and I am trying to follow this link following which I installed serverless created a template kubeless-nodejs installed plugins with npm…
hushed_voice
  • 3,161
  • 3
  • 34
  • 66
2
votes
1 answer

Serving an HTML Page from Azure PowerShell Function

I try to serve a HTML Page from an Azure PowerShell Function. I am able to return the HTML but I have clue where I can set the content type to text/html in order that the Browser interprets the HTML. Here is an example from Anythony Chu how you can…
Martin Brandl
  • 56,134
  • 13
  • 133
  • 172
1
vote
1 answer

when i call another function in faas, I get an error like 'this function not published'

How can i import and use faas function in another faas function in express.js? const { UnsplashApi } = require('../image-api-graphql/data/unsplashApi');
1
vote
0 answers

Can a web application (like spring boot web app) be run on AWS lambda?

In response to some AWS lambda event like file uploaded to S3 bucket etc, is it possible to start/launch a web application on AWS lambda? I know a java app can be launched on lambda in response to some event, but I am particular about web…
samshers
  • 1
  • 6
  • 37
  • 84
1
vote
1 answer

Faasd - can't pull image from private registry

I have an application that uses OpenFaaS. In particular, I'm using faasd because the function will run on devices with poor processing capacity. I have a private registry on which an image of an 'X' function is present. I want to pull this image…
gcapi
  • 11
  • 4
1
vote
1 answer

IBM Cloud Functions: How to target organization and space / namespace

I targeted organization and space using this command target -o xxxxx@gmail.com -s spaceName and it targeted successfully But when I run IBMCloud fn list, it is showing A target org and name must be specified
1
2 3 4