Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 2.15 KB

File metadata and controls

53 lines (31 loc) · 2.15 KB

Network Next


Disable the raspberry clients

The clients in the portal are test clients called "raspberry clients", because when we first developed Network Next, we ran hundreds of test clients around the world on raspberry pi's in people's homes.

As we move forward, we don't want these fake clients running anymore. We only want real clients in the portal.

To do this, open the file terraform/dev/terraform.tfvars and set "disable_raspberry" to true:

disable raspberry

Commit your changes to the git repository:

git commit -am "disable raspberry"
git push origin

Then push a tag to trigger a deploy to dev:

git tag dev-003
git push origin dev-003

This process is how you deploy any code or configuration change to the dev backend.

  1. Commit the change and push to origin
  2. Tag dev-[n+1]
  3. Push the tag to origin

The code at the tag is then automatically built and deployed to the dev environment with terraform.

While the deploy is running you can go to "Instance Groups" in google cloud, and watch the deploy.

during deploy

Notice that each instance template name with "002" is being replaced with "003".

When the deploy completes, you'll see the various "raspberry_*" instance groups now have 0 VM instances each.

The raspberry test server, clients and backend are now disabled.

after deploy

Go to your portal and you see that the raspberry clients are no longer running.

no sessions

Up next: Connect a client to the test server.