---
title: How to Do Multi-Region AWS Serverless Deployments
description: Discover the essentials of optimizing Serverless Framework applications for a global audience with multi-region deployments with StratusGrid’s enhancements.
image: https://stratusgrid.com/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%201.webp
---

# An Easier Way to Do Multi-Region AWS Serverless Framework Deployments

Discover the essentials of optimizing Serverless Framework applications for a global audience with multi-region deployments with StratusGrid’s enhancements.

[ Clint Adams ](https://stratusgrid.com/blog/author/clint-adams)

 Dec 14, 2021

#### Other blogs you may be interested in:

[ Guard Duty Notifications Terraform Module ](https://stratusgrid.com/blog/guard-duty-notifications-terraform-module)

[ Config Rules Module on Terraform ](https://stratusgrid.com/blog/aws-config-rules-terraform-module)

[ Lambda Event Handler Service Discovery Sync Module on Terraform ](https://stratusgrid.com/blog/aws-lambda-event-handler-service-discovery-sync-terraform-module)

### Share this article

<http://www.facebook.com/share.php?u=https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=facebook> <http://www.linkedin.com/shareArticle?mini=true&url=https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=linkedin> <https://twitter.com/intent/tweet?original_referer=https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=twitter&url=https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=twitter&source=tweetbutton&text=> [mailto:?subject=Check%20out%20https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=email%20&body=Check%20out%20https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=email](mailto:?subject=Check%20out%20https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=email%20&body=Check%20out%20https://stratusgrid.com/blog/multi-region-serverless-framework-deployments&utm_medium=social&utm_source=email)

### Subscribe

### Subscribe

![An Easier Way to Do Multi-Region AWS Serverless Framework Deployments](https://stratusgrid.com/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%201.webp)

How to Do Multi-Region AWS Serverless Deployments

3:57

## The Need for Multi-Region Deployments

Until recently, deploying your Serverless Framework application in multiple regions was a somewhat difficult process involving a lot of custom CloudFormation. However, StratusGrid recently submitted changes to serverless-domain-manager that make it much simpler.

The following architecture can be created with simple configuration changes:

![An Easier Way to Do Multi-Region AWS Serverless Framework Deployments 2](https://stratusgrid.com/hs-fs/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%202.webp?width=603&height=576&name=An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%202.webp)

 

## Why Are Multi-region Deployments Important?

Serverless Framework deployments are generally created in a single region in Amazon Web Services (AWS). This may work if you are only targeting a single part of the world, but if your application is intended for a global audience, your response time can be unacceptably long for users who are far away from your deployment region. A multi-region deployment with latency-based routing can reduce response times from multiple seconds to double-digit milliseconds!

Multi-region deployments are also great from a disaster recovery and redundancy perspective. Automated health checks and a failover policy can be configured to achieve an active-active setup that can fail over between regions in the event of any issue. 

This is particularly useful for situations such as the [** us-east-1 outage on December 7, 2021 ** ](https://www.cnbc.com/2021/12/07/amazon-web-services-outage-causes-issues-at-disney-netflix-coinbase.html) , where services were unavailable for nearly 8 hours in us-east-1, while other regions remained unaffected.

## Lambdas in Multi-Region Deployments

Lambdas are well suited for multi-region deployments because they can easily scale and adapt to varying traffic patterns without incurring unnecessary costs. Operating within the pay-as-you-go model makes them much more economically appealing than other computing options - they can result in wasted and idle resources.

### Implementing Multi-Region Deployments With serverless-domain-manager

At StratusGrid, we use the popular (and excellent) plug-in [** serverless-domain-manager **](https://github.com/amplify-education/serverless-domain-manager)to create the custom domain and Route 53 records. We recently submitted[** a change ** ](https://github.com/amplify-education/serverless-domain-manager/pull/439) to the repository that makes it possible to perform multi-region deployments with minimal configuration changes.

To get started, add the serverless-domain-manager configuration to your `serverless.yaml` file as usual. The only difference is that you now add a `route53Params` structure with a `routingPolicy: latency` property.

![An Easier Way to Do Multi-Region AWS Serverless Framework Deployments 3](https://stratusgrid.com/hs-fs/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%203.webp?width=261&height=261&name=An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%203.webp)

Then update your deployment process to deploy to multiple regions:

![An Easier Way to Do Multi-Region AWS Serverless Framework Deployments 4](https://stratusgrid.com/hs-fs/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%204.webp?width=363&height=73&name=An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%204.webp)

Example

Check out [** this github repository ** ](https://github.com/clintadams-sg/serverless-multi-region-demo) for an example of a multi-region project.

### Results

We can demonstrate latency reductions by creating a simple lambda from the demo [** repository ** ](https://github.com/clintadams-sg/serverless-multi-region-demo) and deploying it to a single region. In this case, I deployed it to ap-southeast-1, which is far away from my machine located in the eastern United States. Making 10 requests I get the following total response times in seconds:

![An Easier Way to Do Multi-Region AWS Serverless Framework Deployments 5](https://stratusgrid.com/hs-fs/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%205.webp?width=639&height=334&name=An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%205.webp)

Deploying the same project again in us-east-1, I get these response times with the exact same domain:

![An Easier Way to Do Multi-Region AWS Serverless Framework Deployments 6](https://stratusgrid.com/hs-fs/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%206.webp?width=639&height=357&name=An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%206.webp)

Deploying your Serverless Framework applications in multiple regions is a cost-effective and easy way to improve your users’ experience while increasing your application’s resiliency. We encourage you to consider this pattern for all of your Serverless deployments.

## StratusGrid Can Help With Multi-region Deployments

Embrace the future of application deployment with StratusGrid's expertise in multi-region serverless frameworks. Ensure your application delivers optimal performance worldwide, reducing latency and enhancing user experience, while bolstering disaster recovery and redundancy. Our enhancements to serverless-domain-manager simplify the deployment process, allowing you to focus on innovation rather than infrastructure.

[Contact us today](https://stratusgrid.com/book-a-consultation?hsLang=en) to elevate your serverless applications to a global scale with our proven multi-region deployment strategies.

## BONUS: Find Out if Your Organization is Ready for The Cloud ⤵️

[![FinOps](https://stratusgrid.com/hs-fs/hubfs/FinOps.webp?width=1280&height=720&name=FinOps.webp)](https://stratusgrid.com/cloud-maturity-assessment-quiz)

## Similar posts

<https://stratusgrid.com/blog/guard-duty-notifications-terraform-module>

Modernization

### [Guard Duty Notifications Terraform Module](https://stratusgrid.com/blog/guard-duty-notifications-terraform-module)

Stay ahead of security threats with StratusGrid's Guard Duty Notifications Terraform Module. Instant alerts for enhanced AWS security monitoring and...

 StratusGrid  Feb 5, 2024

<https://stratusgrid.com/blog/aws-config-rules-terraform-module>

Modernization

### [Config Rules Module on Terraform](https://stratusgrid.com/blog/aws-config-rules-terraform-module)

Streamline AWS compliance with StratusGrid's Config Rules Terraform module, offering security policy enforcement for your AWS accounts.

 StratusGrid  Dec 11, 2023

<https://stratusgrid.com/blog/aws-lambda-event-handler-service-discovery-sync-terraform-module>

Modernization

### [Lambda Event Handler Service Discovery Sync Module on Terraform](https://stratusgrid.com/blog/aws-lambda-event-handler-service-discovery-sync-terraform-module)

Automate AWS service discovery sync with StratusGrid's Lambda Event Handler module, ensuring efficient, reliable cloud service management.

 StratusGrid  Jan 5, 2024

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Clint Adams",
    "url" : "https://stratusgrid.com/blog/author/clint-adams"
  },
  "dateModified" : "2024-09-04T15:48:29.062Z",
  "datePublished" : "2021-12-14T05:00:00.000Z",
  "headline" : "How to Do Multi-Region AWS Serverless Deployments",
  "image" : [ "https://stratusgrid.com/hubfs/An%20Easier%20Way%20to%20Do%20Multi-Region%20AWS%20Serverless%20Framework%20Deployments%201.webp" ],
  "mainEntityOfPage" : {
    "@id" : "https://stratusgrid.com/blog/multi-region-serverless-framework-deployments",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://stratusgrid.com/hubfs/Vertical%20Black.png"
    },
    "name" : "StratusGrid"
  }
}
```

```json
{
  "@context" : "https://schema.org/",
  "@type" : "Product",
  "aggregateRating" : {
    "@type" : "AggregateRating",
    "bestRating" : "5",
    "ratingCount" : "1",
    "ratingValue" : "5",
    "reviewCount" : "1",
    "worstRating" : "0"
  },
  "brand" : {
    "@type" : "Brand",
    "name" : "StratusGrid"
  },
  "description" : "StratusGrid, a premier AWS Consulting Partner, specializes in AWS cloud migration, modernization, stabilization, and cloud cost optimization services.",
  "image" : "https://stratusgrid.com/",
  "name" : "StratusGrid",
  "review" : {
    "@type" : "Review",
    "author" : {
      "@type" : "Person",
      "name" : "G2"
    },
    "datePublished" : "2024-01-21",
    "name" : "G2 User",
    "publisher" : {
      "@type" : "Organization",
      "name" : "G2"
    },
    "reviewBody" : "Great Customer Service and Extremely Knowledgable Team",
    "reviewRating" : {
      "@type" : "Rating",
      "bestRating" : "5",
      "ratingValue" : "5",
      "worstRating" : "0"
    }
  }
}
```