Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex DataSphere
  • Getting started
    • All guides
      • Using secrets
      • Working with Yandex Data Processing templates
      • Working with Docker images
      • Working with datasets
      • Working with S3 connectors
      • Working with Spark connectors
      • Working with models
      • File storage operations
    • Migrating a workflow to a new version
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • Getting started
  • Creating an S3 connector
  • Attaching an S3 storage to a project
  • Using an S3 storage in a project
  • Detaching an S3 storage
  • Sharing an S3 connector
  • Deleting an S3 connector
  1. Step-by-step guides
  2. Working with resources
  3. Working with S3 connectors

Connecting to an S3 storage

Written by
Yandex Cloud
Improved by
Danila N.
Updated at August 15, 2025
  • Getting started
  • Creating an S3 connector
  • Attaching an S3 storage to a project
  • Using an S3 storage in a project
  • Detaching an S3 storage
  • Sharing an S3 connector
  • Deleting an S3 connector

You can manage your S3 object storage connection by using the S3 Connector resource on your project page in the DataSphere interface.

To connect to an object storage from the notebook code, follow this guide.

Note

Avoid using your S3 storage in FUSE mode for buckets with single-layer (non-recursive) folders that contain many files, as this will significantly degrade storage performance.

Getting startedGetting started

Get an access key from your S3 storage provider. To do this in Yandex Object Storage, follow these steps:

  1. Create a service account.
  2. Assign the new account a role with either read or read and write permissions.
  3. Create an access key for the service account.

Creating an S3 connectorCreating an S3 connector

  1. Select the project in your community or on the DataSphere home page in the Recent projects tab.

  2. Optionally, in the top-right corner, click Create resource. In the pop-up window, select Secret and create a secret with the secret part of the static access key for your service account. You can also create a secret when creating your S3 connection.
  3. In the top-right corner, click Create resource. In the pop-up window, select S3 Connector.
  4. Fill in the fields as follows:
    • Name: Name of the new connector. Follow these naming requirements:

      • The name must be from 3 to 63 characters long.
      • It may contain uppercase and lowercase Latin and Cyrillic letters, numbers, hyphens, underscores, and spaces.
      • The first character must be a letter. The last character cannot be a hyphen, underscore, or space.
    • Description: Description of the new connector. This is an optional parameter.

    • Endpoint: Storage host. For Object Storage, set it to https://storage.yandexcloud.net/.

    • Bucket: Name of the storage bucket.

      Warning

      Do not use buckets with periods in their names for connection. Learn more about buckets here.

    • Mount name: Name of the volume for mounting the bucket into the project file system. Make sure to follow these naming requirements:

      • It must be from 2 to 63 characters long.
      • It can only contain lowercase Latin letters, numbers, and hyphens.
      • It must start with a letter and cannot end with a hyphen.
    • Static access key ID: ID of the static access key used to connect to the storage.

    • Static access key: In the list, select a secret that contains the secret part of the static access key or create a new secret.

    • Mode: Object storage access mode, Read only or Read and write.

  5. Click Create.

Note

You need to configure a NAT gateway for any subnet associated with the project.

Attaching an S3 storage to a projectAttaching an S3 storage to a project

Go to the S3 connector page and click Activate. Once activated, the bucket will be available in the /s3/ folder of the JupyterLab file browser, and you will be able to view it as a file system.

Using an S3 storage in a projectUsing an S3 storage in a project

You can access files in the connected bucket from your project code. Select the file you need in the mounted S3 storage on the S3 Mounts tab, right-click it, and select Copy path. This will copy the file path to the clipboard. Paste the copied path wherever you need in the project.

Detaching an S3 storageDetaching an S3 storage

  1. On the project page, under Project resources, click S3 Connector.
  2. Select the connector and go to the resource page.
  3. Click Deactivate in the top-right corner of the page.

You can re-attach the S3 storage to your project whenever you need it.

Sharing an S3 connectorSharing an S3 connector

Note

You can only share resources within a single organization, between communities created in the same availability zone.

  1. Select the project in your community or on the DataSphere home page in the Recent projects tab.

  2. Under Project resources, click S3 Connector.
  3. Select the S3 connector from the list.
  4. Go to the Access tab.
  5. Enable the visibility option next to the name of the community you want to share the S3 connector with.

To make an S3 connector available for use in a different project, the project admin needs to add that connector on the Shared tab.

Deleting an S3 connectorDeleting an S3 connector

You can only delete a deactivated connector that is not available to any community.

  1. Select the project in your community or on the DataSphere home page in the Recent projects tab.

  2. Under Project resources, click S3 Connector.
  3. Next to the S3 storage, click and select Delete.
  4. Click Confirm.

You will see a message saying that the secret has been deleted.

Warning

In fact, resource deletion can take up to 72 hours.

Was the article helpful?

Previous
Working with datasets
Next
Working with Spark connectors
© 2025 Direct Cursus Technology L.L.C.