UpCloud
Ops can integrate with your existing UpCloud account. You can use Ops CLI to create and upload an image in UpCloud account. Once, you have uploaded image, you can also create an instance with a particular image using CLI.
Pre-requisites
Create an UpCloud account (https://upcloud.com/signup/).
Set next environment variables.
Note: Check the available zones in Upcloud Documentation.
You also need to enable API access:
Image Operations
Images for UpCloud are created by directly creating storage through the api not by uploading to a bucket.
Create Image
You can create an image in UpCloud with the following command.
Note: Creating an image can take a while in certain regions. There is a default timeout of 10min but can be adjusted via https://github.com/nanovms/ops/blob/master/provider/upcloud/upcloud.go#L68 . You can see the status live via https://hub.upcloud.com/storage/devices as well.
For creating an image using a particular package, you need to provide the package name to ops image create
command with -p
option.
List Images
You can list existing images on Upcloud with ops image list -t upcloud
.
Delete Image
ops image delete <imagename>
can be used to delete an image from UpCloud.
Instance Operations
Create Instance
After the successful creation of an image in UpCloud, we can create an instance from an existing image.
List Instances
You can list instance on UpCloud using ops instance list
command.
Get Logs for Instance
Work in progress.
Delete Instance
ops instance delete
command can be used to delete instance on UpCloud.
Last updated