devpod-provider-ovhcloud

command module
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

README

OVHCloud provider for DevPod

The OVHCloud provider for Loft Labs' DevPod.

Note: Even if I'm working for OVHCloud, this project is not supported by OVHcloud. I maintain it in my free time.

Installation

Using the CLI
devpod provider add github.com/alexandrevilain/devpod-provider-ovhcloud
devpod provider use github.com/alexandrevilain/devpod-provider-ovhcloud
Pre-requisites

The OVHcloud provider needs to be configured with a set of information:

  • an endpoint (please select one in the list according to your needs)
  • an application key
  • an application secret
  • a consumer key
  • a service name (the ID of your Public Cloud project)
  • a region (the region to create the VM)
  • a flavor (the machine type to use for the VM)
OVHcloud API keys

Behind the scenes, the OVHcloud DevPod provider is doing requests to OVHcloud APIs so that's the reason why you need to provide API keys.

To retrieve:

  • an application key
  • an application secret
  • a consumer key

Please follow First steps with the OVHcloud APIs tutorial.

Concretely, you have to generate these credentials via the OVH token generation page with the following rights:

Create OVHcloud API keys

Note: you can change the validity period according to your needs.

When you have successfully generated your OVHcloud credentials, please keep them.

The last needed information is the service name: it is the ID of your Public Cloud project.

How to get it?

In the Public Cloud section, you can retrieve your service name ID thanks to the Copy to clipboard button.

Get OVHcloud service name

Using the desktop app

Open DevPod app on your computer, then go to "Providers" tab, then click on "Add Provider" button. Then in "Confgiure Provider" popup click on "+" button to add a custom provider.

Enter "github.com/alexandrevilain/devpod-provider-ovhcloud" or "alexandrevilain/devpod-provider-ovhcloud" as source and fill all the needed information:

Screencast demo

Usage

Using the desktop app

Click on the Workspaces tab, then on the Create Workspace button and fill all the needed information.

License

This project is licensed under the Mozilla Public License 2.0. See the LICENSE file for more details.

Contributions

Contributions are welcome! If you find any issues or want to add new features, please open an issue or submit a pull request on the GitHub repository.

Disclaimer

This software is provided "as is" without warranty of any kind, express or implied. Use it at your own risk.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL