• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
Allan Chua

Shared AWS API Gateway with multiple Node Lambdas

by

A sample of implementing shared API gateway with multiple Node Lambdas

  1. Shared AWS API Gateway with multiple Node Lambdas

Shared AWS API Gateway

Working on production projects would often require the usage of a shared API gateway between multiple Lambda functions. This repository showcases how to deploy multiple Lambda functions that are attached on a single API gateway.

Add execution permission to CI deploy + decomission scripts.

chmod +x .\ci-deploy.sh
chmod +x .\ci-decomission.sh

Configure your AWS Deployment Account

Provide an AWS account that have sufficient access so that serverless can deploy the stack.

serverless config credentials --provider aws --key YOUR_AWS_ACCESS_KEY --secret YOUR_AWS_SECRET_KEY

Deploying the API Gateway + Lambda Stack

To deploy the

.\ci-deploy

Decomission all resources

.\ci-decomission

Contents

  • Shared AWS API Gateway
  • Add execution permission to CI deploy + decomission scripts.
  • Configure your AWS Deployment Account
  • Deploying the API Gateway + Lambda Stack
  • Decomission all resources

Related

GuidesPluginsExamplesSlack CommunitySupport