Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 2.05 KB

File metadata and controls

46 lines (27 loc) · 2.05 KB

Network Next


Move test server to Sao Paulo

Edit the file terraform/dev/backend/terraform.tfvars and make the following changes:

change test server region and zone

Commit the changes:

git commit -am "change test server zone to sao paulo"
git push origin

Tag a new dev release:

git tag dev-004
git push origin dev-004

When the deploy succeeds, click on the "Servers" in the portal, and you should see the test server is now running in Sao Paulo:

test server in sao paulo portal

Let's SSH into the test server and run sudo journalctl -fu server to view its log:

ssh into test server in sao paulo

The test server log shows that the server is autodetecting that it's running in google.saopaulo.1, but it cannot find any server relays:

server relays not found

Because of this you can connect a test client to the Sao Paulo datacenter and it will connect fine, but it will not be accelerated.

Network Next requires two things before it can accelerate traffic to a server running in a datacenter:

  1. The buyer must have acceleration enabled for the datacenter
  2. There must be at least one relay in the same datacenter as the server

In the next steps, we're going to enable acceleration for Sao Paulo for the test buyer, and then we'll spin up some google cloud relays in Sao Paulo to act as server relays.

Up next: Enable acceleration to Sao Paulo.