1. Navigate to the Storage section. Click the relevant storage name.
You can access the bucket interface by clicking the three dots on the right side and selecting Buckets.
2. Click Add new bucket.
3. A pop-up window will appear. Input a name for your bucket that meets the following criteria:
This bucket name already exists. Please use a different name error message.
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:
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.
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.
To authorize, click on the bucket name, enter the Access key and Secret key, then click Auth.
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.
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.
Once you're authorized in the file manager, click Add folder. Enter the desired name in the field provided and click Create.
In the interface, you can view the last modification date. To open the folder, simply click its name.
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.
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.
Note: Deleting a folder will also delete any nested files within it.
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.
For instance, the links for the file
image 3972.png will look like this:
Note: If you haven't enabled HTTP access to all files, you'll encounter a 403 error when opening the file.
If you wish to use S3 storage as the origin for a CDN resource or to make files accessible via an S3 URL, you'll need to allow public (HTTP) access to your bucket. To do this, go to the bucket interface, click on the three dots on the right, and select Public access to all files. Then, click Apply in the pop-up confirmation window.
if you want to make objects unavailable via HTTP (private), repeat the steps from the instructions above, but select the item Default access to all files.
To add a lifecycle policy, navigate to the bucket interface, click the three dots to the right, and select Lifecycle management. Set the period after which files will be deleted and click Save changes.
If you decide to remove the expiry time, click Cancel policy.
You can still set a lifecycle policy if your storage is outside the S3 Luxembourg location. Do so using the AWS CLI tool, as outlined in the separate guide.
Was this article helpful?
Check out our Storage