Gradient Docs
Gradient HomeHelp DeskCommunitySign up free
1.0.0
1.0.0
  • About Paperspace Gradient
  • Get Started
    • Quick Start
    • Core Concepts
    • Install the Gradient CLI
    • Common Errors
  • Tutorials
    • Tutorials List
      • Getting Started with Notebooks
      • Train a Model with the Web UI
      • Train a Model with the CLI
      • Advanced: Distributed training sample project
      • Registering Models in Gradient
      • Using Gradient Deployments
      • Using Custom Containers
  • Notebooks
    • Overview
    • Using Notebooks
      • The Notebook interface
      • Notebook metrics
      • Share a Notebook
      • Fork a Notebook
      • Notebook Directories
      • Notebook Containers
        • Building a Custom Container
      • Notebook Workspace Include Files
      • Community (Public) Notebooks
    • ML Showcase
    • Run on Gradient (GitHub badge)
  • Projects
    • Overview
    • Managing Projects
    • GradientCI
      • GradientCI V1 (Deprecated)
  • Workflows
    • Overview
      • Getting Started with Workflows
      • Workflow Spec
      • Gradient Actions
  • Experiments
    • Overview
    • Using Experiments
      • Containers
      • Single-node & multi-node CLI options
      • Experiment options
      • Gradient Config File
      • Environment variables
      • Experiment datasets
      • Git Commit Tracking
      • Experiment metrics
        • System Metrics
        • Custom Metrics
      • Experiment Logs
      • Experiment Ports
      • GradientCI Experiments
      • Diff Viewer
      • Hyperparameter Tuning
    • Distributed Training
      • Distributed Machine Learning with Tensorflow
      • Distributed Machine Learning with MPI
        • Distributed Training using Horovod
        • Distributed Training Using ChainerMN
  • Jobs
    • Overview
    • Using Jobs
      • Stop a Job
      • Delete a Job
      • List Jobs
      • Job Logs
      • Job Metrics
        • System Metrics
        • Custom Metrics
      • Job Artifacts
      • Public Jobs
      • Building Docker Containers with Jobs
  • Models
    • Overview
    • Managing Models
      • Example: Prepare a TensorFlow Model for Deployments
      • Model Path, Parameters, & Metadata
    • Public Models
  • Deployments
    • Overview
    • Managing Deployments
      • Deployment Containers
        • Custom Deployment Containers
      • Deployment States
      • Deployment Logs
      • Deployment Metrics
      • A Deployed Model's API Endpoint
        • Gradient + TensorFlow Serving
      • Deployment Autoscaling
      • Optimize Models for Inference
  • Data
    • Types of Storage
      • Managing Data in Gradient
        • Managing Persistent Storage with VMs
    • Storage Providers
    • Versioned Datasets
    • Public Datasets Repository
  • TensorBoards
    • Overview
    • Using Tensorboards
      • TensorBoards getting started with Tensorflow
  • Metrics
    • Metrics Overview
    • View and Query Metrics
    • Push Metrics
  • Secrets
    • Overview
    • Using Secrets
  • Gradient SDK
    • Gradient SDK Overview
      • Projects Client
      • Experiments Client
      • Models Client
      • Deployments Client
      • Jobs Client
    • End to end tutorial
    • Full SDK Reference
  • Instances
    • Instance Types
      • Free Instances (Free Tier)
      • Instance Tiers
  • Gradient Cluster
    • Overview
    • Setup
      • Managed Private Clusters
      • Self-Hosted Clusters
        • Pre-installation steps
        • Gradient Installer CLI
        • Terraform
          • Pre-installation steps
          • Install on AWS
          • Install on bare metal / VMs
          • Install on NVIDIA DGX
        • Let's Encrypt DNS Providers
        • Updating your cluster
    • Usage
  • Tags
    • Overview
    • Using Tags
  • Machines (Paperspace CORE)
    • Overview
    • Using Machines
      • Start a Machine
      • Stop a Machine
      • Restart a Machine
      • Update a Machine
      • Destroy a Machine
      • List Machines
      • Show a Machine
      • Wait For a Machine
      • Check a Machine's utilization
      • Check availability
  • Paperspace Account
    • Overview
    • Public Profiles
    • Billing & Subscriptions
    • Hotkeys
    • Teams
      • Creating a Team
      • Upgrading to a Team Plan
  • Release Notes
    • Product release notes
    • CLI/SDK Release notes
