API
The Gcore Customer Portal is being updated. Screenshots may not show the current version.
Storage
Storage
Chosen image
Home/Storage/Manage S3 storage/Manage buckets

Managing buckets through the Customer Portal

Create a bucket

1. Navigate to the Storage section. Click the relevant storage name.

Open the Buckets interface

You can access the bucket interface by clicking the three dots on the right side and selecting Buckets.

2. Click Add new bucket.

Add new bucket

3. A pop-up window will appear. Input a name for your bucket that meets the following criteria:

  • Between 3 to 63 characters in length.
  • Lowercase only.
  • No underscores, trailing dashes, consecutive dots, or a mix of dots and dashes; they conflict with DNS notation rules.
  • The bucket name must be unique within the entire Gcore S3 system, not just your account. If a name is already used, you'll receive a This bucket name already exists. Please use a different name error message.

Click Create.

Important note: Do not use sensitive information in the bucket name as it will be visible in the object's URL, potentially posing a security risk.

Once you've completed these steps, your bucket will be created and prepared for the following functions:

File manager

Access (Override CORS)

To access the file manager (Override CORS), you must add https://storage.gcore.com to your list of approved origins. This is a one-time action.

To access the file manager, click the bucket name you created. A pop-up will appear where you can select Override CORS.

Note: CORS must be set up individually for each bucket.

Override CORS

You also have the option to set the CORS policy through the API. This method allows you to override CORS for not just https://storage.gcore.com but also for other domains.

Authorization

To authorize, click on the bucket name, enter the Access key and Secret key, then click Auth.

Authorize to file manager

You can access the file manager by clicking the three dots on the right side and selecting File manager.

Note: If you have entered keys, they will be saved and will not need to be re-entered within the session. Keys will be requested for each new session.

To avoid the need for manual input, save the Access key and Secret key with the browser functionality.

Manage passwords browser functionality

The Access key and Secret key are generated during storage creation. We don't store them in our system for security and privacy reasons. If you've forgotten the values, click Generate new keys in the Storages tab.

Generate new keys

Adding folders

Once you're authorized in the file manager, click Add folder. Enter the desired name in the field provided and click Create.

Creation of folders

In the interface, you can view the last modification date. To open the folder, simply click its name.

Uploading files

To upload files, authorize access to your bucket and click Select and upload file(s) either in the bucket root or within a specific folder. Then, follow the standard upload process.

Uploading of files

Deleting folders and files

To delete folders or files, authorize access to your bucket and click Delete next to the desired object. Alternatively, select the checkboxes next to the object names and click Delete selected.

Deletion of files

Note: Deleting a folder will also delete any nested files within it.

Copying URL or S3 URL

To copy the links of certain files, authorize access to your bucket, select objects and click the relevant buttons: Copy S3 URL or Copy URL.

Copy S3 URL and Copy URL

For instance, the links for the file image 3972.png will look like this:

  • s3://s-ed1.cloud.gcore.lu/000-sample-for-articles/test/image%3972.png
  • https://s-ed1.cloud.gcore.lu/000-sample-for-articles/test/image%3972.png

Note: If you haven't enabled HTTP access to all files, you'll encounter a 403 error when opening the file.

Managing access

If you wish to use S3 storage as the origin for a CDN resource or to make files accessible via an S3 URL, you must allow public (HTTP) access to your bucket. To do this, go to the bucket interface, click on the three dots on the right, and click Public access to all files. Then, click Apply in the pop-up window.

Configure HTTP access to all files

if you want to make objects unavailable via HTTP, meaning make them private, repeat the steps from the instructions above, go to the bucket interface, click on the three dots on the right, and click Default access to all files.

Configure default access to all files

Adding lifecycle policy (for S3 in Luxembourg only)

To add a lifecycle policy, navigate to the bucket interface, click the three dots to the right, and select Lifecycle management. Set how long files should be retained in your bucket before deletion and click Save changes.

Set lifecycle policy

If you don't want any expiry time, click Cancel policy.

You can still set a lifecycle policy if your storage is outside the S3 Luxembourg location by using the AWS CLI tool, as outlined in the separate guide.

Was this article helpful?

Not a Gcore user yet?

Check out our Storage

Go to the product page