Author: John Rotach
Read Time: 7 Minutes

- Things you’ll need… to be successful.
- Uh oh! I’m out of GPUs.
- Yes! Extra capacity.
- Adding a GPU to your Juice Pool.
- Let’s Go!
Things you’ll need… to be successful
Here are some prerequsites for completing this tutorial:- Juice system requirements: You will need to use Windows 10/11 or Debian-based distributions of Linux on version 11 and greater, such as Ubuntu 20.04 and greater.
- Install the Juice CLI App. CLI App Installation documentation.
- Log in to the Juice CLI App. CLI App documentation.
- A credit card for renting a GPU.
Uh oh! I’m out of GPUs
Log in to the Juice console at https://app.juicelabs.co/ or use your terminal to run the juicegpu list
command to see how many GPUs are in your pool. Currently, we have two.

Yes! We found extra capacity
Log in and rent an on-demand GPU instance from GPU trader to find additional capacity and add it to our Juice Pool. To find an instance:- Navigate to https://console.gputrader.io
- Click “Sign in” at the bottom left of the console to create a GPU Trader account or log in if you already have one.
- Browse the inventory, using the “Filters” to find the GPU that fits your requirements. Hint: Available inventory is highlighted in “Green,” and inventory that has been rented is highlighted in “Gray.”

- Click the “Price/hr” button to rent the instance. Users can choose the number of cards with which they want to configure the instance. After reviewing the configuration, click “Continue” to enter payment information. If you have rented before, your payment information is saved, and you will proceed directly to the instance configuration step.

Adding a GPU to your Juice Pool
If you made it this far, you have successfully rented a GPU! Now we can configure the instance with the Juice Agent and add it to your Juice Pool. Click “Add Stack” on your instance configuration page.

JUICE_TOKEN
and JUICE_POOL
. The GPU Trader platform will automatically add the JUICE_HOST_IP
using ${EXTERNAL_IP}
.

JUICE_TOKEN
: Generate the Machine-to-Machine token from your terminal using the following command:

JUICE_POOL
: In your terminal, run the command juice pool ls to list your pool IDs. Copy the ID of the pool you wish to use and paste it into the environment variable “Value.”
Example output:


JUICE_TOKEN
and JUICE_POOL
, click “Use Template” to instantiate the stack on your instance. Once it is complete, it should look like this:
You did it! You’ve added eight more GPUs to your pool.
Let’s Go!
To verify the GPUs are in your pool, you can log in to the Juice console or use the terminal to run thejuice gpu list
command. You can see that we now have eight GPUs available in our pool.

