Bucket - should I map files like in AWS S3

Hi,

On AWS S3 storage it is highly recommended not to have folders with a lot of files. Instead of it you should create subfolders and create a tree directory hierarchy. For example file, abcd.jpg should be in a/b/c/abcd.jpg. I want to use the GCP bucket as storage for files uploaded by users of my app, can I put this file just inside this bucket without using extra code to split into a tree directory hierarchy like on AWS?

…can I put this file just inside this bucket without using extra code to split into a tree directory hierarchy like on AWS?

Yes.

Cloud Storage operates with a flat namespace, which means that folders don’t actually exist within Cloud Storage. However, the Google Cloud console and gsutil provide the illusion of a hierarchical file tree.

See Folders | Cloud Storage.