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?
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!
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.
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” calledbucket1
andbucket2
. 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!
Best,
Bobby