AWS S3 Integration
AWS S3 Integration
AWS is Amazon’s cloud platform and it offers cloud storage S3, which is popularly the defacto term used when describing cloud storage. We assume for you to stumble here you have AWS S3 as your bucket for media files.
If you are considering AWS S3 as cloud storage, you can create an S3 Bucket via the AWS Console, you can start from Creating an S3 Bucket. If you have an AWS S3 Bucket, you can navigate to Fetching AWS Keys.
Creating an S3 Bucket
Upon logging into the AWS Console, we can easily navigate to the S3 Bucket by searching through the search bar.
We then land on the S3 Dashboard Overview. There create bucket action can be selected and the S3 Bucket settings can be set successfully, pretty straightforward.
When files have been uploaded to the Bucket it would look similar to this.
Fetching AWS Keys
For Ocular to have fine-grained access to Files within a bucket, involves a few steps, however, we will walk through a process that assumes you have no idea how to create the Access and Secret Key. The next step involves navigating to IAM, this can be done by searching for IAM in the AWS console search bar.
Once you land on the IAM dashboard youd get an overview of what exists.
In our case we have no users, we can click users, and thenproceed with creating a User.
We provide all the required fields.
A User will need to belong to a group, so we can go ahead and create a group. For the sake of this material, we selected the S3 Full Permission scope. However, you can search for fine-grained permission that provides only grant “Get” access to S3 bucket assets rather than a full-blown permission scope.
Upon successfully creating the user, and upon the selection of the user we would be able to then create the Access Token for this user, By clicking Create Access Key, and following through the subsequent step.
With the created Secret, Access Keys and Bucket Name information Ocular will be empowered to list files, directories and subdirectories within the buckets.