Copying a Conda Environment to Another Region

In this tutorial, you install a conda environment in a notebook session. Then you perform the necessary steps to install the same conda environment in a second notebook session hosted in a different region.

Key tasks include how to:

  • Create two buckets in two different regions in your tenancy.
  • Register each bucket with a notebook session in their region.
  • Install a conda environment in the first notebook session.
  • Publish the conda environment. (Make the conda environment ready to be installed from any notebook session that has access to the environment.)
  • From the first notebook session, add the published conda environment to a bucket of the same region.
  • Copy the published conda environment from one bucket to another.
  • In a notebook session in the second region, install the conda environment, by using the second bucket.

For additional information, see:

Before You Begin

To successfully perform this tutorial, you must have the following:

1. Create Buckets

Create two buckets to store conda environments of my-first-notebook-session and my-second-notebook-session.

2. Publish a Conda Environment in Region 1

Install a conda environment in your notebook session. Then from the notebook session, publish the conda environment to a bucket.

3. Copy the Bucket to Region 2

Copy your published conda environment from bucket-1 to bucket-2.

4. Install the Conda Environment in Region 2

Register bucket-2 to a notebook session in the second region. Then install and view the conda environment in the notebook session.

What's Next

You have successfully copied a conda environment from one region to another, and used it in a notebook session in the second region.

To learn more about conda environments, in your notebook session:

  • In the Launcher, under Extenstions, click the Notebook Explorer icon. Select ONNX Integration with the Accelerated Data Science (ADS) SDK, click Open, and explore the examples.
  • Go to Environment Explorer and install other prebuilt Data Science conda environments, not mentioned in this tutorial.