what is a bucket vs space using do vs aws?

I’m having a heck of a time listing the objects in a bucket. I created the bucket using a unique id. I cannot list the objects in that bucket.

There are clearly funny things going on depending on whether “virtual” buckets are used. I have been creating buckets not using virtual. This means that I have “my-space” that hosts a list of buckets.

However, when I use the s3cmd mb command I can only create new spaces on digital ocean. I do not prefer this approach.

I prefer a single space hosting multiple buckets where each bucket hosts multiple objects.

How do I do that?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
April 16, 2023
Accepted Answer

Hi there,

A Space in DigitalOcean is similar to an S3 bucket in AWS. Therefore, each Space can store multiple objects, but you cannot create a bucket within a Space. So, when you create a Space in DigitalOcean, you’re essentially creating a “bucket”.

If you want to organize objects within a Space, you can use a flat folder-like structure using prefixes (which are similar to “folders”) to group objects.

For example, let’s say you have a Space called my-space, and you want to create “buckets” called bucket1 and bucket2. Instead of creating actual buckets, you can create objects with the following keys (or prefixes):


This will give the appearance of having folders or buckets within a Space.

Hope that this helps!



Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel