# Serverless Architectures

**URL:** https://forum.serverless.com/c/serverless-architectures/6.md?page=1

[Latest](https://forum.serverless.com/latest.md) · [Categories](https://forum.serverless.com/categories.md) · [Tags](https://forum.serverless.com/tags.md)

**Page:** 2

---

## [Unique item from large data set of usernames](https://forum.serverless.com/t/unique-item-from-large-data-set-of-usernames/17525)

<div class="topic-metadata">

**Author:** [@jordmax12](https://forum.serverless.com/u/jordmax12)\
**Replies:** 4\
**Last updated:** [August 21, 2022, 5:22pm UTC](https://forum.serverless.com/t/unique-item-from-large-data-set-of-usernames/17525 "2022-08-21T17:22:59Z")

</div>

So I’m just curious to see what people can think of in terms of a solution for the following problem: say we have a list of 1M+ random usernames that we’ve generated. We are grabbing these from an API at 12K per day. We…

---

## [Includes Java in a Python Lambda package](https://forum.serverless.com/t/includes-java-in-a-python-lambda-package/13957)

<div class="topic-metadata">

**Author:** [@rhsanet](https://forum.serverless.com/u/rhsanet)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 7:11pm UTC](https://forum.serverless.com/t/includes-java-in-a-python-lambda-package/13957 "2022-08-04T19:11:40Z")

</div>

I have a Python lambda in AWS that has as dependency tabulas, which requires Java 8+. Is there any way to includes Java in my package? I’m using Serverless framework to package my function and dependencies. { "errorMe…

---

## [API Rest with CRUD Entity generator for DynamoDB](https://forum.serverless.com/t/api-rest-with-crud-entity-generator-for-dynamodb/17403)

<div class="topic-metadata">

**Author:** [@guillemtp](https://forum.serverless.com/u/guillemtp)\
**Replies:** 0\
**Last updated:** [July 13, 2022, 2:29pm UTC](https://forum.serverless.com/t/api-rest-with-crud-entity-generator-for-dynamodb/17403 "2022-07-13T14:29:22Z")

</div>

Hi there! To speed up to set up a new microservice under API GW with Lambda to DynamoDB, is there any framework with some UI or CLI to generate the model entities and his data layer access? And also to reuse this entit…

---

## [Sub-domain routing set up on Front-end or Backend?](https://forum.serverless.com/t/sub-domain-routing-set-up-on-front-end-or-backend/17399)

<div class="topic-metadata">

**Author:** [@souravjamwal77](https://forum.serverless.com/u/souravjamwal77)\
**Replies:** 0\
**Last updated:** [July 12, 2022, 8:01am UTC](https://forum.serverless.com/t/sub-domain-routing-set-up-on-front-end-or-backend/17399 "2022-07-12T08:01:05Z")

</div>

Hi, we have a multi-tenant application running on docker/serverless architecture. Shall I do the sub-domain routing on Front-end (React) or Backend(Django)?

---

## [Auth0 Vs cognito](https://forum.serverless.com/t/auth0-vs-cognito/3160)

<div class="topic-metadata">

**Author:** [@kaiyes](https://forum.serverless.com/u/kaiyes)\
**Replies:** 22\
**Last updated:** [May 18, 2022, 9:53am UTC](https://forum.serverless.com/t/auth0-vs-cognito/3160 "2022-05-18T09:53:20Z")

</div>

Hi everyone ! Which one do you use and recommend for auth stuff? Auth0 Cognito 0 voters Show results

---

## [Getting raw event.body from API Gateway when specifying a JSON schema](https://forum.serverless.com/t/getting-raw-event-body-from-api-gateway-when-specifying-a-json-schema/15189)

<div class="topic-metadata">

**Author:** [@markhowell](https://forum.serverless.com/u/markhowell)\
**Replies:** 1\
**Last updated:** [May 9, 2022, 2:34pm UTC](https://forum.serverless.com/t/getting-raw-event-body-from-api-gateway-when-specifying-a-json-schema/15189 "2022-05-09T14:34:42Z")

</div>

I configured a JSON schema for an http endpoint and no longer receive the raw request string in event.body but instead receive a parsed object. This would normally be convenient to have a validated object, but the reques…

---

## [Why is there SQS in front of Lambda in this architecture diagram?](https://forum.serverless.com/t/why-is-there-sqs-in-front-of-lambda-in-this-architecture-diagram/15050)

<div class="topic-metadata">

**Author:** [@rashwinrao1993](https://forum.serverless.com/u/rashwinrao1993)\
**Replies:** 1\
**Last updated:** [May 9, 2022, 2:34pm UTC](https://forum.serverless.com/t/why-is-there-sqs-in-front-of-lambda-in-this-architecture-diagram/15050 "2022-05-09T14:34:11Z")

</div>

I am trying to learn how to build scalable serverless applications. I was following \[this blog post\]( Building a location-based, scalable, serverless web app – part 2 | AWS Compute Blog (amazon.com)) by AWS. I am at a lo…

---

## [Welcome! You are invited to join a webinar: Serverless re:Invent 2019 re:Cap. After registering, you will receive a confirmation email about joining the webinar](https://forum.serverless.com/t/welcome-you-are-invited-to-join-a-webinar-serverless-re-invent-2019-re-cap-after-registering-you-will-receive-a-confirmation-email-about-joining-the-webinar/10028)

<div class="topic-metadata">

**Author:** [@garethmcc](https://forum.serverless.com/u/garethmcc)\
**Replies:** 1\
**Last updated:** [December 11, 2019, 11:39pm UTC](https://forum.serverless.com/t/welcome-you-are-invited-to-join-a-webinar-serverless-re-invent-2019-re-cap-after-registering-you-will-receive-a-confirmation-email-about-joining-the-webinar/10028 "2019-12-11T23:39:12Z")

</div>

---

## [Lambda triggered by MSK (Kafka) from another AWS account](https://forum.serverless.com/t/lambda-triggered-by-msk-kafka-from-another-aws-account/16099)

<div class="topic-metadata">

**Author:** [@servernoj](https://forum.serverless.com/u/servernoj)\
**Replies:** 1\
**Last updated:** [April 20, 2022, 11:29pm UTC](https://forum.serverless.com/t/lambda-triggered-by-msk-kafka-from-another-aws-account/16099 "2022-04-20T23:29:22Z")

</div>

I have an ultimate goal of making Lambda triggered from Kafka topics while Kafka is an MSK cluster running on another AWS account. I started with SLS framework, but ended up trying things directly in AWS, so I guess it i…

---

## [Serverless Deploy validation error](https://forum.serverless.com/t/serverless-deploy-validation-error/17024)

<div class="topic-metadata">

**Author:** [@debarghya87](https://forum.serverless.com/u/debarghya87)\
**Replies:** 1\
**Last updated:** [April 18, 2022, 4:37pm UTC](https://forum.serverless.com/t/serverless-deploy-validation-error/17024 "2022-04-18T16:37:02Z")

</div>

Hi All, I am trying to deploy a function inside a vpc using the serverless deploy command. But while deploying I am getting the below serverless error. Serverless Error --------------------------------------- \*\* An …

---

## [Deploy API Gateway and Lambda in different Security Group](https://forum.serverless.com/t/deploy-api-gateway-and-lambda-in-different-security-group/16928)

<div class="topic-metadata">

**Author:** [@debarghya87](https://forum.serverless.com/u/debarghya87)\
**Replies:** 0\
**Last updated:** [March 22, 2022, 10:46pm UTC](https://forum.serverless.com/t/deploy-api-gateway-and-lambda-in-different-security-group/16928 "2022-03-22T22:46:19Z")

</div>

Hi All, Please bear with me as I have just stared working on serverless and I have many gaps in my understanding. I have created a lambda function and an API gateway and able to deploy it inside a VPC and same security…

---

## [Add existing Lambda to Cloudfront behaviour (Viewer Request)](https://forum.serverless.com/t/add-existing-lambda-to-cloudfront-behaviour-viewer-request/16904)

<div class="topic-metadata">

**Author:** [@james\_shcc](https://forum.serverless.com/u/james_shcc)\
**Replies:** 0\
**Last updated:** [March 17, 2022, 7:27am UTC](https://forum.serverless.com/t/add-existing-lambda-to-cloudfront-behaviour-viewer-request/16904 "2022-03-17T07:27:52Z")

</div>

I am trying to link an existing Lambda@Edge to the Viewer Request during the deploy. The Lambda does not change and is uesd on one stage for password protecting access to the site. Where can I add this behaviour in the …

---

## [Honest and good arguments to convince the organization to consider Serverless](https://forum.serverless.com/t/honest-and-good-arguments-to-convince-the-organization-to-consider-serverless/16899)

<div class="topic-metadata">

**Author:** [@jfbaro](https://forum.serverless.com/u/jfbaro)\
**Replies:** 0\
**Last updated:** [March 16, 2022, 7:56pm UTC](https://forum.serverless.com/t/honest-and-good-arguments-to-convince-the-organization-to-consider-serverless/16899 "2022-03-16T19:56:34Z")

</div>

Hi there, I would like to get help from the Serverless community on this one. Please! I also think this might be useful for many other professionals trying to introduce Serverless to their organizations. (I have worked …

---

## [Mix serveless and manual operations in AWS console](https://forum.serverless.com/t/mix-serveless-and-manual-operations-in-aws-console/10377)

<div class="topic-metadata">

**Author:** [@jfn0](https://forum.serverless.com/u/jfn0)\
**Replies:** 6\
**Last updated:** [August 17, 2020, 6:53pm UTC](https://forum.serverless.com/t/mix-serveless-and-manual-operations-in-aws-console/10377 "2020-08-17T18:53:06Z")

</div>

Hi friends! First of all, sorry if this question is off topics. Just point me where should write it instead and Ill do it. So. I bought this liveVideo on manning to learn more about Serverless framework. So far its su…

---

## [Serverless installation does not complete on windows10](https://forum.serverless.com/t/serverless-installation-does-not-complete-on-windows10/16607)

<div class="topic-metadata">

**Author:** [@GIVANILDO](https://forum.serverless.com/u/GIVANILDO)\
**Replies:** 0\
**Last updated:** [January 25, 2022, 5:18pm UTC](https://forum.serverless.com/t/serverless-installation-does-not-complete-on-windows10/16607 "2022-01-25T17:18:01Z")

</div>

installing serverless on windows10 with problem. Message appears with vulnerable files and does not complete the installation.

---

## [CloudFormation is waiting for NetworkInterfaces associated with the Lambda Function to be cleaned up](https://forum.serverless.com/t/cloudformation-is-waiting-for-networkinterfaces-associated-with-the-lambda-function-to-be-cleaned-up/16495)

<div class="topic-metadata">

**Author:** [@Tushar9885](https://forum.serverless.com/u/Tushar9885)\
**Replies:** 0\
**Last updated:** [January 7, 2022, 10:54am UTC](https://forum.serverless.com/t/cloudformation-is-waiting-for-networkinterfaces-associated-with-the-lambda-function-to-be-cleaned-up/16495 "2022-01-07T10:54:43Z")

</div>

I have a CloudFormation stack with Lambda function inside a VPC, When trying to delete the stack, the AWS CloudFormation gets stuck for 25-30 at least, I get the following message in the events - CloudFormation is wai…

---

## [Propagate parameters into Lambda](https://forum.serverless.com/t/propagate-parameters-into-lambda/14935)

<div class="topic-metadata">

**Author:** [@alper](https://forum.serverless.com/u/alper)\
**Replies:** 1\
**Last updated:** [December 6, 2021, 2:47pm UTC](https://forum.serverless.com/t/propagate-parameters-into-lambda/14935 "2021-12-06T14:47:17Z")

</div>

We see there is a way to inject parameters into Lambda on initialization as described in this post: Sharing Secrets with AWS Lambda Using AWS Systems Manager Parameter Store | AWS Compute Blog It’s not clear to me then …

---

## [Which Material Is Authentic SAA-C02 Exam?](https://forum.serverless.com/t/which-material-is-authentic-saa-c02-exam/16308)

<div class="topic-metadata">

**Author:** [@aimishmisha](https://forum.serverless.com/u/aimishmisha)\
**Replies:** 0\
**Last updated:** [November 29, 2021, 11:55am UTC](https://forum.serverless.com/t/which-material-is-authentic-saa-c02-exam/16308 "2021-11-29T11:55:42Z")

</div>

Hey! Amazonawsdumps providing SAA-C02 Exam Study Guide

---

## [We want your feedback! Join our private preview for Serverless Console](https://forum.serverless.com/t/we-want-your-feedback-join-our-private-preview-for-serverless-console/16195)

<div class="topic-metadata">

**Author:** [@hev](https://forum.serverless.com/u/hev)\
**Replies:** 0\
**Last updated:** [November 4, 2021, 4:56pm UTC](https://forum.serverless.com/t/we-want-your-feedback-join-our-private-preview-for-serverless-console/16195 "2021-11-04T16:56:06Z")

</div>

Today we’re announcing preview access to our Serverless Console. We’re looking for teams that are building and growing Serverless architecture to help us define the next generation of Serverless collaboration. Learn mor…

---

## [Best practice question: Serverless AWS Application for multiple developers](https://forum.serverless.com/t/best-practice-question-serverless-aws-application-for-multiple-developers/16153)

<div class="topic-metadata">

**Author:** [@amcleod83](https://forum.serverless.com/u/amcleod83)\
**Replies:** 0\
**Last updated:** [October 28, 2021, 10:26am UTC](https://forum.serverless.com/t/best-practice-question-serverless-aws-application-for-multiple-developers/16153 "2021-10-28T10:26:18Z")

</div>

tldr; Is there commonly used collaborative working solution to working with Serverless for AWS? I would like to set up an environment/application using serverless that can be worked on simultaneously by multiple develop…

---

## [Store generated user pool id into environment variable](https://forum.serverless.com/t/store-generated-user-pool-id-into-environment-variable/16114)

<div class="topic-metadata">

**Author:** [@alberdg81](https://forum.serverless.com/u/alberdg81)\
**Replies:** 3\
**Last updated:** [October 19, 2021, 11:14am UTC](https://forum.serverless.com/t/store-generated-user-pool-id-into-environment-variable/16114 "2021-10-19T11:14:35Z")

</div>

Hi All, I have a yml resources file which creates a cognito user pool. Then from another serverless.yml file need to store ther user pool id created into an environment variable called USER\_POOL\_ID. My cognito-user-poo…

---

## [Configuration warning for layers using 'artifact' attribute](https://forum.serverless.com/t/configuration-warning-for-layers-using-artifact-attribute/16084)

<div class="topic-metadata">

**Author:** [@roger-obando](https://forum.serverless.com/u/roger-obando)\
**Replies:** 0\
**Last updated:** [October 13, 2021, 8:39pm UTC](https://forum.serverless.com/t/configuration-warning-for-layers-using-artifact-attribute/16084 "2021-10-13T20:39:48Z")

</div>

I have been consistently getting a configuration error for my layers configuration. See here: layers: dependencies: name: !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:${self:service}-${opt:stage, 'd…

---

## [Serverless Aurora Schema](https://forum.serverless.com/t/serverless-aurora-schema/8561)

<div class="topic-metadata">

**Author:** [@connor](https://forum.serverless.com/u/connor)\
**Replies:** 4\
**Last updated:** [October 9, 2021, 9:00am UTC](https://forum.serverless.com/t/serverless-aurora-schema/8561 "2021-10-09T09:00:44Z")

</div>

Hello, I’ve recently started using Aurora Serverless and I have everything up and running in terms of infrastructure, but I’m having some issues when it comes to actually setting up the database itself. So, when my sta…

---

## [Going full cloud - seems like taking a step backwards](https://forum.serverless.com/t/going-full-cloud-seems-like-taking-a-step-backwards/16035)

<div class="topic-metadata">

**Author:** [@ChrisEdgington](https://forum.serverless.com/u/ChrisEdgington)\
**Replies:** 0\
**Last updated:** [October 7, 2021, 3:02am UTC](https://forum.serverless.com/t/going-full-cloud-seems-like-taking-a-step-backwards/16035 "2021-10-07T03:02:25Z")

</div>

I watched the “Enabling Serverless Teams” presentation today by the CEO of serverless. I was surprised by his suggestion to go “full cloud” when he was talking about development / debugging and whether or not to maintain…

---

## [How to improve template structure for faster deployment](https://forum.serverless.com/t/how-to-improve-template-structure-for-faster-deployment/16029)

<div class="topic-metadata">

**Author:** [@corin](https://forum.serverless.com/u/corin)\
**Replies:** 0\
**Last updated:** [October 6, 2021, 4:30pm UTC](https://forum.serverless.com/t/how-to-improve-template-structure-for-faster-deployment/16029 "2021-10-06T16:30:32Z")

</div>

Greetings, I’m looking for advice on how best to structure a growing project. We use API Gateway, Lambda, Step Functions, S3, and CloudWatch Events. We have a single REST API with each resource linked to a lambda. We…

---

## [AWS Serverless Diagaram](https://forum.serverless.com/t/aws-serverless-diagaram/15911)

<div class="topic-metadata">

**Author:** [@Dash](https://forum.serverless.com/u/Dash)\
**Replies:** 1\
**Last updated:** [September 14, 2021, 12:44pm UTC](https://forum.serverless.com/t/aws-serverless-diagaram/15911 "2021-09-14T12:44:46Z")

</div>

Hi Guys, I am a student who is interested in architecting a serverless diagaram. I am only used to creating the traditional 3 tier diagaram but I want to try out on serverless. I took on the project whereby I need to c…

---

## [How to check if cognito user pool with the given name exists](https://forum.serverless.com/t/how-to-check-if-cognito-user-pool-with-the-given-name-exists/14306)

<div class="topic-metadata">

**Author:** [@s1mrankaur](https://forum.serverless.com/u/s1mrankaur)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 9:23am UTC](https://forum.serverless.com/t/how-to-check-if-cognito-user-pool-with-the-given-name-exists/14306 "2021-07-06T09:23:13Z")

</div>

How can I check if a User pool with name “demo\_userpool” exists programmatically? This is assuming I only have the user pool name and not the ARN or ID . Use case: I have a lambda function that creates user pools and I …

---

## [GraphQL Microservice Architecture](https://forum.serverless.com/t/graphql-microservice-architecture/4399)

<div class="topic-metadata">

**Author:** [@jamiearonson](https://forum.serverless.com/u/jamiearonson)\
**Replies:** 14\
**Last updated:** [June 16, 2021, 8:38am UTC](https://forum.serverless.com/t/graphql-microservice-architecture/4399 "2021-06-16T08:38:44Z")

</div>

I’m working on a new GraphQL API within Serverless and would like to solicit the opinions from others on a good approach to architecting this project. For the sake of simplicity, let’s just focus two types (Users and Con…

---

## [How to ensure that user uses only one function with lambda auto scaling enabled](https://forum.serverless.com/t/how-to-ensure-that-user-uses-only-one-function-with-lambda-auto-scaling-enabled/13557)

<div class="topic-metadata">

**Author:** [@bebjakub](https://forum.serverless.com/u/bebjakub)\
**Replies:** 2\
**Last updated:** [June 7, 2021, 12:34am UTC](https://forum.serverless.com/t/how-to-ensure-that-user-uses-only-one-function-with-lambda-auto-scaling-enabled/13557 "2021-06-07T00:34:41Z")

</div>

Hello, I would like to use in-memory cache to store user data with lambda auto scale enabled. Is there a “sticky session” to ensure that user’ ll use only one clone of the function during session, pls? I’ll use a funct…

---

## [New to serverless - can someone clarify this please](https://forum.serverless.com/t/new-to-serverless-can-someone-clarify-this-please/13828)

<div class="topic-metadata">

**Author:** [@Arturo](https://forum.serverless.com/u/Arturo)\
**Replies:** 1\
**Last updated:** [June 4, 2021, 10:32pm UTC](https://forum.serverless.com/t/new-to-serverless-can-someone-clarify-this-please/13828 "2021-06-04T22:32:46Z")

</div>

Hi, I’ve been at it for 3 or 4 days, I’m exhausted and frustrated. While a simple deployment is easy, making a real application looks a little bit of a pain. Is there a way to create a simple Node.js app with Express.js …

[Previous page](https://forum.serverless.com/c/serverless-architectures/6.md)

[Next page](https://forum.serverless.com/c/serverless-architectures/6.md?page=2)
