Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.59 KB

File metadata and controls

60 lines (39 loc) · 1.59 KB

Network Next


Enable acceleration to Sao Paulo

Each buyer has a set of datacenters that are enabled for acceleration.

By default the test buyer is setup so that the following datacenters are accelerated:

  • google.iowa.1
  • google.iowa.2
  • google.iowa.3
  • google.iowa.6

In this section we're going to enable acceleration for these datacenters as well:

  • google.saopaulo.1
  • google.saopaulo.2
  • google.saopaulo.3

First, open the file terraform/dev/relays/terraform.tfvars and make the following change:

add sao paulo datacenters for test buyer

Commit the change:

git commit -am "add sao paulo datacenters for test buyer"
git push origin

Apply the change via terraform:

cd ~/next/terraform/dev/relays
terraform apply

Commit the database to make the changes active in the backend:

cd ~/next
next database
next relays

Verify the change by running:

next database

And you should now see that the test buyer is active for both "ohio" and "saopaulo" google datacenters:

destination datacenters

Next, we will spin up some google relays in Sao Paulo.

Up next: Modify set of google relays.