Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Multiple Regions Support

Lida Li edited this page Jul 9, 2017 · 2 revisions

If you have instances crossing different AWS regions, the solution is to have multiple worker processes running and each worker is only responsible for one region.

First, terraform file can be configured to a specific region to create the support infrastructure:

soundwaveaws.tf

provider "aws" {
  access_key = "<<Your Access Key>>"
  secret_key = "<<Your Secret Key>>"
  region     = "<<Your AWS Region>>"
} 

Second, the properties file of the worker should point the right region and SQS queue:

update_queue=<Enter soundwave-events queue url here>
aws_region=us-east-1
Clone this wiki locally