{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "Storage bucket management | Edge Docs",
  "headline": "Storage bucket management | Edge Docs",
  "description": "How to create, list, and delete Edge Network storage buckets via console, CLI, or SDK, plus naming rules, lifecycle expiry rules, and public bucket access.",
  "url": "https://edge.network/docs/storage/buckets",
  "image": "https://edge.network/og/docs__storage__buckets.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Docs",
        "item": "https://edge.network/docs"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Storage",
        "item": "https://edge.network/docs/storage"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Buckets",
        "item": "https://edge.network/docs/storage/buckets"
      }
    ]
  },
  "section": "documentation/storage",
  "articleBody": "Docs CDN Deployments, domains, caching, purging and on-the-fly image optimisation. Getting started \n Deployments \n Domains & SSL \n Compute Virtual machines in seconds: networking, firewalls, backups and SSH keys. Getting started \n Creating VMs \n Managing VMs \n DNS Zones, records, geo-routing, backups and development domains. Getting started \n Zone management \n DNS records \n Storage S3-compatible buckets, access keys, presigned URLs and multipart uploads. Getting started \n Buckets \n Access keys \n Shield Privacy-first bot protection: widget modes, siteverify and verified agents. Getting started \n Widget modes \n JavaScript API \n Assist AI answers from your own content: widget, ingestion and the API. Getting started \n Widget & embedding \n Content ingestion \n REST API Manage every Edge resource over HTTPS with API keys. Authentication \n Errors \n Versioning \n Compute \n CDN \n DNS \n CLI One binary for macOS, Linux and Windows to script every product. Installation \n Authentication \n Compute commands \n CDN commands \n DNS commands \n Storage commands \n Dev tooling Command palette and keyboard shortcuts across the console. Command palette \n Agent tooling Let AI agents deploy and manage infrastructure: discovery, MCP and access codes. Start with the overview MCP server \n MCP tool reference \n Connect your tool \n Framework wrappers \n Self-signup \n Access codes \n Discovery endpoint \n Deploy a static site \n Deploy an app \n Projects \n Bot protection \n AI answers \n Account & support Teams, security, audit logs, alerts, billing tools and support. Start with the overview Teams \n Referral programme \n Cost Advisor \n Security \n Two-factor auth \n Audit log \n Alerts \n Support tickets \n Search the docs ⌘K Console Products\n\n CDN Compute DNS Storage Overview Getting started Buckets Access keys SDK examples Presigned URLs Multipart uploads Metrics Shield Assist Developer tools\n\n REST API CLI Dev tooling Agents\n\n Agent tooling Account\n\n Account & support Storage buckets list in Control Bucket naming rules Copy Anchor Link \n\n 3–63 characters long\n Lowercase letters, numbers and hyphens only\n Must start and end with a letter or number\n Cannot contain consecutive hyphens\n Unique within your account\n Create a bucket Copy Anchor Link \n\n In the console, navigate to Storage → Buckets and click Create Bucket . Enter a name and click create.\n\n To create a bucket from the command line or your code, use the AWS CLI or the SDK:\n\n AWS CLI JavaScript SDK Copy Text aws --profile edge --endpoint-url https://storage.edge.network \\ \n s3 mb s3://my-new-bucket List buckets Copy Anchor Link \n\n Terminal Copy Text aws --profile edge --endpoint-url https://storage.edge.network s3 ls Output Copy Text 2025-01-15 09:00:00 assets \n 2025-02-01 14:30:00 backups \n 2025-02-10 11:15:00 uploads Delete a bucket Copy Anchor Link \n\n A bucket must be empty before it can be deleted. Empty it first, then delete it:\n\n Terminal Copy Text # Delete all objects first \n aws --profile edge --endpoint-url https://storage.edge.network \\ \n s3 rm s3://my-bucket --recursive \n \n # Then delete the bucket \n aws --profile edge --endpoint-url https://storage.edge.network \\ \n s3 rb s3://my-bucket Warning\n\n Bucket deletion is permanent and cannot be undone.\n\n Bucket statistics Copy Anchor Link \n\n Each bucket tracks storage usage automatically:\n\n Metric Description storage_bytes Total size of all objects in bytes object_count Number of objects in the bucket created_at When the bucket was created Lifecycle rules Copy Anchor Link \n\n Lifecycle rules automatically delete objects older than a specified number of days. Useful for temporary uploads, log files, build artefacts and session data.\n\n Creating a rule Copy Anchor Link \n\n Open a bucket and navigate to Settings .\n Click Add Rule .\n Set the number of days after which objects should be deleted.\n Optionally set a prefix filter to only target objects with a specific path prefix (for example logs/ or tmp/ ).\n How it works Copy Anchor Link \n\n Rules are evaluated hourly. Objects whose last modified time exceeds the expiry threshold are deleted automatically.\n\n Prefix filters let you target specific folders. A rule with prefix logs/ only deletes objects under that path.\n\n You can have multiple rules per bucket. For example: delete tmp/ after 1 day and logs/ after 30 days.\n\n Lifecycle API Copy Anchor Link \n\n GET /api/storage/buckets/:name/lifecycle : list rules for a bucket.\n POST /api/storage/buckets/:name/lifecycle : create a rule, for example { \"expire_days\": 30, \"prefix\": \"logs/\" } .\n DELETE /api/storage/buckets/:name/lifecycle/:ruleId : delete a rule.\n Public buckets Copy Anchor Link \n\n Buckets can be made public, allowing anyone to access objects via a direct URL without authentication.\n\n Enabling public access Copy Anchor Link \n\n Open a bucket and navigate to Settings .\n Click Make Public .\n Copy the public base URL.\n Objects are then accessible at:\n\n Output Copy Text https://storage.edge.network/_public/{customerId}/{bucket}/{object-key} Public: GET and HEAD requests require no authentication. CORS headers are included for browser access.\n Private (default): all requests require S3 authentication or a presigned URL. This is the default for all new buckets.\n Note\n\n CDN recommended for production. For production public content, consider using Edge CDN with a storage bucket origin instead. CDN provides caching, DDoS protection and global edge delivery on top of public access.\n\n Public access API Copy Anchor Link \n\n PATCH /api/storage/buckets/:name/public : toggle public access, for example { \"is_public\": true } .\n Something unclear or out of date? Tell us , or read this page as Markdown .\n\n Getting started\n\n Previous\n\n Access keys\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "Buckets"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/cdn/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Deployments",
      "url": "https://edge.network/docs/cdn/deployments"
    },
    {
      "@type": "WebPage",
      "name": "Domains &amp; SSL",
      "url": "https://edge.network/docs/cdn/domains"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/compute/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Creating VMs",
      "url": "https://edge.network/docs/compute/creating-vms"
    },
    {
      "@type": "WebPage",
      "name": "Managing VMs",
      "url": "https://edge.network/docs/compute/managing-vms"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/dns/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Zone management",
      "url": "https://edge.network/docs/dns/zones"
    },
    {
      "@type": "WebPage",
      "name": "DNS records",
      "url": "https://edge.network/docs/dns/records"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/storage/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Buckets",
      "url": "https://edge.network/docs/storage/buckets"
    },
    {
      "@type": "WebPage",
      "name": "Access keys",
      "url": "https://edge.network/docs/storage/access-keys"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/shield/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget modes",
      "url": "https://edge.network/docs/shield/widget-modes"
    },
    {
      "@type": "WebPage",
      "name": "JavaScript API",
      "url": "https://edge.network/docs/shield/js-api"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/assist/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget &amp; embedding",
      "url": "https://edge.network/docs/assist/widget"
    },
    {
      "@type": "WebPage",
      "name": "Content ingestion",
      "url": "https://edge.network/docs/assist/ingestion"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Versioning",
      "url": "https://edge.network/docs/api/versioning"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/docs/api/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/docs/api/cdn"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/docs/api/dns"
    },
    {
      "@type": "WebPage",
      "name": "Installation",
      "url": "https://edge.network/docs/cli/installation"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/cli/authentication"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/storage/buckets",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T08:56:45.557Z"
}