You need an account to deploy: create a free account first. If you would rather be guided, Quick start in the console picks the GPU and template for what you want to do; see Your first GPU server in 5 minutes.
What you need
- Enough credit for at least one hour of the server (compute plus disk). The review step tells you if you are short.
- An SSH key, if the template starts in SSH mode. Jupyter and web app templates can run without one.
Steps
Go to Deploy in the console. The wizard has four steps.
1. Choose a GPU
- Search by GPU name, or filter by tier, GPU memory, number of GPUs per server and maximum price per hour.
- Leave Show available GPUs only on to hide anything that is out of stock.
- Select a configuration. Prices are per hour while the server runs, and are billed by the second.
See Prices and availability for how to read the list.
2. Choose a template
Pick a category or search. A template that needs more GPU memory than your GPU has is marked, and cannot be used with it. See Templates. A card can also list Also needs items, such as a minimum of RAM, disk or CUDA version. A GPU that does not meet them shows This plan does not meet.
3. Configure
- Server name: 1 to 60 characters. Only your team sees it, and you can change it later.
- Disk size: the slider shows the minimum and maximum. Disk storage is charged per GB per hour, also while the server is stopped.
- SSH keys: choose one or more. A template in SSH mode needs at least one. You can add a key without leaving the wizard.
- Environment variables: optional. See Environment variables.
- Advanced: shows the start script and the ports of the template. They are read only here. To change them, make your own template.
4. Review and request
The review step shows your choices, the cost per hour, and estimates per day and per month. The estimates assume the server runs all the time. You pay only while it runs, by the second.
Select Start my server. The hourly price is locked at that moment.
Price options and extras
The Review step also offers these choices:
- Price: On-demand runs until you stop it and is never paused by demand. Interruptible costs less, but the server can be paused when demand rises. See Interruptible servers.
- Also accept other GPUs: choose up to two alternative plans. If the first has no capacity when we launch, we try them in order. You agree to pay up to the highest hourly price among the plans you choose. Not offered with an interruptible price or a mounted volume.
- Allow this server to stop itself: adds the variable
GPU_SERVER_KEY. A job on the server can use it to stop or destroy only this server and to readGET /api/v1/me. It does nothing else and stops working when the server is destroyed. See the API reference. - Browser terminal: reserves one extra port and runs a terminal on the server itself. Open it from the Connect tab of the server, in a new browser tab. A password generated for this server protects it; copy it from that tab (it is never part of the address). The page is served by the server over HTTPS with a certificate the server makes for itself, so your browser shows a security warning the first time: the connection is encrypted, but the browser cannot verify who it is talking to, so use SSH for sensitive work. The terminal is a root shell and needs a start script (templates that run the image's own command cannot have it). If it cannot start, for example because the image has no
curloropenssl, the server still starts normally and the tab says the terminal is not answering.- Sessions: when the server's image has
tmux, the terminal keeps your session running when you close or reload the tab; open it again to continue with the same output and running commands. Scroll with the mouse wheel for earlier output, and hold Shift (Option on a Mac) to select text. A session shows in one tab at a time, so opening it in a second tab moves it there. New session opens a separate one. Up to 8 sessions are kept: opening more closes the least recently used extra one (the first,main, is never closed this way). Over SSH,tmux -L web attach -t mainjoins the same session. Withouttmux, every tab starts a new shell, which keeps running after the tab closes until the server stops. - Signing out: signing out of the console does not sign you out of the terminal. Your browser stays signed in to it until you quit the browser, and anyone with the password has a root shell. The password stays the same for the life of the server, including stops and restarts; to change it, launch a new server.
- On a phone: the page fits the screen and adds a row of keys a phone keyboard lacks: Esc, Tab, Ctrl-C and the arrows.
- Sessions: when the server's image has
Variables every server gets
GPU_SERVER_ID: the id of this server, the same as in the console and the API.GPU_COUNTandGPU_MODEL: how many GPUs and which model.GPU_SERVER_REGION: the broad region of the machine:na,eu,aporother.- They are read-only: you cannot set a variable with one of these names.
The API address is https://apidly.com/api/v1; set it in your own script.
What you should see
A progress screen with three steps: Request sent, Preparing your server and Running. It usually takes a few minutes, and you can leave the page. When the server runs, the screen shows the SSH command, or you can open the server for app links. A few templates take longer on their first start, between about 6 and 25 minutes. The progress screen says so before you wait. When the server is running, the Connect tab shows how to sign in to the template's app under Sign in with: a user name and password, an access token or an API key, created for this server and hidden until you reveal it. Some apps have no sign-in of their own, and the tab says so.
If our team reviews the request first, the screen says Request received and we email you when it is approved or declined. You are not charged until the server starts. See Why was my request reviewed?.
Common problems
| What you see | What it means |
|---|---|
| The price changed | The price moved while you were choosing. Nothing was charged. Select Continue at the new price if you accept it. |
| That GPU just sold out or No capacity for this GPU right now | Choose another GPU. Nothing was charged. |
| Your balance is too low | Add credit, then return to the wizard. |
| Too many requests are waiting for review | You can have up to 5 requests waiting. Wait for a decision or cancel one on the Servers page. |
| You reached the server limit | A new organization can run up to 3 servers at once until 7 days after its first approved server, and 10 after that, by default. Servers that are stopped or in error do not count. Stop or delete one, or ask support to change the limit. |
| This organization is suspended | Contact support. |
More fixes are in If a server fails to start.
Next
Ready to try it?
Create a free account and add credit when you want to start a server. The smallest top-up is $10.
Was this helpful?