Service: Filestash - EyevinnOSC/community GitHub Wiki
Getting Started
There are several options on how to store files in the cloud today and in this blog post we will show how you with the open source project Filestash made available as a service in Eyevinn Open Source Cloud can simplify the access to the storage, and provide a consistent user interface independent from the cloud storage provider in use.
Prerequisites
- If you have not already done so, sign up for an OSC account.
- A MinIO server instance in Eyevinn Open Source Cloud or an account at a storage cloud provider (Akamai, AWS, etc)
Step 1: Create storage bucket
Create a storage bucket at your storage provider by following their instructions on how to create a bucket.
Step 2: Obtain access keys
Obtain the access keys and endpoint URLs from the cloud storage provider:
Step 3: Create a Filestash instance
In Eyevinn Open Source Cloud web console navigate to the service called Filestash and press “Create filestash”.
Give the service a name for example “guide” in this case. Click on the instance card once it is in state running. A new page will open in a new tab or browser window. Then enter an administrator password for this Filestash storage manager instance.
In the navigation sidebar on the left click on the item “Backend”. Select S3 as storage backend.
You may remove the others as we will be only be using S3 in this example.
For simplicity we will be using the ADMIN authentication middleware. This means that you will login with the admin password you just created. You might at least want to use HTPASSWD for more granular access control in practice.
MinIO instance
Enter the access key id and secret key. This is the RootUser
and RootPassword
. The endpoint is the URL to the MinIO server instance that you created.
Step 4: Upload a file
Now go back to the start page by clicking on the instance card and login with the admin password that you created.
Now you can upload a file by using drag-and-drop.