NodeProvider is the interface that ray uses to interact with cloud providers. First, you should read through the NodeProvider class definition here. The docstrings give a good idea of what the NodeProvider class is.
-
Create the directory
sky/skylet/providers/{cloud_name}
-
Add
__init__.py
to the directory and add the following code:from sky.skylet.providers.{cloud_name}.node_provider import {CloudName}NodeProvider
-
Copy the
node_provider.py
template into the directory. -
Complete the template. The template has comments to guide you through the process.