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.

Instance Operations

Create Instance

You need to export TOKEN.

List Instances

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

You need to export TOKEN:

Get Logs for Instance

Delete Instance

Volume Operations

Create Volume

List Volumes

Delete Volume

Attach Volume

Detach Volume

Last updated

Was this helpful?