SAP-samples / cloud-objectstore-java-sample

The Object Store reference application aims to provide a single-code line application, which can be run in SAP BTP, Cloud Foundry environment, consuming Object Store service with different IaaS providers underneath - e.g. AWS, GCS, Azure.
Apache License 2.0
15 stars 17 forks source link

Is there any admin page to manage blob storage? #8

Open zxcvboy opened 3 years ago

zxcvboy commented 3 years ago

Dear expert.

Thanks for sharing this excellent sample. Regarding to using object store in scp, I have few questions as below.

  1. Will one object store service instance have one corresponded container(blob storage) ? If yes, what if I delete the service instance, will all blobs be deleted also?
  2. Is there any admin page to manage blob storage? not using codes to do it.

    Thanks a lot.

biswaranjanray commented 3 years ago

Sorry for the delay in the response. Please see the below comments for each of your queries:

  1. Will one object store service instance have one corresponded container(blob storage) ? If yes, what if I delete the service instance, will all blobs be deleted also? Ans: Each instance is associated with 1 object Store resource. There is always a 1:1 mapping between an instance and a bucket / container. If you delete an instance, all the objects within also get deleted. However, you may use preventDeletion feature to prevent non-empty bucket/instances from getting deleted. For further details, please refer help portal AWS [1] & Azure [2]. The feature is going to be released soon also on GCP.

  2. Is there any admin page to manage blob storage? not using codes to do it. Ans: Apart from Cockpit, we don’t provide any dedicated user interface to manage blob storage. For various, object and bucket related operations, you would need to use either CLI commands or use SDKs.

[1] https://help.sap.com/viewer/2ee77ef7ea4648f9ab2c54ee3aef0a29/Cloud/en-US/8c3c66da50364e0bafb994f4c4b57042.html [2] https://help.sap.com/viewer/2ee77ef7ea4648f9ab2c54ee3aef0a29/Cloud/en-US/67e5ba7dae7749c88483b8a3fe395eff.html

zxcvboy commented 3 years ago

Hi. @biswaranjanray

Thanks for your reply. We want to use object store service to save our attachments. May I know if there is any tool or how to archive these files?

Thanks a lot.