Edit the file terraform/dev/backend/terraform.tfvars and make the following changes:
Commit the changes:
git commit -am "change test server zone to sao paulo"
git push originTag a new dev release:
git tag dev-004
git push origin dev-004When the deploy succeeds, click on the "Servers" in the portal, and you should see the test server is now running in Sao Paulo:
Let's SSH into the test server and run sudo journalctl -fu server to view its log:
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:
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:
- The buyer must have acceleration enabled for the datacenter
- 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.
