Ozone S3 Gateway

Apache Ozone provides S3 compatible APIs. ZooKage users can access them via http://ozone-s3g:9878.

zookage@client-node-0:~$ aws s3api --endpoint http://ozone-s3g:9878 create-bucket --bucket test
{
    "Location": "http://ozone-s3g:9878/test"
}
zookage@client-node-0:~$ aws s3 --endpoint http://ozone-s3g:9878 cp /opt/hadoop/LICENSE.txt s3://test/hadoop-LICENSE.txt
upload: ../../opt/hadoop/LICENSE.txt to s3://test/hadoop-LICENSE.txt
zookage@client-node-0:~$ aws s3 --endpoint http://ozone-s3g:9878 ls s3://test
2023-08-06 14:37:06     150569 hadoop-LICENSE.txt

The default credentials are dummy.

zookage@client-node-0:~$ echo $AWS_ACCESS_KEY_ID
dummy
zookage@client-node-0:~$ echo $AWS_SECRET_ACCESS_KEY
dummy