An Equinix provider contains the credentials to interact with Equinix and also the location to deploy your Provisions. OpenNebula comes with four pre-defined providers in the following regions:
Parsippany (NJ, US)
In order to define an Equinix provider, you need the following information:
Credentials: these are used to interact with the remote provider. You need to provide
project. You can follow this guide to get this data.
Facility: this is the location in the world where the resources are going to be deployed. All the available facilities are listed here.
Plans and OS: these define the capacity of the resources that are going to be deployed and the operating system that is going to be installed on them.
Please note even though Equinix support multiple OSs, the automation tools are tailored to works with
Ubuntu 20.04. If you use another OS, please be aware that it might required some adjustments, and things might not work as expected. Avoid using a different OS in production environment unless you’ve properly tested it before.
How to Create an Equinix Provider¶
To add a new provider you need to write the previous data in YAML template:
description: 'Edge cluster in Equinix Amsterdam'
token: 'Equinix token'
project: 'Equinix project'
- name: 'equinix_os'
- name: 'equinix_plan'
Then you just need to use the command
oneprovider create provider.yaml
The providers’ templates are located in
/usr/share/one/oneprovision/edge-clusters/metal/providers/equinix. You just need to enter valid credentials.
How to Customize an Existing Provider¶
The provider information is stored in the OpenNebula database and can be updated just like any other resource. In this case, you need to use the command
oneprovider update. It will open an editor so you can edit all the information there. You can also use the OneProvision FireEdge GUI to update all the information.
Insufficient capacity on Equinix Metal¶
Sometimes there may not be enough hardware available at a given Equinix Metal facility for a given machine type, in which case the following error is shown:
The facility ams1 has no provisionable c3.small.x86 servers matching your criteria
In this case, either select a different node type or Equinix Metal provider. You can check the current capacity status on the Equinix Metal API .