Questions tagged [serverless-architecture]

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.

Reference: http://martinfowler.com/articles/serverless.html

177 questions
2
votes
2 answers

Error: Page not found The requested URL was not found on this server. google cloud functions

I'm using google cloud's "Hello World" demo for cloud functions but the URL it produces gives me an error: Error: Page not found The requested URL was not found on this server. I follow the tutorial, check allow unauthenticated, etc yet the url…
2
votes
1 answer

Local development with serverless framework

I have a microservices project using Serverless Framework that has the following structure: project └───service1 │ │ handlers.py │ │ serverless.yml │ │ requirements.txt | | package.json └───service2 └───service3 └───service4 Each…
2
votes
1 answer

ConflictException: Base path already exists for this domain name in Serverless AWS

I had build the applicatoin using the AWS lambda with NodeJS environement. and For the deployement puposes I am using the Serverless Framework. Now When I am trying to deploy my service to the AWS using the Serverless framework with Nodejs template.…
2
votes
1 answer

My .zip file size is 45mb but it's showing the error of large file size on AWS layer

I am using the serverless framework for the deployment. It's throwing the following error while we are deploying it on the AWS. But my zip file size is 45mb and unzipped size is 130mb on local. Serverless Error…
2
votes
1 answer

Serverless triggered with SQS not send the output to configured destination

I am using a serverless framework, with a triggering function hello with SQS and this is done correctly with the following config. functions: hello: handler: handler.hello events: # Provide the ARN of your queue - sqs:…
2
votes
0 answers

Concurrent Writes to the same S3 file - Updates from multiple s3 buckets to target S3 bucket file using Lambda S3 Trigger

My use-case is to design a system to keep reading events (content) from Source S3 Buckets and merge with the file present in the Target S3 Bucket continuously. For instance, Bucket-1(A) | Bucket-2(B) | Bucket-3(Target) A: Any Update ---> Trigger…
2
votes
2 answers

.Net Core querying records from different microservices

I'm learning how to design and implement microservices using serverless technologies. I'm trying to create autonomous microservices and am having difficulty understanding how to communicate data across/between microservices. I'm using .Net Core…
Tom Schreck
  • 5,177
  • 12
  • 68
  • 122
2
votes
3 answers

AWS architecture to handle rights management for file access in AWS S3

In a nutshell: What is the best way to give and control end user access to files stored in a S3 bucket with specific access rules determined for each files by which “group” the end user belong to and what is his role in that “group”, when there is a…
2
votes
0 answers

East/West communication in a AWS serverless microservice architecture

I am well aware of the fact that east/west, or service to service synchronous communication between services is not the gold standard, and should only be used sparingly in a microservice architecture. However, in every real world implementation of a…
2
votes
2 answers

how can i connect my Heroku database with serverless framework

I am using serverless framework to create one of my ruby service as serverless. My current infrastructure is using 'Ruby on rails' framework. Now i need to configure the database in serverless.yml file. So Any help regarding to this will be…
Chitra
  • 1,294
  • 2
  • 13
  • 28
2
votes
1 answer

Which aws database should I use?

I have a legacy project that I like to migrate piece by piece. Now, the data is tightly connected. For example: Flight information Crew info Passengers info Airports Flights can have many airports too I also would like to have the database that is…
2
votes
2 answers

DynamoDB solution to adding and removing attributes to Table in Production Java SDK

The problem: We have several lambdas and dynamodb tables we are using in production, when releasing a new version of our code we sometimes strip an attribute or add attributes to our table classes (Java code using…
2
votes
1 answer

Can `dat` protocol efficiently support live streaming of video?

I would like to be able to live stream video (or any other file that is large and continuously modified/appended) via dat. Here it says, The dat:// protocol doesn't support partial updates at the file-level, which means that with multiple…
localhost
  • 1,253
  • 4
  • 18
  • 29
2
votes
1 answer

AWS Java Lambda JVM instances

Let's assume I have one AWS lambda Function **String lambdaFunction1() { //some processing }** Let's say lambdaFunction1 is triggered on any new message in SNS Topic. How many JVM instances will be triggered for 10 SNS messages? Does AWS lambda…
2
votes
0 answers

Serverless package separately or not?

If I want to deploy my serverless project, should I package it individually? or should I not? # serverless.yml package: individually: true Also, please tell me why.