Powered by GitBook
On this page
  1. Machines (Paperspace CORE)

Using Machines

PreviousOverviewNextStart a Machine

Last updated 4 years ago

Create a Machine

The steps below describe how to Create a new Machine via the UI.

Navigate to the Machines page and click "New Machine +" at the top-right:

This will take you to the Machine Create page.

There, select the Region where you want your Machine to reside:

Choose the OS for your Machine:

Toggle whether you want your Machine to bill hourly or monthly, and select your Machine type depending on your desired CPU or GPU:

Select the amount of Storage you want:

You can then specify how many of these Machines you want to create, and type in a name for each of them by clicking the input field that says New Machine 1 below, for example.

Note that you can also click "Assign Machine" to assign that machine to a particular user on your team, if you are on a team:

Then choose a Network if desired:

Toggle whether you want Auto-Shutdown, Auto Snapshot, and Public IP.

If Auto-Snapshot is enabled, then select the period of time after which auto-shutdown should occur. This is useful, for example, in order to avoid being billed for machine time that you aren't using your Machine but may have forgotten to turn it off.

If Auto Snapshot is enabled, then select the frequency at which you want a snapshot of your Machine to be created and persisted. This is useful in order to ensure that you have a regular backup of your Machine.

If Public IP is enabled, your Machine will be assigned a single static address. This is useful, for example, if you are using your Machine as a persistent server or for a web app.

Finally, click Create Your Paperspace to create your Machine. You will see the amount you'll initially be billed (for Storage) as well as the ongoing hourly or monthly cost for the Machine. You can also apply any Promo Code and verify your credit card information before doing so.

Et voilà! Your Machine will spin up in the background, and you'll see it appear back on the Machines list page.

Note that there are additional capabilities to those available in the Web UI that are accessible via the CLI/API, such as machine startup scripts, so be sure to check out the CLI toggle for this section for more information.

Usage:

gradient machines create [OPTIONS]

Create a new Paperspace virtual machine. If you are using an individual account, you will be assigned as the owner of the machine. If you are a team administrator, you must specify the user that should be assigned to the machine, either by specifying a user id, or by providing an email address, password, first name and last name for the creation of a new user on the team.

Parameters:

Name

Description

region [CA1|NY2|AMS1]

Name of the region (required)

machineType [Air|Standard|Pro|Advanced|GPU+|P4000|P5000|

P6000|V100|C1|C2|C3|C4|C5|C6|C7|C8|C9|C10]

Machine type (required), pick one

size (INTEGER)

Storage size for the machine in GB (required)

billingType [monthly|hourly]

Either monthly or hourly billing (required)

machineName

A name for this machine (required)

templateId

Template id of the template to use for creating this machine (required)

assignPublicIp

Assign a new public ip address on machine creation. Cannot be used with dynamicPublicIp

dynamicPublicIp

Assigns a new public ip address on machine start and releases it from the account on machine stop. Cannot be used with assignPublicIp

networkId (TEXT)

If creating on a specific network, specify its id

teamId (TEXT)

If creating the machine for a team, specify the team id

userId (TEXT)

If assigning to an existing user other than yourself, specify the user id (mutually exclusive with email, password, firstName, lastName)

email (TEXT)

If creating a new user for this machine, specify their email address (mutually exclusive with userId)

password (TEXT)

If creating a new user, specify their password (mutually exclusive with userId)

firstName (TEXT)

If creating a new user, specify their first name (mutually exclusive with userId)

lastName (TEXT)

If creating a new user, specify their last name (mutually exclusive with userId)

notificationEmail (TEXT)

Send a notification to this email address when complete

scriptId (TEXT)

The script id of a script to be run on startup. See for more info on using scripts

the Script Guide