Ops
  • Introduction
  • Getting Started
  • Basic Usage
  • Configuration
  • Examples
  • Images
  • Instances
  • Volumes
  • Networking
  • Packages
  • Klibs
  • GPU
  • Hardware Acceleration
  • Clouds
    • Azure
    • AWS
    • Digital Ocean
    • Google Cloud Integration
    • IBM
    • Linode
    • OCI
    • UpCloud
    • Vultr
  • Hypervisors
    • Bhyve
    • Compose
    • Docker
    • Firecracker
    • OpenVMM
    • Hyper-V
    • Onprem
    • OpenStack
    • ProxMox
    • Virtual Box
    • VSphere
    • WorkStation
    • Terraform
    • Kubernetes
    • Bare Metal
    • Integrations
    • Debugging
    • CrossBuilding
    • MacOS
    • Deploy
    • FAQ
    • Benchmarking
  • Tools
    • Visual Studio Code Extension
  • Developer
    • Env Setup
    • Install from Source
Powered by GitBook
On this page
  • Pre-requisites
  • Image Operations
  • Create Image
  • List Images
  • Delete Image
  • Instance Operations
  • Create Instance
  • List Instances
  • Get Logs for Instance
  • Delete Instance
  • Volume Operations
  • Create Volume
  • List Volumes
  • Delete Volume
  • Attach Volume
  • Detach Volume

Was this helpful?

  1. Clouds

Linode

OPS has support for creating unikernel images and deploying them as instances to Linode.

Pre-requisites

Create a token and export it:

$ export TOKEN="somethinguniqueandrandom"

Image Operations

Create Image

$ ops image create -t linode <program> -c config.json

List Images

You can list existing images on Linode with ops image list.

$ ops image list -t linode
+--------------------+--------+-------------------------------+
|        NAME        | STATUS |            CREATED            |
+--------------------+--------+-------------------------------+
| nanos-main-image   | READY  | 2019-03-21T15:06:17.567-07:00 |
+--------------------+--------+-------------------------------+
| nanos-node-image   | READY  | 2019-04-16T23:16:03.145-07:00 |
+--------------------+--------+-------------------------------+
| nanos-server-image | READY  | 2019-03-21T15:50:04.456-07:00 |
+--------------------+--------+-------------------------------+

Delete Image

ops image delete <imagename> can be used to delete an image from Linode.

$ ops delete image -t linode nanos-main-image

Instance Operations

Create Instance

You need to export TOKEN.

$ export TOKEN=<token>
$ ops instance create <image_name> -t linode -c config.json

List Instances

You can list instance on Linode using ops instance list command.

You need to export TOKEN:

$ export TOKEN=token
$ ops instance list -t linode
+-----------------------------+---------+-------------------------------+-------------+--------------+
|            NAME             | STATUS  |            CREATED            | PRIVATE IPS |  PUBLIC IPS  |
+-----------------------------+---------+-------------------------------+-------------+--------------+
| nanos-main-image-1556601450 | RUNNING | 2019-04-29T22:17:34.609-07:00 | 10.240.0.40 | 34.83.204.40 |
+-----------------------------+---------+-------------------------------+-------------+--------------+

Get Logs for Instance

Delete Instance

Volume Operations

Create Volume

List Volumes

Delete Volume

Attach Volume

Detach Volume

PreviousIBMNextOCI

Last updated 1 year ago

Was this helpful?