Configure a local IDE using an SSH gateway

The specifics on how to configure a local IDE to work with Cloudera AI are dependent on the local IDE you want to use.

Cloudera AI relies on the SSH functionality of the editors to connect to the SSH endpoint on your local machine created with the cdswctl client. Users establish an SSH endpoint on their machine with the cdswctl client. This endpoint acts as the bridge that connects the editor on your machine and the Cloudera AI deployment.

The following steps are a high-level description of the steps a user must complete:

  1. Establish an SSH endpoint with the Cloudera AI CLI client. See Initialize an SSH Endpoint.
  2. Configure the local IDE to use Cloudera AI as the remote interpreter.
  3. Optionally, sync files with tools (like mutagen, SSHFS, or the functionality built into your IDE) from Cloudera AI to your local machine. Ensure that you adhere to IT policies.
  4. Edit the code in the local IDE and run the code interactively on Cloudera AI.
  5. Sync the files you edited locally to Cloudera AI.
  6. Use the Cloudera AI web UI to perform actions such as deploying a model that uses the code you edited.

You can see an end-to-end example for PyCharm configuration in the Configure Pycharm as a Local IDE.