Prepare your environment
Make sure that you meet the prerequisites for your preferred interface:- Web console
- Nebius AI Cloud CLI
Make sure you are in a group that has at least the
editor role within your tenant; for example, the default editors group. You can check this in the Administration → IAM section of the web console.Configure access, credentials and AWS CLI settings
If you are using the web console, you can skip this step and proceed to creating a bucket.
-
Create a service account and save its ID to an environment variable:
-
Grant edit access to the service account:
-
Get the tenant ID:
-
Get the ID of the default
editorsgroup: -
Add the service account to
editorsgroup:
-
Get the tenant ID:
-
Create an access key for the service account and get its AWS-like ID and contents:
-
Add the key to the AWS CLI configuration:
-
Depending on your project region, add the Nebius AI Cloud region ID and the Object Storage endpoint URL to the AWS CLI configuration:
For example, run the following commands for a project in
eu-north1:
Create a bucket and upload a file to it
In Object Storage, a bucket is a container for objects. An object, in turn, is a file together with its metadata such as the file name (it is called object key in Object Storage terms). You can use the web console or the AWS CLI to create buckets and upload objects.- Web console
- AWS CLI
- Create a bucket:
-
In the sidebar, go to
Storage → Object Storage.
-
Click
Create bucket.
- (Optional) Specify the bucket name. The bucket name must be unique across the region. For more information, see Naming.
- Set the bucket parameters.
- Click Create bucket.
-
In the sidebar, go to
- Upload a file to the bucket:
- On the page of the bucket, click Add
.
- Select Object.
- In the window that opens, select the file you want to upload.
- Click Upload.
- Check that the Objects tab shows the new object.
- On the page of the bucket, click Add