Ops can deploy unikernels to Scaleway.
Most operations will require the following env vars to be set:
export SCALEWAY_ACCESS_KEY_ID="access-key-id"
export SCALEWAY_SECRET_ACCESS_KEY="secret-access-key"
export SCALEWAY_ORGANIZATION_ID="my-org-id"
Image Operations
If you have already created an Ops project, you can update your existing config.json. Set uefi to true and set your bucket.
{
"CloudConfig": {
"BucketName": "nanos-test",
"Zone": "pl-waw-1"
}
}
Once, you have updated config.json you can create an image in Scaleway with the following command.
$ ops image create -t scaleway -c config.json <program>
For creating an image using a particular package, you need to provide the package name to ops image create command with -p option.
You can list existing images on Scaleway with:
ops image list -t scaleway.
ops image delete <imagename> can be used to delete an image from Scaleway.
Instance Operations
Create Instance
Alternatively, you can pass config, if you have mentioned project-id and zone in project's config.json.
Get Logs for Instance
This currently is not supported.
Delete Instance
ops instance delete command can be used to delete instance on Scaleway.
Last updated