OpenStack

OPS works perfectly fine with OpenStack.

Some cloud providers using OpenStack that have been tested are vexxhost and ovh.

In the cloud provider, download a script with the env variables required.

  1. Create an account;

  2. Login;

  3. Click API Access in left menu;

  4. Click on button with the description Download OpenStack RC File;

  5. Select an option which contains the description RC File. download rc file

  6. Run RC file script in the terminal where you will use ops.

$ ./6050015361872676-openrc.sh`

Alternatively, you can set the env variables manually.

export OS_USERNAME=""
export OS_PASSWORD=""
export OS_DOMAIN_NAME="Default"
export OS_AUTH_URL="https://auth.vexxhost.net/"
export OS_REGION_NAME="sjc1"
export OS_PROJECT_NAME=""
export OS_PROJECT_ID=""

Image Operations

Create Image

List Images

Delete Image

Instance Operations

Create Instance

While creating instance on openstack OPS needs flavour name. If you don't provide, OPS selects one for you. You can provide flavor name via CLI and config file.

CLI example

Sample config file

OPS provides configurable instance volume size. Add volume size in config file. Default size is 1 GB.

List Instances

Get Logs for Instance

Delete Instance

You can fetch instance name from ops instance list command.

Volume Operations

Create Volume

List Volumes

Delete Volume

Attach Volume

Detach Volume

Last updated

Was this helpful?