How to use S3 Browser for Noobaa

Vamseelankisetty
1 min readApr 17, 2021

As many of you know with Noobaa we can have AWS S3-compatible API for our storage resource.

After we install Noobaa in our OCP(Openshift Container Platform) Cluster we get s3 endpoint and s3 credentials for noobaa access.

We create users with s3 access only for their bucket but these user dont have access to the UI of noobaa to show the users bucket storage ,put object etc through GUI we can use s3 browser tool

Steps to use s3 browser on docker :

docker pull vamseekrishna96/s3manager

get the s3 endpoint and s3 credentials from your Noobaa

use this docker command to deploy it

docker run -d -p 8080:8080 -e ACCESS_KEY_ID=YOUR_S3_ACCESS_KEY_ID -e SECRET_ACCESS_KEY=YOUR_S3_SECRET_ACCESS_KEY -e ENDPOINT= YOUR_S3_ENDPOINT -e USE_SSL=true -e USE_Skip_SSL_Verification=true vamseekrishna96/s3manager

At http://localhost:8080/buckets you can see your buckets ,put new objects in the buckets ,delete objects in the buckets etc.

original github repo of the s3 browser is https://github.com/mastertinner/s3manager

In ocp(Openshift Container Platform) we can deploy as a pod with a service having a route

pod.yaml

apiVersion: v1
kind: Pod
metadata:
name: s3browser-pod
labels:
app: s3browser
spec:
containers:
— name: s3browser-pod-container
image: quay.io/vamseekrishna25/s3browser
env:
— name: ACCESS_KEY_ID
value: “YOUR_S3_ACCESS_KEY_ID”
— name: SECRET_ACCESS_KEY
value: “YOUR_S3_SECRET_ACCESS_KEY”
— name: ENDPOINT
value: “YOUR_S3_ENDPOINT”
— name: USE_SSL
value: “true”
— name: USE_Skip_SSL_Verification
value: “true”
ports:
— containerPort: 8080

service.yaml

apiVersion: v1

kind: Service

metadata:

name: s3browser-service

namespace: s3browser

spec:

selector:

app: s3browser

ports:

- protocol: TCP

port: 8080

targetPort: 8080

To create route oc expose svc/s3browser-service

to access the route link oc get route s3browser-service -ojsonpath={.spec.host}

--

--