Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Setting up external access to a pod in a cluster
    • All guides
      • Creating a bucket
      • Creating an AccessKey
      • Deleting a bucket
      • Deleting AccessKey
    • Projects
    • Resource model
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting
  1. Step-by-step guides
  2. Buckets
  3. Creating a bucket

Creating a bucket

Written by
Yandex Cloud
Updated at April 8, 2026

If you have a project, you can create a bucket in it.

CLI
Management console
  1. If the project does not exist yet, create it:

    kubectl create namespace <project_name>
    
  2. Create the Bucket resource file:

    touch bucket.yaml
    
  3. Open the file and paste the configuration:

    Bucket without public access
    Bucket with public access

    apiVersion: storage.stackland.yandex.cloud/v1alpha1
    kind: Bucket
    metadata:
    name: app-data
    spec: {}

    apiVersion: storage.stackland.yandex.cloud/v1alpha1
    kind: Bucket
    metadata:
    name: app-data
    spec:
    anonymousAccessFlags:
    read: true
    list: false

    In this case, all objects will be available for reading without authentication via the https://storage.sys.<cluster domain>/<bucket_name>/<object_name> link.

    Where:

    • metadata.name: Bucket name. Use only lowercase Latin letters, numbers, and hyphens.
    • metadata.namespace: Project you are creating the bucket in.
    • spec.anonymousAccessFlags.read: Allows anonymous users to read objects.
    • spec.anonymousAccessFlags.list: Allows anonymous users to get a list of objects.
  4. Apply the manifest:

    kubectl apply -f bucket.yaml -n <project_name>
    
  5. Check the bucket status:

    kubectl get bucket -n <project_name>
    

    Wait until the PHASE column shows Ready.

  1. If you have not opened a project yet, select one.

  2. In the left-hand menu, select Object Storage.

  3. Click Create bucket.

  4. Specify the following settings:

    • Bucket name: Only use lowercase letters, numbers, and hyphens.
    • Public access: Enable or disable anonymous access to objects.
  5. Click Create.

What's nextWhat's next

  • Create an access key to use your bucket via the S3 API.
  • Learn more about the Object Storage resource model here.

Was the article helpful?

Previous
Deleting a cluster
Next
Creating an AccessKey
© 2026 Direct Cursus Technology L.L.C.